From ade410fae0b77c8ee4ca6595ecb9b9b8d2c446eb Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 24 Apr 1996 03:35:55 +0000 Subject: [PATCH] [HAVE_LCHOWN]: Define chown to lchown. --- src/cp.c | 4 ++++ 1 file changed, 4 insertions(+) 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. */ -- 2.47.2