src/winsup/cygwin ChangeLog fhandler.h ...
Fri Jun 29 15:13:00 GMT 2007

CVSROOT:	/cvs/src
Module name:	src
Changes by:	2007-06-29 15:13:01

Modified files:
	winsup/cygwin  : ChangeLog fhandler.h 
	winsup/cygwin/include/cygwin: version.h 
	winsup/cygwin/include/sys: dirent.h 

Log message:
	* cygwin.din: Export fdopendir.
	* (opendir): Call fhandler's opendir with fd set to -1.
	(fdopendir): New function.
	(seekdir64): Use dirent_info_mask.
	(rewinddir): Ditto.
	(closedir): Only release underlying file descriptor if it has been
	reserved by opendir itself.
	* (fhandler_base::opendir): Accommodate new parameter.
	* fhandler.h (dirent_states): Add dirent_valid_fd and dirent_info_mask.
	(fhander_XXX::opendir): Add file descriptor parameter.  Use regparms.
	(fhandler_procnet::opendir): Drop declaration.
	* (fhandler_disk_file::opendir): Ditto.
	If called from fdopendir, use existing handle to re-open directory
	with valid flags.  Rename fd to cfd.  Use only if no valid incoming fd.
	(fhandler_cygdrive::opendir): Accommodate new parameter.
	* (fhandler_process::opendir): Ditto.
	* (fhandler_procnet::opendir): Drop definition.
	* (fhandler_virtual::opendir): Accommodate new
	parameter.  Only create new file descriptor entry if called from
	opendir.  Remove duplicated setting of dir->__flags.
	* posix.sgml: Add fdopendir to list of implemented Solaris functions.
	* include/cygwin/version.h: Bump API minor number.
	* include/sys/dirent.h: Declare fdopendir.


More information about the Cygwin-cvs mailing list