Mercurial > hg > octave-kai > gnulib-hg
view lib/makepath.h @ 1192:fcb9d43860d6
(make_path): Try to change ownership only if we've just created the
directory. Fix latent bug (s/&&/||/ in two places -- also, note that
it could not be exercised via install or mkdir) whereby chown would
not be invoked when only one of owner/group is not -1.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Fri, 02 Jan 1998 23:15:39 +0000 |
parents | 8de2d981b46f |
children | 807748d2448e |
line wrap: on
line source
#ifndef PARAMS # if defined PROTOTYPES || (defined __STDC__ && __STDC__) # define PARAMS(Args) Args # else # define PARAMS(Args) () # endif #endif int make_path PARAMS ((const char *_argpath, int _mode, int _parent_mode, uid_t _owner, gid_t _group, int _preserve_existing, const char *_verbose_fmt_string));