Source-Changes-D archive

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

Re: CVS commit: src/lib/libc/sys



On Sat, Jul 16, 2011 at 02:33:33PM +0000, Jukka Ruohonen wrote:
> Module Name:  src
> Committed By: jruoho
> Date:         Sat Jul 16 14:33:33 UTC 2011
> 
> Modified Files:
>       src/lib/libc/sys: dup.2
> 
> Log Message:
> Note that dup2(2) and dup3(2) may not fail with EMFILE; from PR lib/45148.

What happens if the 'new' file number is above RLIMIT_NOFILES?
And what if it is open already??

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index