]> git.cworth.org Git - tar/blob - gnu/fchown-stub.c
upstream: Fix extraction of device nodes.
[tar] / gnu / fchown-stub.c
1 /* -*- buffer-read-only: t -*- vi: set ro: */
2 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */
3 #include <config.h>
4
5 #include <sys/types.h>
6 #include <errno.h>
7
8 /* A trivial substitute for `fchown'.
9
10    DJGPP 2.03 and earlier (and perhaps later) don't have `fchown',
11    so we pretend no-one has permission for this operation. */
12
13 int
14 fchown (int fd, uid_t uid, gid_t gid)
15 {
16   errno = EPERM;
17   return -1;
18 }