cvs commit: src/include dirent.h src/lib/libc/gen rewinddir.c telldir.c

Matthew Dillon dillon at
Tue Apr 22 14:33:15 PDT 2008

dillon      2008/04/22 14:29:42 PDT

DragonFly src repository

  Modified files:
    include              dirent.h 
    lib/libc/gen         rewinddir.c telldir.c 
  * Remove the SINGLEUSE feature for telldir(), it does not conform to the
    Open Group specification.
  * Add a mutex around the ddloc hash table.  Note that NetBSD implemented
    a per-dirp list but telldir/seekdir performance just isn't an issue
    for these functions so stick with the global hash table.
  * Reuse the ddloc for a previous seekdir() when calling telldir() just
    after a seekdir(), instead of allocating a new one.
  * rewinddir() now cleans up any ddloc's for the dirp.
  Reported-by: Gary Stanley <sinknull at>
  Revision  Changes    Path
  1.8       +2 -1      src/include/dirent.h
  1.5       +1 -0      src/lib/libc/gen/rewinddir.c
  1.6       +46 -24    src/lib/libc/gen/telldir.c

More information about the Commits mailing list