]> 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 11:00:30 +0000 (13:00 +0200)
commit84522f3d2d63bd0552cbcc1bb780faf82261dad0
tree2bd8b392666835abf275c3e1ff4b8d7f20e03213
parent262beaeef666d5f2caf5837f38692d708423705a
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