[GM-commit] GraphicsMagick: Keep Ghostscript gibberish from appearing in con...
Swiss army knife of image processing
Brought to you by:
bfriesen
From: GraphicsMagick C. <gra...@li...> - 2015-05-01 02:24:17
|
changeset 21ad2effc0cb in /hg/GraphicsMagick details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=21ad2effc0cb summary: Keep Ghostscript gibberish from appearing in configure output. diffstat: ChangeLog | 3 +++ configure | 22 +++++++++++----------- configure.ac | 22 +++++++++++----------- www/Changelog.html | 2 ++ 4 files changed, 27 insertions(+), 22 deletions(-) diffs (209 lines): diff -r fc0f747f759d -r 21ad2effc0cb ChangeLog --- a/ChangeLog Thu Apr 30 21:03:26 2015 -0500 +++ b/ChangeLog Thu Apr 30 21:24:05 2015 -0500 @@ -1,5 +1,8 @@ 2015-04-30 Bob Friesenhahn <bfr...@si...> + * configure.ac: Keep Ghostscript gibberish from appearing in + Configure output. + * coders/miff.c (WriteRunlengthPacket): Quiet Coverity 10186 and 10214 "Missing break in switch". diff -r fc0f747f759d -r 21ad2effc0cb configure --- a/configure Thu Apr 30 21:03:26 2015 -0500 +++ b/configure Thu Apr 30 21:24:05 2015 -0500 @@ -29865,14 +29865,14 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSVersion" >&5 $as_echo "$GSVersion" >&6; } - # GSColorDevice + # GSColorDevice # AS_MESSAGE_LOG_FD { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gs color device" >&5 $as_echo_n "checking for gs color device... " >&6; } - if $PSDelegate -q -dBATCH -sDEVICE=pnmraw -sOutputFile=/dev/null < /dev/null 2> /dev/null + if $PSDelegate -q -dBATCH -sDEVICE=pnmraw -sOutputFile=/dev/null < /dev/null 1>&5 2>&5 then GSColorDevice=pnmraw else - if $PSDelegate -q -dBATCH -sDEVICE=ppmraw -sOutputFile=/dev/null < /dev/null 2> /dev/null + if $PSDelegate -q -dBATCH -sDEVICE=ppmraw -sOutputFile=/dev/null < /dev/null 1>&5 2>&5 then GSColorDevice=ppmraw else @@ -29885,7 +29885,7 @@ # GSColorAlphaDevice { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gs color+alpha device" >&5 $as_echo_n "checking for gs color+alpha device... " >&6; } - if $PSDelegate -q -dBATCH -sDEVICE=pngalpha -sOutputFile=/dev/null < /dev/null 2> /dev/null + if $PSDelegate -q -dBATCH -sDEVICE=pngalpha -sOutputFile=/dev/null < /dev/null 1>&5 2>&5 then GSColorAlphaDevice=pngalpha else @@ -29897,7 +29897,7 @@ # GSGrayDevice { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gs gray device" >&5 $as_echo_n "checking for gs gray device... " >&6; } - if $PSDelegate -q -dBATCH -sDEVICE=pgmraw -sOutputFile=/dev/null < /dev/null 2> /dev/null + if $PSDelegate -q -dBATCH -sDEVICE=pgmraw -sOutputFile=/dev/null < /dev/null 1>&5 2>&5 then GSGrayDevice=pgmraw else @@ -29909,7 +29909,7 @@ # GSPaletteDevice { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gs pallet device" >&5 $as_echo_n "checking for gs pallet device... " >&6; } - if $PSDelegate -q -dBATCH -sDEVICE=pcx256 -sOutputFile=/dev/null < /dev/null 2> /dev/null + if $PSDelegate -q -dBATCH -sDEVICE=pcx256 -sOutputFile=/dev/null < /dev/null 1>&5 2>&5 then GSPaletteDevice=pcx256 else @@ -29921,7 +29921,7 @@ # GSMonoDevice { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gs mono device" >&5 $as_echo_n "checking for gs mono device... " >&6; } - if $PSDelegate -q -dBATCH -sDEVICE=pbmraw -sOutputFile=/dev/null < /dev/null 2> /dev/null + if $PSDelegate -q -dBATCH -sDEVICE=pbmraw -sOutputFile=/dev/null < /dev/null 1>&5 2>&5 then GSMonoDevice=pbmraw else @@ -29936,7 +29936,7 @@ GSCMYKDevice=$GSColorDevice for device in $GSCMYKDevices do - if $PSDelegate -q -dBATCH -sDEVICE=$device -sOutputFile=/dev/null < /dev/null 2> /dev/null + if $PSDelegate -q -dBATCH -sDEVICE=$device -sOutputFile=/dev/null < /dev/null 1>&5 2>&5 then GSCMYKDevice=$device break @@ -29948,7 +29948,7 @@ # GSPDFDevice { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gs PDF writing device" >&5 $as_echo_n "checking for gs PDF writing device... " >&6; } - if $PSDelegate -q -dBATCH -sDEVICE=pdfwrite -sOutputFile=/dev/null < /dev/null 2> /dev/null + if $PSDelegate -q -dBATCH -sDEVICE=pdfwrite -sOutputFile=/dev/null < /dev/null 1>&5 2>&5 then GSPDFDevice=pdfwrite else @@ -29960,7 +29960,7 @@ # GSPSDevice { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gs PS writing device" >&5 $as_echo_n "checking for gs PS writing device... " >&6; } - if $PSDelegate -q -dBATCH -sDEVICE=pswrite -sOutputFile=/dev/null < /dev/null 2> /dev/null + if $PSDelegate -q -dBATCH -sDEVICE=pswrite -sOutputFile=/dev/null < /dev/null 1>&5 2>&5 then GSPSDevice=pswrite else @@ -29972,7 +29972,7 @@ # GSEPSDevice { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gs EPS writing device" >&5 $as_echo_n "checking for gs EPS writing device... " >&6; } - if $PSDelegate -q -dBATCH -sDEVICE=epswrite -sOutputFile=/dev/null < /dev/null 2> /dev/null + if $PSDelegate -q -dBATCH -sDEVICE=epswrite -sOutputFile=/dev/null < /dev/null 1>&5 2>&5 then GSEPSDevice=epswrite else diff -r fc0f747f759d -r 21ad2effc0cb configure.ac --- a/configure.ac Thu Apr 30 21:03:26 2015 -0500 +++ b/configure.ac Thu Apr 30 21:24:05 2015 -0500 @@ -3044,13 +3044,13 @@ fi AC_MSG_RESULT($GSVersion) - # GSColorDevice + # GSColorDevice # AS_MESSAGE_LOG_FD AC_MSG_CHECKING([for gs color device]) - if $PSDelegate -q -dBATCH -sDEVICE=pnmraw -sOutputFile=/dev/null < /dev/null 2> /dev/null + if $PSDelegate -q -dBATCH -sDEVICE=pnmraw -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD then GSColorDevice=pnmraw else - if $PSDelegate -q -dBATCH -sDEVICE=ppmraw -sOutputFile=/dev/null < /dev/null 2> /dev/null + if $PSDelegate -q -dBATCH -sDEVICE=ppmraw -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD then GSColorDevice=ppmraw else @@ -3061,7 +3061,7 @@ # GSColorAlphaDevice AC_MSG_CHECKING([for gs color+alpha device]) - if $PSDelegate -q -dBATCH -sDEVICE=pngalpha -sOutputFile=/dev/null < /dev/null 2> /dev/null + if $PSDelegate -q -dBATCH -sDEVICE=pngalpha -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD then GSColorAlphaDevice=pngalpha else @@ -3071,7 +3071,7 @@ # GSGrayDevice AC_MSG_CHECKING([for gs gray device]) - if $PSDelegate -q -dBATCH -sDEVICE=pgmraw -sOutputFile=/dev/null < /dev/null 2> /dev/null + if $PSDelegate -q -dBATCH -sDEVICE=pgmraw -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD then GSGrayDevice=pgmraw else @@ -3081,7 +3081,7 @@ # GSPaletteDevice AC_MSG_CHECKING([for gs pallet device]) - if $PSDelegate -q -dBATCH -sDEVICE=pcx256 -sOutputFile=/dev/null < /dev/null 2> /dev/null + if $PSDelegate -q -dBATCH -sDEVICE=pcx256 -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD then GSPaletteDevice=pcx256 else @@ -3091,7 +3091,7 @@ # GSMonoDevice AC_MSG_CHECKING([for gs mono device]) - if $PSDelegate -q -dBATCH -sDEVICE=pbmraw -sOutputFile=/dev/null < /dev/null 2> /dev/null + if $PSDelegate -q -dBATCH -sDEVICE=pbmraw -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD then GSMonoDevice=pbmraw else @@ -3104,7 +3104,7 @@ GSCMYKDevice=$GSColorDevice for device in $GSCMYKDevices do - if $PSDelegate -q -dBATCH -sDEVICE=$device -sOutputFile=/dev/null < /dev/null 2> /dev/null + if $PSDelegate -q -dBATCH -sDEVICE=$device -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD then GSCMYKDevice=$device break @@ -3114,7 +3114,7 @@ # GSPDFDevice AC_MSG_CHECKING([for gs PDF writing device]) - if $PSDelegate -q -dBATCH -sDEVICE=pdfwrite -sOutputFile=/dev/null < /dev/null 2> /dev/null + if $PSDelegate -q -dBATCH -sDEVICE=pdfwrite -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD then GSPDFDevice=pdfwrite else @@ -3124,7 +3124,7 @@ # GSPSDevice AC_MSG_CHECKING([for gs PS writing device]) - if $PSDelegate -q -dBATCH -sDEVICE=pswrite -sOutputFile=/dev/null < /dev/null 2> /dev/null + if $PSDelegate -q -dBATCH -sDEVICE=pswrite -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD then GSPSDevice=pswrite else @@ -3134,7 +3134,7 @@ # GSEPSDevice AC_MSG_CHECKING([for gs EPS writing device]) - if $PSDelegate -q -dBATCH -sDEVICE=epswrite -sOutputFile=/dev/null < /dev/null 2> /dev/null + if $PSDelegate -q -dBATCH -sDEVICE=epswrite -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD then GSEPSDevice=epswrite else diff -r fc0f747f759d -r 21ad2effc0cb www/Changelog.html --- a/www/Changelog.html Thu Apr 30 21:03:26 2015 -0500 +++ b/www/Changelog.html Thu Apr 30 21:24:05 2015 -0500 @@ -38,6 +38,8 @@ <p>2015-04-30 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> <blockquote> <ul class="simple"> +<li>configure.ac: Keep Ghostscript gibberish from appearing in +Configure output.</li> <li>coders/miff.c (WriteRunlengthPacket): Quiet Coverity 10186 and 10214 "Missing break in switch".</li> <li>magick/pixel_cache.c (GetCacheInfo): Quiet Coverity 10208 "Data |