C on Directory

Doug Gwyn gwyn at smoke.BRL.MIL
Wed Oct 25 07:32:56 AEST 1989


In article <2557 at auspex.auspex.com> guy at auspex.auspex.com (Guy Harris) writes:
>>Open/Read/Close Dir could be implemented as macros to open a file, read it with
>>this structure, and close it.
>They already have been, but as subroutines, not macros.  Volume 9 of the
>"comp.sources.unix" archive has "gwyn-dir-lib", which is an
>implementation of the standard POSIX directory-access routines ...

Thanks, but anybody who wants this package should get it from me,
not the archive, because the archive version has a couple of bugs.
(14-character file names on original UNIX filesystems are handled
wrong, also closedir() may be using storage that was free()d).



More information about the Comp.unix.wizards mailing list