]> git.tuebingen.mpg.de Git - paraslash.git/commit
fd.c: Improve error checking of para_mkdir().
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 1 Nov 2022 20:55:33 +0000 (21:55 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 7 May 2023 18:45:22 +0000 (20:45 +0200)
commit07a2d4510f0adc6eff211400f16a0760409bc507
tree60ba4a4f2e97d3ef0bcd7fd99384ce55c2e47a9e
parentda171f28894c6a3fc29b58bf8ee783bc7d28598c
fd.c: Improve error checking of para_mkdir().

The old code returned success in case the pathname existed but was
no directory, so try to improve on this a bit. However, don't be
over-zealous as any pathname based approach won't be bullet-proof
because the file identified by the pathname may change at any time.
fd.c