summaryrefslogtreecommitdiff
path: root/lib/fchown-stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fchown-stub.c')
-rw-r--r--lib/fchown-stub.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/fchown-stub.c b/lib/fchown-stub.c
deleted file mode 100644
index 322baccce..000000000
--- a/lib/fchown-stub.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-#include <sys/types.h>
-#include <errno.h>
-
-/* A trivial substitute for `fchown'.
-
- DJGPP 2.03 and earlier (and perhaps later) don't have `fchown',
- so we pretend no-one has permission for this operation. */
-
-int
-fchown (int fd, uid_t uid, gid_t gid)
-{
- errno = EPERM;
- return -1;
-}