Mercurial > hg > octave-nkf > gnulib-hg
changeset 3989:732f01ac31e8
(make_path): Minor reformatting.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Thu, 21 Nov 2002 09:46:03 +0000 |
parents | b314b3c51dda |
children | 9c941c25f004 |
files | lib/makepath.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/makepath.c +++ b/lib/makepath.c @@ -46,7 +46,7 @@ # undef S_ISDIR #endif -#if !defined(S_ISDIR) && defined(S_IFDIR) +#if !defined S_ISDIR && defined S_IFDIR # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) #endif @@ -303,7 +303,7 @@ if ((owner != (uid_t) -1 || group != (gid_t) -1) && chown (basename_dir, owner, group) -#if defined(AFS) && defined (EPERM) +#if defined AFS && defined EPERM && errno != EPERM #endif ) @@ -384,7 +384,8 @@ if ((mode & ~S_IRWXUGO) && chmod (basename_dir, mode)) { - error (0, errno, _("cannot change permissions of %s"), quote (dirpath)); + error (0, errno, _("cannot change permissions of %s"), + quote (dirpath)); retval = 1; }