Mercurial > hg > octave-lyh > gnulib-hg
changeset 82:a60bd2c95d6a
merge with 3.5.1
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sun, 02 May 1993 21:36:04 +0000 |
parents | 8bc040c4fa94 |
children | 51c85f74d16d |
files | lib/Makefile.in lib/makepath.c |
diffstat | 2 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -43,7 +43,7 @@ all: libfu.a .c.o: - $(CC) -c $(CFLAGS) $(CPPFLAGS) $(DEFS) -I$(srcdir) $< + $(CC) -c $(DEFS) -I$(srcdir) $(CPPFLAGS) $(CFLAGS) $< install: all
--- a/lib/makepath.c +++ b/lib/makepath.c @@ -43,8 +43,11 @@ #endif #ifdef STDC_HEADERS +#include <stdlib.h> +#endif + +#if defined (STDC_HEADERS) || defined (HAVE_ERRNO_H) #include <errno.h> -#include <stdlib.h> #else extern int errno; #endif @@ -147,7 +150,7 @@ if (owner != (uid_t) -1 && group != (gid_t) -1 && chown (dirpath, owner, group) -#ifdef AFS +#if defined(AFS) && defined (EPERM) && errno != EPERM #endif )