Subject: CVS commit: src/lib/libc/gen
To: None <source-changes@NetBSD.org>
From: Elad Efrat <elad@netbsd.org>
List: source-changes
Date: 07/04/2005 20:44:47
Module Name:	src
Committed By:	elad
Date:		Mon Jul  4 20:44:47 UTC 2005

Modified Files:
	src/lib/libc/gen: getcwd.c

Log Message:
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@.


To generate a diff of this commit:
cvs rdiff -r1.36 -r1.37 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.