projects
/
invirt/scripts/munin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
555e966
)
Pesky Perl output buffering
author
Quentin Smith
<quentin@mit.edu>
Wed, 29 Dec 2010 17:39:44 +0000
(12:39 -0500)
committer
Quentin Smith
<quentin@mit.edu>
Wed, 29 Dec 2010 17:39:44 +0000
(12:39 -0500)
web/usage.cgi
patch
|
blob
|
history
diff --git
a/web/usage.cgi
b/web/usage.cgi
index
88d7552
..
5675e09
100755
(executable)
--- a/
web/usage.cgi
+++ b/
web/usage.cgi
@@
-84,6
+84,7
@@
sub die(@) {
$im->Read('label:'.join('', @_));
$format = 'png' unless exists($formats{$format});
$mime_type = $formats{$format};
+ $| = 1;
print $q->header(-type=>$mime_type);
$im->Write($format.':-');
CORE::die @_;