DragonFly commits List (threaded) for 2008-05
DragonFly BSD
DragonFly commits List (threaded) for 2008-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 3 May 2008 15:07:37 -0700 (PDT)

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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]