[Top][All Lists]
[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 10:15:49 -0400 |
User-agent: |
Thunderbird 1.5.0.4 (Windows/20060516) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Derek R. Price wrote:
> Okay, I've attached the proposed lib/dirent.c, lib/dirent.h, and
> modules/dirent. I wasn't sure what to do about the Makefile.am chunk of
Hey Jim,
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()?
It seems to me that this would save a lot of overhead, so I'm not quite
sure why it wasn't done this way in the first place. Are there race
conditions involved if the directory changes while it is being read by
the _find* functions?
Thanks,
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
iD8DBQFEtQQULD1OTBfyMaQRAsTEAKDsEz//6XIm08QE4sqOHJ1gIan2DgCeMXI8
M6L2+dP8L7uOoNQ/2lIys/c=
=8+jG
-----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 <=
- Re: [Cvs-dev] Re: new dirent module, Derek R. Price, 2006/07/12
- [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