[libpng16] Fixed a race condition in the creation of the build 'scripts'

directory while building with a parallel make.
This commit is contained in:
John Bowler 2013-02-16 07:38:46 -06:00 committed by Glenn Randers-Pehrson
parent 23a101e06d
commit c9b11ff0d4
3 changed files with 23 additions and 17 deletions

View File

@ -26,17 +26,20 @@ Other information:
Changes since the last public release (1.6.0): Changes since the last public release (1.6.0):
Version 1.6.1 [February 16, 2013] Version 1.6.1 [February 16, 2013]
Made symbol prefixing work with the ARM neon optimizations. Also allow pngpriv.h Made symbol prefixing work with the ARM neon optimizations. Also allow
to be included for preprocessor definitions only, so it can be used in non-C/C++ pngpriv.h to be included for preprocessor definitions only, so it can
files. Back ported from libpng 1.7. be used in non-C/C++ files. Back ported from libpng 1.7.
Made sRGB check numbers consistent. Made sRGB check numbers consistent.
Ported libpng 1.5 options.awk/dfn file handling to 1.6, fixed one bug. Ported libpng 1.5 options.awk/dfn file handling to 1.6, fixed one bug.
Removed cc -E workround, corrected png_get_palette_max API Tested on SUN OS cc 5.9, Removed cc -E workround, corrected png_get_palette_max API Tested on
which demonstrates the tokenization problem previously avoided by using /lib/cpp. SUN OS cc 5.9, which demonstrates the tokenization problem previously
Since all .dfn output is now protected in double quotes unless it is to be macro avoided by using /lib/cpp. Since all .dfn output is now protected in
substituted the fix should work everywhere. double quotes unless it is to be macro substituted the fix should
work everywhere.
Enabled parallel tests - back ported from libpng-1.7. Enabled parallel tests - back ported from libpng-1.7.
scripts/pnglibconf.dfa formatting improvements back ported from libpng 1.7. scripts/pnglibconf.dfa formatting improvements back ported from libpng17.
Fixed a race condition in the creation of the build 'scripts' directory
while building with a parallel make.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit

19
CHANGES
View File

@ -4382,17 +4382,20 @@ Version 1.6.0 [February 14, 2013]
No changes. No changes.
Version 1.6.1 [February 16, 2013] Version 1.6.1 [February 16, 2013]
Made symbol prefixing work with the ARM neon optimizations. Also allow pngpriv.h Made symbol prefixing work with the ARM neon optimizations. Also allow
to be included for preprocessor definitions only, so it can be used in non-C/C++ pngpriv.h to be included for preprocessor definitions only, so it can
files. Back ported from libpng 1.7. be used in non-C/C++ files. Back ported from libpng 1.7.
Made sRGB check numbers consistent. Made sRGB check numbers consistent.
Ported libpng 1.5 options.awk/dfn file handling to 1.6, fixed one bug. Ported libpng 1.5 options.awk/dfn file handling to 1.6, fixed one bug.
Removed cc -E workround, corrected png_get_palette_max API Tested on SUN OS cc 5.9, Removed cc -E workround, corrected png_get_palette_max API Tested on
which demonstrates the tokenization problem previously avoided by using /lib/cpp. SUN OS cc 5.9, which demonstrates the tokenization problem previously
Since all .dfn output is now protected in double quotes unless it is to be macro avoided by using /lib/cpp. Since all .dfn output is now protected in
substituted the fix should work everywhere. double quotes unless it is to be macro substituted the fix should
work everywhere.
Enabled parallel tests - back ported from libpng-1.7. Enabled parallel tests - back ported from libpng-1.7.
scripts/pnglibconf.dfa formatting improvements back ported from libpng 1.7. scripts/pnglibconf.dfa formatting improvements back ported from libpng17.
Fixed a race condition in the creation of the build 'scripts' directory
while building with a parallel make.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit

View File

@ -203,7 +203,7 @@ endif
.dfn.out: .dfn.out:
rm -f $@ $*.c $*.tf[12] rm -f $@ $*.c $*.tf[12]
test -d scripts || mkdir scripts test -d scripts || mkdir scripts || test -d scripts
echo '#include "$<"' >$*.c echo '#include "$<"' >$*.c
$(DFNCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)\ $(DFNCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)\
$(CPPFLAGS) $(SYMBOL_CFLAGS) $*.c > $*.tf1 $(CPPFLAGS) $(SYMBOL_CFLAGS) $*.c > $*.tf1