From: Paul Eggert Date: Mon, 17 Jul 2006 03:07:04 +0000 (+0000) Subject: Adjust to new make_dir_parents API. X-Git-Tag: v6.0~156 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9a1ed6fbf9f6fc6f688fa0508ae73b853b83a299;p=thirdparty%2Fcoreutils.git Adjust to new make_dir_parents API. --- diff --git a/lib/mkdir-p.h b/lib/mkdir-p.h index 6e0c848fd6..77a11d6b2e 100644 --- a/lib/mkdir-p.h +++ b/lib/mkdir-p.h @@ -17,16 +17,17 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -/* Written by David MacKenzie and Jim Meyering. */ +/* Written by Paul Eggert, David MacKenzie, and Jim Meyering. */ #include #include -bool make_dir_parents (char const *argname, +bool make_dir_parents (char *dir, + int (*make_ancestor) (char const *, void *), + void *options, mode_t mode, - mode_t parent_mode, + void (*announce) (char const *, void *), + mode_t mode_bits, uid_t owner, gid_t group, - bool preserve_existing, - char const *verbose_fmt_string, - int *cwd_errno); + bool preserve_existing);