diff options
author | Jim Meyering <jim@meyering.net> | 1996-04-24 03:35:55 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-04-24 03:35:55 +0000 |
commit | ade410fae0b77c8ee4ca6595ecb9b9b8d2c446eb (patch) | |
tree | 80d3235722b82973224c2db78962c6abff5d09a2 /src/cp.c | |
parent | 6d668c6160940ae8b0790f15f6df6ad44bd176d4 (diff) | |
download | coreutils-ade410fae0b77c8ee4ca6595ecb9b9b8d2c446eb.tar.xz |
[HAVE_LCHOWN]: Define chown to lchown.
Diffstat (limited to 'src/cp.c')
-rw-r--r-- | src/cp.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. */ |