projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(isdir): Usage stat, not safe_stat.
[gnulib.git]
/
lib
/
makepath.c
diff --git
a/lib/makepath.c
b/lib/makepath.c
index
9066874
..
b592116
100644
(file)
--- a/
lib/makepath.c
+++ b/
lib/makepath.c
@@
-99,6
+99,16
@@
void error ();
Return 0 if ARGPATH exists as a directory with the proper
ownership and permissions when done, otherwise 1. */
Return 0 if ARGPATH exists as a directory with the proper
ownership and permissions when done, otherwise 1. */
+#if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
+int
+make_path (const char *argpath,
+ int mode,
+ int parent_mode,
+ uid_t owner,
+ gid_t group,
+ int preserve_existing,
+ const char *verbose_fmt_string)
+#else
int
make_path (argpath, mode, parent_mode, owner, group, preserve_existing,
verbose_fmt_string)
int
make_path (argpath, mode, parent_mode, owner, group, preserve_existing,
verbose_fmt_string)
@@
-109,6
+119,7
@@
make_path (argpath, mode, parent_mode, owner, group, preserve_existing,
gid_t group;
int preserve_existing;
const char *verbose_fmt_string;
gid_t group;
int preserve_existing;
const char *verbose_fmt_string;
+#endif
{
char *dirpath; /* A copy we can scribble NULs on. */
struct stat stats;
{
char *dirpath; /* A copy we can scribble NULs on. */
struct stat stats;