Re: install-sh misbehaves badly on buggy FreeBSD systems

2006-10-14 Thread Alexandre Duret-Lutz
>>> "PE" == Paul Eggert <[EMAIL PROTECTED]> writes: PE> 2006-10-10 Paul Eggert <[EMAIL PROTECTED]> PE> * lib/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m, PE> which incorrectly sets the mode of an existing destination PE> directory. In some cases the unpatched install-sh could

Re: install-sh misbehaves badly on buggy FreeBSD systems

2006-10-10 Thread Paul Eggert
Stepan Kasal <[EMAIL PROTECTED]> writes: > is there an implementation of mkdir which understands `-p' and `--' but > does not understand `-m'? Not in the sense described here, no. Ancient mkdir treats all arguments as directories to be made, and `$mkdirprog $mkdir_mode -p -- "$tmpdir/d"' must fa

Re: install-sh misbehaves badly on buggy FreeBSD systems

2006-10-10 Thread Stepan Kasal
Hello Paul, is there an implementation of mkdir which understands `-p' and `--' but does not understand `-m'? If such an implementation existed, it could cause problems with your new code: The call $mkdirprog -m $different_mode -p -- "$tmpdir" might create directories ./-m and ./$differe

install-sh misbehaves badly on buggy FreeBSD systems

2006-10-09 Thread Paul Eggert
Here's a proposed patch to Automake to work around the FreeBSD mkdir bug described in 2006-10-09 Paul Eggert <[EMAIL PROTECTED]> * lib/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m, which incorrect