Rolf Eike Beer
2017-Oct-12 09:59 UTC
[PATCH][RESEND] use autoconf MKDIR_P to reduce usage of legacy mkinstalldirs script
Basically all platforms have a proper "mkdir -p". Autoconf has install-sh as fallback when using AC_PROG_MKDIR_P, which is also hardened against races if it is recent enough. Update that script and use MKDIR_P whereever possible. Installs fine in my tests and avoids the "mkdir: cannot create directory '?': File exists" messages along the way. Greetings, Eike -- Rolf Eike Beer, emlix GmbH, http://www.emlix.com Fon +49 551 30664-0, Fax +49 551 30664-11 Bertha-von-Suttner-Str. 9, 37085 G?ttingen, Germany Sitz der Gesellschaft: G?ttingen, Amtsgericht G?ttingen HR B 3160 Gesch?ftsf?hrung: Heike Jordan, Dr. Uwe Kracke ? Ust-IdNr.: DE 205 198 055 emlix ? smart embedded open source -------------- next part -------------- A non-text attachment was scrubbed... Name: 0002-use-AC_PROG_MKDIR_P-to-get-mkdir-p-or-substitute.patch Type: text/x-patch Size: 27530 bytes Desc: not available URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20171012/fad83b6e/attachment-0001.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 313 bytes Desc: This is a digitally signed message part. URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20171012/fad83b6e/attachment-0001.asc>
Rolf Eike Beer
2017-Nov-28 08:47 UTC
[PATCH][RESEND] use autoconf MKDIR_P to reduce usage of legacy mkinstalldirs script
Am Donnerstag, 12. Oktober 2017, 11:59:57 CET schrieb Rolf Eike Beer:> Basically all platforms have a proper "mkdir -p". Autoconf has install-sh as > fallback when using AC_PROG_MKDIR_P, which is also hardened against races > if it is recent enough. Update that script and use MKDIR_P whereever > possible. > > Installs fine in my tests and avoids the "mkdir: cannot create directory > '?': File exists" messages along the way.Ping? -- Rolf Eike Beer, emlix GmbH, http://www.emlix.com Fon +49 551 30664-0, Fax +49 551 30664-11 Bertha-von-Suttner-Str. 9, 37085 G?ttingen, Germany Sitz der Gesellschaft: G?ttingen, Amtsgericht G?ttingen HR B 3160 Gesch?ftsf?hrung: Heike Jordan, Dr. Uwe Kracke ? Ust-IdNr.: DE 205 198 055 emlix ? smart embedded open source -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 313 bytes Desc: This is a digitally signed message part. URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20171128/38d95da9/attachment.asc>
Darren Tucker
2017-Dec-01 06:15 UTC
[PATCH][RESEND] use autoconf MKDIR_P to reduce usage of legacy mkinstalldirs script
On 28 November 2017 at 19:47, Rolf Eike Beer <eb at emlix.com> wrote:> Am Donnerstag, 12. Oktober 2017, 11:59:57 CET schrieb Rolf Eike Beer: > > Basically all platforms have a proper "mkdir -p". Autoconf has > install-sh as > > fallback when using AC_PROG_MKDIR_P, which is also hardened against races > > if it is recent enough. Update that script and use MKDIR_P whereever > > possible. > > > > Installs fine in my tests and avoids the "mkdir: cannot create directory > > '?': File exists" messages along the way. > > Ping?Applied, thanks. -- Darren Tucker (dtucker at dtucker.net) GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA (new) Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.