Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/lib/libc/gen
Module Name: src
Committed By: tnozaki
Date: Tue Nov 24 13:34:20 UTC 2009
Modified Files:
src/lib/libc/gen: basename.c dirname.c
Log Message:
guard single-dot from modification by the application
(SUSv3 spec don't forbid this brutal operation).
this idea taken from OpenBSD's version of basename(3) and dirname(3).
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/gen/basename.c
cvs rdiff -u -r1.10 -r1.11 src/lib/libc/gen/dirname.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