X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmkdir-p.c;h=29dcac15a0971a229ff90070aab6728e35c7eb84;hb=a0a86efb418fd595d9154cf6ca70c78ea777afb9;hp=49ce1cdb3b0afc4bc8585110d8dfe4859c13965e;hpb=4690e55fda8e350a8c8dbe3f304b483c104b75ef;p=gnulib.git diff --git a/lib/mkdir-p.c b/lib/mkdir-p.c index 49ce1cdb3..29dcac15a 100644 --- a/lib/mkdir-p.c +++ b/lib/mkdir-p.c @@ -43,7 +43,7 @@ WD is the working directory, as in savewd.c. If MAKE_ANCESTOR is not null, create any ancestor directories that - don't already exist, by invoking MAKE_ANCESTOR (ANCESTOR, OPTIONS). + don't already exist, by invoking MAKE_ANCESTOR (DIR, ANCESTOR, OPTIONS). This function should return zero if successful, -1 (setting errno) otherwise. In this case, DIR may be modified by storing '\0' bytes into it, to access the ancestor directories, and this modification @@ -83,7 +83,7 @@ bool make_dir_parents (char *dir, struct savewd *wd, - int (*make_ancestor) (char const *, void *), + int (*make_ancestor) (char const *, char const *, void *), void *options, mode_t mode, void (*announce) (char const *, void *),