src/winsup/cygwin ChangeLog fhandler_disk_file.cc

corinna@cygwin.com corinna@cygwin.com
Sat Jan 28 13:41:00 GMT 2006


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.org	2006-01-28 13:41:22

Modified files:
	winsup/cygwin  : ChangeLog fhandler_disk_file.cc 

Log message:
	* fhandler_disk_file.cc (DIR_NUM_ENTRIES): New define determining
	minimum number of dir entries which fit into the readdir cache.
	(DIR_BUF_SIZE): Define globally as size of readdir cache.
	(struct __DIR_cache): New structure used for readdir caching on NT.
	(d_dirname): Accessor for struct __DIR_cache, use throughout.
	(d_pos): Ditto.
	(d_cache): Ditto.
	(fhandler_disk_file::opendir): Allocate __d_dirname to contain readdir
	cache on NT.
	(fhandler_disk_file::readdir): Use buf as pointer into readdir cache.
	Implement readdir caching.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.3359&r2=1.3360
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=src&r1=1.158&r2=1.159



More information about the Cygwin-cvs mailing list