bug-bash
[Top][All Lists]
Advanced

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

Re: Does HIGH_FD_MAX have to be so low?


From: Chet Ramey
Subject: Re: Does HIGH_FD_MAX have to be so low?
Date: Thu, 19 Oct 2006 16:02:36 -0400
User-agent: Thunderbird 1.5.0.7 (Macintosh/20060909)

Mike Stroyan wrote:

>   move_to_high_fd() only avoid open file descriptors if the
> check_new parameter is non-zero.  open_shell_script() calls
> move_to_high_fd() with a check_new value of 0.  The other two callers
> of the function do pass in a check_new value of 1.
> 

Aha!  I missed the most relevant call.  Now the question is whether or
not it's still a good idea to pass that 0 from open_shell_script.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]