[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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 infinite loop here if faked dies.



Reply to: