]> sourceware.org Git - newlib-cygwin.git/commit
* fhandler_disk_file.cc (DIR_NUM_ENTRIES): New define determining
authorCorinna Vinschen <corinna@vinschen.de>
Sat, 28 Jan 2006 13:41:22 +0000 (13:41 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Sat, 28 Jan 2006 13:41:22 +0000 (13:41 +0000)
commit7ab59dee9440f8de58e064271908d309daf95d68
treee81d071cfb1ea4ea39c27ac95d6fbbc70f7d26a2
parentfa3ffdd01ac7a014822ce546fda7d70612440e94
* 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.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_disk_file.cc
This page took 0.030171 seconds and 5 git commands to generate.