Mercurial > hg > octave-kai > gnulib-hg
view lib/fchown-stub.c @ 6819:3449832bdc37
* getdate.y (__attribute__): Don't define if already defined.
Problem reported by Larry Jones.
* utimens.c (__attribute__): Likewise.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sun, 11 Jun 2006 07:12:27 +0000 |
parents | 96c32553b4c6 |
children | 8a1a9361108c |
line wrap: on
line source
#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; }