lkml.org 
[lkml]   [1998]   [Mar]   [25]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 25 Mar 1998 09:13:22 -0500
FromBill Hawes <>
SubjectBash uses fd 255?
I'm working on a patch to provide an expandable fd array and have run into an
odd problem, apparently in bash. For some reason the shell is using the
sys_dupfd2 call to move fd 3 to fd 255, so that it ends up with fds 0, 1, 2, and
255. This of course forces my patch to expand the fd array even though only four
descriptors are in use.

Can anyone explain why this is being done?

Regards,
Bill

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.149 / U:0.010 seconds]
©2003-2008 Jasper Spaans