From: Jim Meyering Date: Wed, 24 Apr 1996 03:35:55 +0000 (+0000) Subject: [HAVE_LCHOWN]: Define chown to lchown. X-Git-Tag: TEXTUTILS-1_14c~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ade410fae0b77c8ee4ca6595ecb9b9b8d2c446eb;p=thirdparty%2Fcoreutils.git [HAVE_LCHOWN]: Define chown to lchown. --- diff --git a/src/cp.c b/src/cp.c index eb6628be44..7dd2ddf8ce 100644 --- a/src/cp.c +++ b/src/cp.c @@ -36,6 +36,10 @@ uid_t geteuid (); #endif +#ifdef HAVE_LCHOWN +# define chown(PATH, OWNER, GROUP) lchown(PATH, OWNER, GROUP) +#endif + /* Used by do_copy, make_path_private, and re_protect to keep a list of leading directories whose protections need to be fixed after copying. */