Files
libite/test
omrzk eb883301b3 Do not let mkpath() accept an existing non-directory
mkpath(), fmkpath(), and makepath() return success when the path exists
as a regular file, or anything else that is not a directory:

    touch /tmp/foo; mkpath("/tmp/foo", 0755);

Any path that stat() can find is taken to be done.

Check that it is a directory, otherwise fail with ENOTDIR.

Closes #26
2026-11-16 14:13:07 +01:00
..
2022-01-26 23:57:27 +08:00
2023-09-17 12:26:08 +02:00
2022-01-26 23:57:27 +08:00
2021-10-03 12:22:33 +02:00