Bug#641200: fakeroot: fakeroot-tcp vs. EINTR?

2011-11-27 Thread Samuel Thibault
Clint Adams, le Sun 11 Sep 2011 17:57:32 +, a écrit : > On Sun, Sep 11, 2011 at 02:30:29PM +0200, Thomas Schwinge wrote: > > + while (1) { > > +if (connect(comm_sd, get_addr(), sizeof (struct sockaddr_in)) < 0) { > > + if (errno != EINTR) > > +fail("connect"); > > +} else

Bug#641200: fakeroot: fakeroot-tcp vs. EINTR?

2011-09-11 Thread Thomas Schwinge
Hi! On Sun, 11 Sep 2011 17:57:32 +, Clint Adams wrote: > On Sun, Sep 11, 2011 at 02:30:29PM +0200, Thomas Schwinge wrote: > > + while (1) { > > +if (connect(comm_sd, get_addr(), sizeof (struct sockaddr_in)) < 0) { > > + if (errno != EINTR) > > +fail("connect"); > > +} el

Bug#641200: fakeroot: fakeroot-tcp vs. EINTR?

2011-09-11 Thread Clint Adams
On Sun, Sep 11, 2011 at 02:30:29PM +0200, Thomas Schwinge wrote: > + while (1) { > +if (connect(comm_sd, get_addr(), sizeof (struct sockaddr_in)) < 0) { > + if (errno != EINTR) > +fail("connect"); > +} else > + break; > + } I'm concerned about the possibility for an inf

Bug#641200: fakeroot: fakeroot-tcp vs. EINTR?

2011-09-11 Thread Thomas Schwinge
Package: fakeroot Tags: patch User: debian-h...@lists.debian.org Usertags: hurd X-Debbugs-CC: debian-h...@lists.debian.org thanks Debian GNU/Hurd folks: why do I have to specify Hurd User/Usertags/X-Debbugs-CC, all three? Can't this be made simpler? (This is from