]> Savannah Git Hosting - gnulib.git/commit
mkdir-p: Don't reference an undefined function on native Windows.
authorBruno Haible <bruno@clisp.org>
Tue, 27 Aug 2024 20:28:36 +0000 (22:28 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 17 Sep 2024 13:24:20 +0000 (15:24 +0200)
commit44896ceee9fbf6719fb772bd69c2d289275148e6
tree1d132cc4d1e090597e0971b842731e4f8b3c0174
parent02949b46c6f827c4193b09f2563460d39f34c571
mkdir-p: Don't reference an undefined function on native Windows.

* m4/mkdir-p.m4 (gl_MKDIR_PARENTS): Test whether fchown exists.
* lib/dirchownmod.c (fchown): Define to a fallback if the system does
not have fchown.
(dirchownmod): Test HAVE_FCHOWN.
ChangeLog
lib/dirchownmod.c
m4/mkdir-p.m4