From 46a13bf675c5f735da1c7af267403e022c5b2dce Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Aug 18 2009 16:51:18 +0000 Subject: - Use 'exec' to invoke ghostscript in the pstoraster filter. This allows the SIGTERM signal to reach the correct process, as well as conserving memory (part of bug #518026). --- diff --git a/cups.spec b/cups.spec index 6de69d5..83fb951 100644 --- a/cups.spec +++ b/cups.spec @@ -10,7 +10,7 @@ Summary: Common Unix Printing System Name: cups Version: 1.4 -Release: 0.%{pre}.15%{?dist} +Release: 0.%{pre}.16%{?dist} License: GPLv2 Group: System Environment/Daemons Source: ftp://ftp.easysw.com/pub/cups/test//cups-%{version}%{?pre}%{?svn}-source.tar.bz2 @@ -528,6 +528,11 @@ rm -rf $RPM_BUILD_ROOT %{php_extdir}/phpcups.so %changelog +* Tue Aug 18 2009 Tim Waugh 1:1.4-0.rc1.16 +- Use 'exec' to invoke ghostscript in the pstoraster filter. This + allows the SIGTERM signal to reach the correct process, as well as + conserving memory (part of bug #518026). + * Tue Aug 11 2009 Tim Waugh 1:1.4-0.rc1.15 - Avoid empty BrowseLocalProtocols setting (bug #516460, STR #3287). diff --git a/pstoraster b/pstoraster index 67e12a0..313baa6 100644 --- a/pstoraster +++ b/pstoraster @@ -52,7 +52,7 @@ else fi # Now run Ghostscript... -$bindir/gs $gsopts -sOUTPUTFILE="%stdout" $profile $ifile +exec $bindir/gs $gsopts -sOUTPUTFILE="%stdout" $profile $ifile # # End of "$Id: pstoraster.in,v 1.3 2002/05/12 00:46:34 easysw Exp $".