The NetBSD Project

CVS log for src/lib/libc/gen/getcwd.c

[BACK] Up to [] / src / lib / libc / gen

Request diff between arbitrary revisions

Default branch: MAIN
Current tag: netbsd-3-0-RELEASE

Revision / (download) - annotate - [select for diffs], Sun Aug 14 22:08:44 2005 UTC (12 years, 10 months ago) by riz
Branch: netbsd-3
CVS Tags: netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1
Branch point for: netbsd-3-0
Changes since 1.36: +7 -8 lines
Diff to previous 1.36 (colored)

Pull up revisions 1.37-1.40 (requested by elad in ticket #648):
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@.

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.

Don't allow last path element to be nonexistant.

Make this compile again (remove unused serrno).
Noted by uwe@.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>