unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Eli Zaretskii <eliz@gnu.org>,
	angelo.graziosi@alice.it,  emacs-devel@gnu.org
Subject: Re: Bootstrap failure using 'make -j4' [Cygwin]
Date: Sat, 22 May 2010 15:45:20 +0200	[thread overview]
Message-ID: <4BF7DFF0.8070004@swipnet.se> (raw)
In-Reply-To: <878w7ckrvg.fsf@engster.org>



David Engster skrev 2010-05-22 15.06:
> Jan Djärv writes:
>> Eli Zaretskii skrev 2010-05-22 14.46:
>>>> Date: Sat, 22 May 2010 13:00:53 +0200
>>>> From: Jan Djärv<jan.h.d@swipnet.se>
>>>> CC: Angelo Graziosi<angelo.graziosi@alice.it>, emacs-devel@gnu.org
>>>>
>>>> A better solution is probably to replace
>>>>
>>>>          test -d ${DEPDIR} || mkdir ${DEPDIR}
>>>>
>>>> with
>>>>
>>>>          mkdir -p ${DEPDIR}
>>>
>>> I think the -p switch to mkdir is not portable.
>>>
>>
>> I has been in The Single UNIX ® Specification since 1997 at least.  I
>> think it was in POSIX 2 as well (1990), but I lost it, so I can't
>> check.
>
> That may be, but 'mkdir -p' is not guaranteed to be thread-safe.

That has nothing to do with this situation.  The point of -p here is that 
mkdir shall not output an error if the directory exist.  When creating 
multiple directories, then -p is not thread safe (i.e. two mkdir:s may be 
creating directories in the tree), but this is not the case here.

	Jan D.



  reply	other threads:[~2010-05-22 13:45 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-21 14:53 Bootstrap failure using 'make -j4' [Cygwin] Angelo Graziosi
2010-05-21 16:16 ` Eli Zaretskii
2010-05-21 16:57   ` Angelo Graziosi
2010-05-21 17:43     ` Eli Zaretskii
2010-05-21 17:59     ` Eli Zaretskii
2010-05-21 18:45       ` Eli Zaretskii
2010-05-21 22:45       ` Angelo Graziosi
2010-05-22  6:57         ` Eli Zaretskii
2010-05-22  7:16           ` Glenn Morris
2010-05-22  7:29             ` Glenn Morris
2010-05-22  8:19             ` Eli Zaretskii
2010-05-22 11:20               ` Andreas Schwab
2010-05-22 12:53                 ` Eli Zaretskii
2010-05-22 11:00           ` Jan Djärv
2010-05-22 12:46             ` Eli Zaretskii
2010-05-22 13:00               ` Jan Djärv
2010-05-22 13:06                 ` David Engster
2010-05-22 13:45                   ` Jan Djärv [this message]
2010-05-22 13:21                 ` Eli Zaretskii
2010-05-22 13:41                   ` David Engster
2010-05-22 14:00                     ` Jan Djärv
2010-05-22 13:54                   ` Jan Djärv
2010-05-22 14:10                     ` Eli Zaretskii
2010-05-22 13:35           ` Angelo Graziosi
2010-05-22 14:08             ` Eli Zaretskii
2010-05-23 11:51           ` Angelo Graziosi
2010-05-23 17:12             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BF7DFF0.8070004@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=angelo.graziosi@alice.it \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).