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

Matthew Dillon dillon at crater.dragonflybsd.org
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 
  Log:
  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 msys.ch>
  
  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


http://www.dragonflybsd.org/cvsweb/src/include/dirent.h.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libc/gen/readdir.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libc/gen/telldir.c.diff?r1=1.6&r2=1.7&f=u





More information about the Commits mailing list