[libpng16] Fixed race conditions in parallel make builds. With higher degrees

of parallelism during 'make' the use of the same temporary file names such
as 'dfn*' can result in a race where a temporary file from one arm of the
build is deleted or overwritten in another arm.  This changes the
temporary files for suffix rules to always use $* and ensures that the
non-suffix rules use unique file names.
This commit is contained in:
John Bowler
2011-12-08 09:37:24 -06:00
committed by Glenn Randers-Pehrson
parent 90a87c8853
commit eb26ee6602
4 changed files with 46 additions and 30 deletions

View File

@@ -1,5 +1,5 @@
Libpng 1.6.0alpha01 - December 5, 2011
Libpng 1.6.0alpha01 - December 8, 2011
This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version.
@@ -107,7 +107,7 @@ Version 1.5.7beta05 [(PENDING RELEASE)]
Added MINGW support to CMakeLists.txt
Reject invalid compression flag or method when reading the iTXt chunk.
Version 1.6.0alpha01 [December 5, 2011]
Version 1.6.0alpha01 [December 8, 2011]
Removed machine-generated configure files from the GIT repository (they will
continue to appear in the tarball distributions).
Restored the new 'simplified' API, which was deleted from libpng-1.5.7.
@@ -135,6 +135,12 @@ Version 1.6.0alpha01 [December 5, 2011]
as in libpng-1.5.4.
Put CRLF line endings in the owatcom project files.
Fixed minor memset/sizeof errors in pngvalid.c.
Fixed race conditions in parallel make builds. With higher degress of
parallelism during 'make' the use of the same temporary file names such
as 'dfn*' can result in a race where a temporary file from one arm of the
build is deleted or overwritten in another arm. This changes the
temporary files for suffix rules to always use $* and ensures that the
non-suffix rules use unique file names.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
(subscription required; visit