On Wed, Jul 08, 2015 at 12:00:35PM +0200, Roberto E. Vargas Caballero wrote:
> 
> > We are ignoring return value of dup(), so just remove it.
> 
> 
> From dup(3):
> 
>        The  dup()  system  call  creates  a copy of the file descriptor oldfd,
>        using the lowest-numbered unused descriptor for the new descriptor.
> 
> 

Yes, but can't dup() fail? Shouldn't we at least check or that?

Ciao,
Markus

Reply via email to