Boost logo

Boost :

From: Thomas Witt (witt_at_[hidden])
Date: 2002-08-17 11:31:21


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

Beman,

When a directory iterator is used to fully traverse a directory find_close is
called twice with the same handle. The resulting API call does not return on
Linux/Win2k.

The problem is that find_next_file calls find_close without resetting handle
to BOOST_INVALID_HANDLE_VALUE. I do not fully understand why find_next_file
has to call find_close. IIUC this would be handled in the directory_iterator
dtor anyway?

- --Thomas

- --
Dipl.-Ing. Thomas Witt
Institut fuer Verkehrswesen, Eisenbahnbau und -betrieb, Universitaet Hannover
voice: +49(0) 511 762 - 4273, fax: +49(0) 511 762-3001
http://www.ive.uni-hannover.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9Xnpd0ds/gS3XsBoRAuX1AJ9bSBbthMKZn6T8E4HUki1Sd5nqpACfUIqS
97mKSrMWfMHFeLkDs8rPYy0=
=J57O
-----END PGP SIGNATURE-----


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk