r4403 - trunk/src/host/envedit
werner at docs.openmoko.org
werner at docs.openmoko.org
Mon Apr 28 09:55:03 CEST 2008
Author: werner
Date: 2008-04-28 09:55:03 +0200 (Mon, 28 Apr 2008)
New Revision: 4403
Modified:
trunk/src/host/envedit/envcpp.pl
Log:
- envcpp.pl: explicitly close stdout and check for errors to catch "disk full"
conditions
Modified: trunk/src/host/envedit/envcpp.pl
===================================================================
--- trunk/src/host/envedit/envcpp.pl 2008-04-28 07:03:04 UTC (rev 4402)
+++ trunk/src/host/envedit/envcpp.pl 2008-04-28 07:55:03 UTC (rev 4403)
@@ -181,5 +181,6 @@
$line = $_;
}
}
-close FILE || die $!;
+close FILE;
print "$line\n" || die $! if defined $line;
+close STDOUT || die $!;
More information about the commitlog
mailing list