Re: [dev] [Bug][sbase] make install borked since commit ddde8021

From: Markus Wichmann <nullplan_AT_gmx.net>
Date: Sun, 29 Oct 2023 06:27:34 +0100

Am Sat, Oct 28, 2023 at 01:48:07PM -0600 schrieb Randy Palamar:
> This is a problem with mkdir in sbase. It probably shouldn't error out
> when mkdir(3p) fails and sets errno to EEXIST or EISDIR. I'll send a
> patch to hackers_AT_ soon.
>
> - Randy
>

That is one of the jobs of the -p switch to mkdir. However, without -p,
mkdir is not allowed to ignore failure like that.

Plus I didn't know mkdir could fail with EISDIR. My manpage is not
documenting that case.

Ciao,
Markus
Received on Sun Oct 29 2023 - 06:27:34 CET

This archive was generated by hypermail 2.3.0 : Sun Oct 29 2023 - 07:12:09 CET