[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in mkdir -p detection

From: Marc Espie
Subject: Re: bug in mkdir -p detection
Date: Thu, 27 Dec 2007 17:29:37 +0100
User-agent: Mutt/1.5.12-2006-07-14

On Thu, Dec 27, 2007 at 05:25:56PM +0100, Marc Espie wrote:
> the mkdir -p macro arbitrarily restricts itself to GNU mkdir by passing
> it a --version.
> This is a bit offensive. On OpenBSD, this particular issue does not exist.
> It was fixed 8 years ago, published as OpenBSD 2.4, and all newer versions
> are not affected.
> Could we get an OS test and use mkdir on OpenBSD >= 2.4, please ?

I forgot to add: I noticed this particular issue while trying to build
libogg 1.3 in parallel mode.

Turns out the install_sh -d stuff is NOT safe in parallel mode, it errors out
while trying to create a directory that already exists. Thus, I have even
*more* trouble understanding the restriction against mkdir -p considering
install_sh does not even do what the mkdir -p restriction is supposed to 
avoid in the first place...

reply via email to

[Prev in Thread] Current Thread [Next in Thread]