diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-01-28 13:41:22 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-01-28 13:41:22 +0000 |
commit | 7ab59dee9440f8de58e064271908d309daf95d68 (patch) | |
tree | e81d071cfb1ea4ea39c27ac95d6fbbc70f7d26a2 /newlib/libc/string/strstr.c | |
parent | fa3ffdd01ac7a014822ce546fda7d70612440e94 (diff) | |
download | cygnal-7ab59dee9440f8de58e064271908d309daf95d68.tar.gz cygnal-7ab59dee9440f8de58e064271908d309daf95d68.tar.bz2 cygnal-7ab59dee9440f8de58e064271908d309daf95d68.zip |
* 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.
Diffstat (limited to 'newlib/libc/string/strstr.c')
0 files changed, 0 insertions, 0 deletions