changeset 7479:a21f992ed2b2

* lib/mkdir-p.c (HAVE_FCHMOD): Define to false if not already defined. Problem reported by Matthew Woehlke.
author Paul Eggert <eggert@cs.ucla.edu>
date Thu, 12 Oct 2006 06:43:01 +0000
parents eeed6338b68d
children 71a31225b418
files ChangeLog lib/mkdir-p.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
 
+	* 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):
--- 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.