[Zlib-devel] zlib 1.2.4.4 -- a 1.2.5 release candidate
John Bowler
jbowler at frontiernet.net
Sun Apr 18 12:27:56 EDT 2010
From: Mark Adler
>A race condition? How can that be?
It's the parallel make, so multiple .lo targets can be built at once. If the make starts two in parallel they will both attempt to create 'objs' and one must fail. That's why:
mkdir objs 2>/dev/null || test -d objs
is safer; because it reliably succeeds if objs exists *or* is created. It's quiet and doesn't require the '-' (ignore errors) though you may still want the '@'.
John Bowler <jbowler at acm.org>
More information about the Zlib-devel
mailing list