-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jim Hyslop wrote:
> Sorry about the delay responding. I have committed the patch, with some
> trivial fine-tuning, to the CVS source. CVS's ndir.* are now dead.
Hi Jim,
I did a little more tweaking, to remove (struct dirent)->d_ino and add
_D_EXACT_NAMLEN, mostly. I also replaced the BSD MAXNAMLEN macro with
the POSIX.1 NAME_MAX.
You might want to verify that it still works.
2006-07-11 Derek Price <[EMAIL PROTECTED]>
* dirent.h: Remove #include <config.h>.
(struct dirent): Remove unimplemented d_ino since POSIX declares
it an extension. Add d_namlen.
(struct dircontents): Add length field.
[_D_EXACT_NAMLEN]: Define.
[MAXNAMLEN]: Replace with...
[NAME_MAX]: ...this macro, for POSIX.
* dirent.c: #include <config.h>.
(opendir): Don't check return from xmalloc. Store length of dir
name.
(readdir_r): Remove d_ino. Store d_namlen.
Cheers,
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:[EMAIL PROTECTED]>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEs5+XLD1OTBfyMaQRAoO/AJ99v35kmndLcK+C0F/F7aK+NZy8iQCfWI1C
7OkKeQLvzxiP8UwuJ8AYuQ8=
=UZcf
-----END PGP SIGNATURE-----
_______________________________________________
Bug-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/bug-cvs