NetBSD-Bugs archive

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

Re: kern/44950: fcntl(F_MAXFD) returns bogus values



On May 16,  8:13pm, martin%duskware.de@localhost (Martin Husemann) wrote:
-- Subject: Re: kern/44950: fcntl(F_MAXFD) returns bogus values

| On Mon, May 16, 2011 at 05:25:11PM +0100, David Laight wrote:
| > A better test would be to look at the open files of a 'sleep 9999' provess.
| 
| You need a script/shebang to show the effect, it doesn't happen with
| something like
| 
|   /bin/sh -c 'sleep 1000'

And shebang behaves differently than interactive shells because of tty process
group handling and job control, so the answer is give up :-)

christos


Home | Main Index | Thread Index | Old Index