[Swift-commit] cog r3680

swift at ci.uchicago.edu swift at ci.uchicago.edu
Wed Jul 3 22:35:02 CDT 2013


------------------------------------------------------------------------
r3680 | hategan | 2013-07-03 22:30:59 -0500 (Wed, 03 Jul 2013) | 1 line

don't remove trailing new line when reading stdout/stderr
------------------------------------------------------------------------
Index: modules/provider-coaster/resources/worker.pl
===================================================================
--- modules/provider-coaster/resources/worker.pl	(revision 3679)
+++ modules/provider-coaster/resources/worker.pl	(working copy)
@@ -1552,7 +1552,6 @@
 		
 		open($fd, "<", $fname) or return "Error: could not open $fname";
 		while (<$fd>) {
-			chomp;
 			$content = $content . $_;
 			if (length($content) > MAX_OUT_REDIR_SIZE) {
 				close($fd);



More information about the Swift-commit mailing list