This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository cups-x2go. commit f1afed2f68508663c8c202a7cd31f356d6a63fe1 Author: Mihai Moldovan <ionic@ionic.de> Date: Wed Jun 17 19:50:58 2015 +0200 cups-x2go: delete PDF and title temporary files automatically. --- cups-x2go | 4 ++-- debian/changelog | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cups-x2go b/cups-x2go index db2043b..ff0cee5 100755 --- a/cups-x2go +++ b/cups-x2go @@ -246,7 +246,7 @@ for (my $i = 0; $i < @ps2pdf_args; ++$i) { syslog('info', "Converting printjob with command: $ps2pdf_cmd " . join (" ", @ps2pdf_args) . "\n"); -my ($pdf_fh, $pdfFile) = tempfile ($pdf_template, TMPDIR => 1); +my ($pdf_fh, $pdfFile) = tempfile ($pdf_template, UNLINK => 1, TMPDIR => 1); # the TMPDIR env var is needed for ghostscript... $ENV{TMPDIR}="/tmp"; @@ -313,7 +313,7 @@ syslog('debug', "cups-x2go processed postscript file $psFile to $pdfFile"); # after we have created the PDF from CUPS's PS file, we can drop the PS file unlink ($psFile); -my ($title_fh, $titleFile) = tempfile ($title_template, TMPDIR => 1); +my ($title_fh, $titleFile) = tempfile ($title_template, UNLINK => 1, TMPDIR => 1); print $title_fh $jobTitle; close ($title_fh); diff --git a/debian/changelog b/debian/changelog index aabb3a0..52caaa7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -19,6 +19,7 @@ cups-x2go (3.0.1.3-0x2go1) UNRELEASED; urgency=low - cups-x2go: read data from GS and STDIN in chunks of 8 kbytes, instead of everything at once. Handles large print jobs gracefully. - cups-x2go: add parentheses to close() calls. + - cups-x2go: delete PDF and title temporary files automatically. * debian/control: - Add dependencies on perl-modules for core modules and ${perl:Depends} for perl itself. -- Alioth's /srv/git/code.x2go.org/cups-x2go.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/cups-x2go.git