diff options
author | Jim Meyering <jim@meyering.net> | 1996-04-24 03:40:18 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-04-24 03:40:18 +0000 |
commit | 8e12bada8adbdf910760881904e2f734fe196567 (patch) | |
tree | 06ca91083d49f677fe96af95a37311ffbb9e390b /src | |
parent | ade410fae0b77c8ee4ca6595ecb9b9b8d2c446eb (diff) | |
download | coreutils-8e12bada8adbdf910760881904e2f734fe196567.tar.xz |
[HAVE_LCHOWN]: Define chown to lchown.
Diffstat (limited to 'src')
-rw-r--r-- | src/chown.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/chown.c b/src/chown.c index f7facc10d..1435d05fe 100644 --- a/src/chown.c +++ b/src/chown.c @@ -48,6 +48,10 @@ struct group *getgrgid (); # define endpwent() ((void) 0) #endif +#ifdef HAVE_LCHOWN +# define chown(PATH, OWNER, GROUP) lchown(PATH, OWNER, GROUP) +#endif + char *savedir (); char *parse_user_spec (); void strip_trailing_slashes (); |