Subject: Re: CVS commit: othersrc/bootstrap-pkgsrc/mtree
To: grant beattie <grant@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 02/22/2003 07:42:10
On Fri, Feb 21, 2003 at 01:19:20PM +0200, grant beattie wrote:
  | 
  | Module Name:	othersrc
  | Committed By:	grant
  | Date:		Fri Feb 21 11:19:20 UTC 2003
  | 
  | Modified Files:
  | 	othersrc/bootstrap-pkgsrc/mtree: compare.c config.h.in configure
  | 	    configure.ac verify.c
  | 
  | Log Message:
  | use chown() if we don't have lchown().

a "better" way to do this is provide a replacement lchown() in
the compat library which does an lstat on the file and uses chown
if the file is not a symlink, and barfs otherwise.
see src/tools/compat/lchown.c and src/tools/compat/lchmod.c

luke.