cvs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-dev] Re: new dirent module


From: Derek R. Price
Subject: [Cvs-dev] Re: new dirent module
Date: Wed, 12 Jul 2006 11:09:44 -0400
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jim Hyslop wrote:
> No more than what would currently happen, as far as I can tell. I just
> stepped through the test program provided by the MSDN, which basically
> iterates through all *.c files in the current directory and prints out
> basic information. After the call to _findnext, I deleted two of the
> files, and the program kept going happily. _findfirst appears to take a
> snapshot of the directory, just as opendir does.

MSDN does say this:

  The handle returned by either _findfirst or _findnext must first be
  passed to _findclose, before modification operations, such as
  deleting, can be performed on the directories that form the paths
  passed to them.

Not so important for CVS, probably, but for a general POSIX
implementation, caching yields closer semantics to UNIX.

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

iD8DBQFEtRC4LD1OTBfyMaQRArUpAJ91IFXgx4Gwcy/FfHt2KNUcQEta7QCg9FP0
HYCP5DwUm4f1BC3wNCh77Ds=
=KGxz
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]