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:
 > > 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?

dunno.

 > And what if it is open already??

it gets closed first.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index