Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 01/22/2001 21:50:58
Module Name:	syssrc
Committed By:	jdolecek
Date:		Mon Jan 22 19:50:57 UTC 2001

Modified Files:
	syssrc/sys/compat/common: compat_util.c compat_util.h

Log Message:
Introduce CHECK_ALT_SYMLINK() - this checks for alternative location without
following links, hence is usable for checking of presence of a symlink.
Also slighly cleanup EXISTS and CREAT cases - use symbolic constants
instead of 0/1.
This is needed for emulation of readlink(2), lchown(2) and similar.
Addresses kern/11757.


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 syssrc/sys/compat/common/compat_util.c
cvs rdiff -r1.8 -r1.9 syssrc/sys/compat/common/compat_util.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.