projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b294d53
)
include lchown.h
author
Jim Meyering
<jim@meyering.net>
Thu, 16 Jul 1998 23:25:29 +0000
(23:25 +0000)
committer
Jim Meyering
<jim@meyering.net>
Thu, 16 Jul 1998 23:25:29 +0000
(23:25 +0000)
lib/lchown.c
patch
|
blob
|
history
diff --git
a/lib/lchown.c
b/lib/lchown.c
index
6ecf6bb
..
f1e21e7
100644
(file)
--- a/
lib/lchown.c
+++ b/
lib/lchown.c
@@
-25,16
+25,7
@@
#ifndef errno
extern int errno;
#endif
-
-/* Some systems don't have ENOSYS. */
-#ifndef ENOSYS
-# ifdef ENOTSUP
-# define ENOSYS ENOTSUP
-# else
-/* Some systems don't have ENOTSUP either. */
-# define ENOSYS ENOMSG
-# endif
-#endif
+#include "lchown.h"
/* Work just like chown, except when FILE is a symbolic link.
In that case, set errno to ENOSYS and return -1. */