[X2Go-Commits] [cups-x2go] 01/01: cups-x2go: there is no continue in perl for stepping forward a loop.

git-admin at x2go.org git-admin at x2go.org
Thu Jun 18 17:11:20 CEST 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository cups-x2go.

commit 6a2b5a77edfe9c3f599d569f229c8134459e7aac
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Jun 18 17:10:51 2015 +0200

    cups-x2go: there is no continue in perl for stepping forward a loop.
    
    Still not. I keep forgetting that.
    Use next.
    (Partly) Fixes: #887.
---
 cups-x2go        |    4 ++--
 debian/changelog |    2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/cups-x2go b/cups-x2go
index 404d96f..b56ba8b 100755
--- a/cups-x2go
+++ b/cups-x2go
@@ -224,7 +224,7 @@ if (!$psFile)
 			}
 			else {
 				if ($!{EAGAIN} || $!{EWOULDBLOCK} || $!{EINTR}) {
-					continue;
+					next;
 				}
 				else {
 					syslog ('err', "Error while reading data from stdin: $!\n");
@@ -272,7 +272,7 @@ close ($gs_in);
 		}
 		else {
 			if ($!{EAGAIN} || $!{EWOULDBLOCK} || $!{EINTR}) {
-				continue;
+				next;
 			}
 			else {
 				syslog ('err', "ERROR: reading data from ps2pdf program failed: $!\n");
diff --git a/debian/changelog b/debian/changelog
index c756d05..ba28efc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,8 @@ cups-x2go (3.0.1.3-0x2go1) UNRELEASED; urgency=low
       the END block.
     - cups-x2go: don't use unlink() explicitly. Trust File::Temp and our END
       block to clean up correctly.
+    - cups-x2go: there is no continue in perl for stepping forward a loop.
+      Still not. I keep forgetting that. Use next. (Partly) Fixes: #887.
   * 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


More information about the x2go-commits mailing list