Source-Changes archive

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

CVS commit: src/lib/libc



Module Name:    src
Committed By:   tonnerre
Date:           Sun May  4 18:53:26 UTC 2008

Modified Files:
        src/lib/libc/compat/gen: Makefile.inc
        src/lib/libc/compat/include: dirent.h
        src/lib/libc/gen: dirent_private.h readdir.c telldir.c
Added Files:
        src/lib/libc/compat/gen: compat__readdir_unlocked30.c

Log Message:
Fix a bug in the implementation of seekdir(). If the first entry in
a block has been unlinked, seekdir() may overshoot by one entry.
Thus, _readdir_unlinked() must not skip deleted entries when being
called from seekdir().
Christos agreed.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/lib/libc/compat/gen/Makefile.inc
cvs rdiff -r0 -r1.1 src/lib/libc/compat/gen/compat__readdir_unlocked30.c
cvs rdiff -r1.5 -r1.6 src/lib/libc/compat/include/dirent.h
cvs rdiff -r1.1 -r1.2 src/lib/libc/gen/dirent_private.h
cvs rdiff -r1.23 -r1.24 src/lib/libc/gen/readdir.c
cvs rdiff -r1.18 -r1.19 src/lib/libc/gen/telldir.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index