CVSROOT:        /cvs/src
Module name:    src
Changes by:     [EMAIL PROTECTED]       2007-07-09 17:02:37

Modified files:
        winsup/cygwin  : ChangeLog dir.cc fhandler.h 
                         fhandler_disk_file.cc fhandler_virtual.cc 

Log message:
        * dir.cc (closedir): Revert change from 2007-06-29.
        * fhandler.h (dirent_valid_fd): Drop.
        * fhandler_disk_file.cc (fhandler_disk_file::opendir): If opening a
        real dir, use the underlying fhandler to keep track of the directory
        handle.  In fdopendir case use original io_handle from fhandler.  Use
        fhandler's io_handle in subsequent directory functions throughout.
        Create handle non-inheritable and set close-on-exec flag.
        (readdir_get_ino): Drop dirent_isroot case.
        (fhandler_disk_file::readdir): Handle dirent_isroot case here.
        (fhandler_disk_file::rewinddir): Revert change from 2007-07-05.  Use
        NtClose instead of CloseHandle.
        * fhandler_virtual.cc (fhandler_virtual::opendir): Drop adding
        dirent_valid_fd flag.  Set close-on-exec flag.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.3836&r2=1.3837
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dir.cc.diff?cvsroot=src&r1=1.117&r2=1.118
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=src&r1=1.317&r2=1.318
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=src&r1=1.220&r2=1.221
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_virtual.cc.diff?cvsroot=src&r1=1.44&r2=1.45

Reply via email to