-
Notifications
You must be signed in to change notification settings - Fork 138
Open
Description
I have found a couple of embedded Linux devices old enough to not have close_range, and that happen to lack the /dev/fd -> /proc/self/fd symlink (AFAICT it's not required by POSIX either). They do have /proc/self/fd, though.
So it would be nice if Boost.Process would try also in /proc/self/fd if /dev/fd fails:
process/src/posix/close_handles.cpp
Line 181 in 1bfe21b
| std::unique_ptr<DIR, void(*)(DIR*)> dir{::opendir("/dev/fd"), +[](DIR* p){::closedir(p);}}; |
Metadata
Metadata
Assignees
Labels
No labels