https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=148581

Karl Young <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Karl Young <[email protected]> ---
We've run into this on 9.2.  We're using OpenSource software that uses popen()
to run external commands.  Since popen() returns FILE*, it fails when we get to
32K open files.  This seems to be rarely hit (no comments since 2011), but it
can be a show-stopper.

The only workaround I see in our case is to roll our own popen().

BTW in comment 1:

> with a 32-bit file descriptor field. If the file descriptor exceeds 32767, 
> the 16-bit > field then contains -1 and fileno() in old binaries will return 
> that.

I think this fails when FD gets to 64K and the short version starts counting up
from 0 again.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to