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

Matthew Dillon dillon at
Sat May 3 15:08:34 PDT 2008

dillon      2008/05/03 15:07:37 PDT

DragonFly src repository

  Modified files:
    include              dirent.h 
    lib/libc/gen         readdir.c telldir.c 
  Correct a bug in seekdir/readdir which could cause the directory entry
  after a deleted entry to be skipped when seeking past the deleted entry.
  NOTE: DragonFly has a specific issue even after this fix which currently
  causes seekdirs to be unreliable if any files are deleted.  DragonFly
  translates directory entries into a filesystem-independant form and if
  the real filesystem collapses the entry, the offsets will not be maintained
  in the machine-independant form.
  Submitted-by: Marc Balmer <marc at>
  Revision  Changes    Path
  1.9       +1 -1      src/include/dirent.h
  1.10      +10 -7     src/lib/libc/gen/readdir.c
  1.7       +2 -2      src/lib/libc/gen/telldir.c

More information about the Commits mailing list