Subject: CVS commit: basesrc/usr.sbin/mtree
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 10/06/2002 04:36:10
Module Name:	basesrc
Committed By:	lukem
Date:		Sun Oct  6 01:36:10 UTC 2002

Modified Files:
	basesrc/usr.sbin/mtree: compare.c extern.h verify.c

Log Message:
- Check HAVE_LCHFLAGS for lchflags(2) support, rather than assuming
  that HAVE_STRUCT_STAT_ST_FLAGS implies this.
- Set HAVE_LCHFLAGS for native builds
- Clean up {CLEAR,SET,CHANGE}FLAGS macros, and only provide if
  HAVE_STRUCT_STAT_ST_FLAGS is set.

(Fixes compilation as a tool on MacOS X, noted by Allen Briggs.)


To generate a diff of this commit:
cvs rdiff -r1.40 -r1.41 basesrc/usr.sbin/mtree/compare.c
cvs rdiff -r1.23 -r1.24 basesrc/usr.sbin/mtree/extern.h
cvs rdiff -r1.30 -r1.31 basesrc/usr.sbin/mtree/verify.c

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