This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/10353] Methods for deleting all file descriptors greater than given integer


https://sourceware.org/bugzilla/show_bug.cgi?id=10353

Dima Pasechnik <dimpase at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dimpase at gmail dot com

--- Comment #6 from Dima Pasechnik <dimpase at gmail dot com> ---
Can we reopen this please? It's ludicrous that Linux still does not have it,
and so many programs need to re-implement this, poorly, see e.g. 
_close_fds_by_brute_force(long start_fd, PyObject *py_fds_to_keep)

in Python 3:

https://github.com/python/cpython/blob/9e4f2f3a6b8ee995c365e86d976937c141d867f8/Modules/_posixsubprocess.c#L220

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]