You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New: clone_dirfd() may fix#34, ADD: FdType machinery, libc_ok()
* With FdType/fd_type() one can determine the kind of an underlying file descriptor.
Lite descriptors are implemented only in Linux (for now).
When O_DIRECTORY is supported it uses fcntl() in favo over stat()
* clone_dirfd() tries to do 'the right thing' for duplicating FD's
* libc_ok() is a simple wraper for libc calls that return -1 on error, I will refactor the
code in the next commits to make use of that more.
Please test this! So far it works for me on Linux.
0 commit comments