emacs-devel
[Top][All Lists]
Advanced

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

Re: Bootstrap failure using 'make -j4' [Cygwin]


From: Jan Djärv
Subject: Re: Bootstrap failure using 'make -j4' [Cygwin]
Date: Sat, 22 May 2010 15:45:20 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5



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<address@hidden>
CC: Angelo Graziosi<address@hidden>, address@hidden

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 via email to

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