X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=lib%2Ffchown-stub.c;fp=lib%2Ffchown-stub.c;h=0000000000000000000000000000000000000000;hb=dc84183747ce1703eb99685b5dbde1f65a143c06;hp=6be750b829c5a4cdbc257775d20b202e806102ed;hpb=a2016c1de6e4884f6c8ed5cc498f3bf821c25ca4;p=debian%2Fgzip diff --git a/lib/fchown-stub.c b/lib/fchown-stub.c deleted file mode 100644 index 6be750b..0000000 --- a/lib/fchown-stub.c +++ /dev/null @@ -1,16 +0,0 @@ -#include - -#include -#include - -/* 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; -}