From 1d2ffdfcf054aef04b9552037d381e72a985ec5b Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 12 Oct 2006 06:43:01 +0000 Subject: [PATCH] * lib/mkdir-p.c (HAVE_FCHMOD): Define to false if not already defined. Problem reported by Matthew Woehlke. --- ChangeLog | 3 +++ lib/mkdir-p.c | 4 ++++ 2 files changed, 7 insertions(+) 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. -- 2.11.0