[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Cvs-dev] Re: new dirent module
From: |
Derek R. Price |
Subject: |
Re: [Cvs-dev] Re: new dirent module |
Date: |
Wed, 12 Jul 2006 10:25:10 -0400 |
User-agent: |
Thunderbird 1.5.0.4 (Windows/20060516) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Derek R. Price wrote:
> Do you know if there is any good reason why I shouldn't rip out most of
> the contrived directory cache in dirent.c and just save hFile in the DIR
> *, then only call _find_first() from opendir(), _find_next() from
> readdir(), and _find_close() from closedir()?
Nevermind. I just read the MSDN doc for _find* more thoroughly and it
looks like there are two good reasons:
1) There don't appear to be any Windows equivalent of the POSIX
seekdir(), rewind(), and telldir() functions.
2) Windows keeps the directory open until _find_close() is called, so,
under Windows file system semantics, the direcotry may not be written to
for the duration.
Sorry to bother you,
Derek
- --
Derek R. Price
CVS Solutions Architect
Get CVS support at Ximbiot <http://ximbiot.com>!
v: +1 248.835.1260
f: +1 248.835.1263
<mailto:address@hidden>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEtQZGLD1OTBfyMaQRAmG2AJ9nT1Wl0Zp+78oePggui1Xg/Nxp2ACgn8Oo
1gLn2yYMRMlShhhtLg06Od4=
=L2zb
-----END PGP SIGNATURE-----
- [Cvs-dev] Re: AC_HEADER_DIRENT, (continued)
- [Cvs-dev] Re: [bug-gnulib] AC_HEADER_DIRENT, Bruno Haible, 2006/07/11
- Re: [Cvs-dev] Re: [bug-gnulib] AC_HEADER_DIRENT, Derek R. Price, 2006/07/11
- Re: [Cvs-dev] Re: [bug-gnulib] AC_HEADER_DIRENT, Jim Hyslop, 2006/07/11
- Re: [Cvs-dev] Re: [bug-gnulib] AC_HEADER_DIRENT, Paul Eggert, 2006/07/11
- Re: [Cvs-dev] Re: [bug-gnulib] AC_HEADER_DIRENT, Derek R. Price, 2006/07/11
- Re: [Cvs-dev] Re: [bug-gnulib] AC_HEADER_DIRENT, Paul Eggert, 2006/07/11
- new dirent module (was Re: [Cvs-dev] Re: [bug-gnulib] AC_HEADER_DIRENT), Derek R. Price, 2006/07/12
- [Cvs-dev] Re: new dirent module, Derek R. Price, 2006/07/12
- Re: [Cvs-dev] Re: new dirent module,
Derek R. Price <=
- [Cvs-dev] Re: new dirent module, Jim Hyslop, 2006/07/12
- [Cvs-dev] Re: new dirent module, Derek R. Price, 2006/07/12
- [Cvs-dev] Re: new dirent module, Paul Eggert, 2006/07/12
- [Cvs-dev] Re: new dirent module, Derek R. Price, 2006/07/12
- Re: new dirent module (was Re: [Cvs-dev] Re: [bug-gnulib] AC_HEADER_DIRENT), Bruno Haible, 2006/07/13
- Re: new dirent module (was Re: [Cvs-dev] Re: [bug-gnulib] AC_HEADER_DIRENT), Derek R. Price, 2006/07/13
- Re: [Cvs-dev] Re: [bug-gnulib] AC_HEADER_DIRENT, Karl Berry, 2006/07/12
- Re: [Cvs-dev] Re: AC_HEADER_DIRENT, Derek R. Price, 2006/07/11
- Re: [Cvs-dev] Re: AC_HEADER_DIRENT, Jim Hyslop, 2006/07/11
- Re: [Cvs-dev] Re: AC_HEADER_DIRENT, Derek R. Price, 2006/07/11