CVSROOT:        /cvs
Module name:    src
Changes by:     matt...@cvs.openbsd.org 2011/07/17 18:27:15

Modified files:
        lib/libc/gen   : opendir.c 

Log message:
Implement fdopendir(3) and refactor opendir(3) and fdopendir(3) to use
a common __fdopendir() function.  Also, take advantage of the new
O_DIRECTORY and O_CLOEXEC flags in opendir(3).

(Currently fdopendir(3) is commented out; it will be enabled shortly
alongside openat(2) et al.)

Tested by naddy@ in a bulk build.
tweaks and ok guenther@; stupid POSIX nit pointed out by oga@

Reply via email to