Source-Changes archive

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

CVS commit: [netbsd-3] src/lib/libc/gen



Module Name:    src
Committed By:   riz
Date:           Sun Aug 14 22:08:44 UTC 2005

Modified Files:
        src/lib/libc/gen [netbsd-3]: getcwd.c

Log Message:
Pull up revisions 1.37-1.40 (requested by elad in ticket #648):
1.37:
Make realpath(3) work correctly.
The current code resolves paths like `/foo/bar/', `/foo/bar/./', and
`/foo/bar/../', even if `bar' is a regular file and not a directory.
Reviewed by cube@.

1.38:
Fixes to previous:
- Don't handle single and multiple slashes differently.
- A symlink to a directory can be appear in the middle of path.  Don't
   reject it.

1.39:
Don't allow last path element to be nonexistant.
Make this compile again (remove unused serrno).
Noted by uwe@.


To generate a diff of this commit:
cvs rdiff -r1.36 -r1.36.2.1 src/lib/libc/gen/getcwd.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