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 04:51:41PM +0100, David Laight wrote:
> > 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?

It fails with EBADF.

- Jukka.


Home | Main Index | Thread Index | Old Index