From: Paul Eggert Date: Thu, 12 Oct 2006 06:43:01 +0000 (+0000) Subject: * lib/mkdir-p.c (HAVE_FCHMOD): Define to false if not already X-Git-Tag: cvs-readonly~1739 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=1d2ffdfcf054aef04b9552037d381e72a985ec5b;p=gnulib.git * lib/mkdir-p.c (HAVE_FCHMOD): Define to false if not already defined. Problem reported by Matthew Woehlke. --- diff --git a/ChangeLog b/ChangeLog index d3bfc7431..66a5c5e4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-10-11 Paul Eggert + * lib/mkdir-p.c (HAVE_FCHMOD): Define to false if not already + defined. Problem reported by Matthew Woehlke. + * lib/inttypes_.h (_LONG_LONG_FORMAT_PREFIX): New macro. Add support for Tandem NonStop R series. (_PRI64_PREFIX, _PRIu64_PREFIX, _SCN64_PREFIX, _SCNu64_PREFIX): diff --git a/lib/mkdir-p.c b/lib/mkdir-p.c index 29dcac15a..e6f8255b7 100644 --- a/lib/mkdir-p.c +++ b/lib/mkdir-p.c @@ -38,6 +38,10 @@ #include "savewd.h" #include "stat-macros.h" +#ifndef HAVE_FCHMOD +# define HAVE_FCHMOD false +#endif + /* Ensure that the directory DIR exists. WD is the working directory, as in savewd.c.