Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 04/27/1999 04:36:47
Module Name:	src
Committed By:	christos
Date:		Tue Apr 27 11:36:47 UTC 1999

Modified Files:
	src/sys/compat/common: compat_util.c
Log Message:
Make the usage consistant and document it:
if the path was given in a user buffer, return the new path in
a user buffer.
if the path was given in a kernel buffer, allocate a new kernel buffer
to return the new path; the caller is responsible for freeing the buffer
if we fail always set the new path to NULL.
This usage broke when I adde the /../ shortcut. Noted by cgd.