This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository cups-x2go. commit 7d4b06754c9f1aaf49ab0a2f0f931ca568232694 Author: Mihai Moldovan <ionic@ionic.de> Date: Tue Jun 16 02:18:34 2015 +0200 cups-x2go: use parentheses around function arguments. --- cups-x2go | 8 ++++---- debian/changelog | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/cups-x2go b/cups-x2go index 76f6bdb..018e027 100755 --- a/cups-x2go +++ b/cups-x2go @@ -231,14 +231,14 @@ $ENV{TMPDIR}="/tmp"; my ($gs_out, $gs_in, $wait_ret, $real_ret); my $gs_pid = open2 ($gs_out, $gs_in, $ps2pdf_cmd, @ps2pdf_args); -binmode $gs_out :raw; +binmode ($gs_out, :raw); -close $gs_in; +close ($gs_in); # Force readline to not read "lines", but raw data. Get all output from ghostscript. my $gs_out_data = do { local $/; readline ($gs_out) }; -close $gs_out; +close ($gs_out); waitpid ($gs_pid, 0); @@ -269,7 +269,7 @@ if ($conv_fail) { syslog('debug', "cups-x2go processed postscript file $psFile to $pdfFile"); -print $pdf_fh $gs_out_data; +print ($pdf_fh, $gs_out_data); close ($pdf_fh); # after we have created the PDF from CUPS's PS file, we can drop the PS file diff --git a/debian/changelog b/debian/changelog index 64fe153..2203f08 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,7 @@ cups-x2go (3.0.1.3-0x2go1) UNRELEASED; urgency=low - cups-x2go: read output from ghostscript, don't write a filehandle to the temporary file. Fixes a hanging ghostscript call and... well... random junk, instead of a "real" PDF file. + - cups-x2go: use parentheses around function arguments. * 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