projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a661e7
)
Report /pro/3gl/CPAN/perl-5.7.1
author
H.M. Brand
<merijn@l1.procura.nl>
Mon, 2 Jul 2001 11:18:57 +0000
(13:18 +0200)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Mon, 2 Jul 2001 13:03:44 +0000
(13:03 +0000)
Message-Id: <
20010702100811
.4999.MERIJN@l1.procura.nl>
p4raw-id: //depot/perl@11078
t/op/write.t
patch
|
blob
|
history
diff --git
a/t/op/write.t
b/t/op/write.t
index
ac6c035
..
a2b5c1c
100755
(executable)
--- a/
t/op/write.t
+++ b/
t/op/write.t
@@
-289,7
+289,9
@@
my $tm = 1; # Top margin (empty lines before first output)
my $bm = 2; # Bottom marging (empty lines between last text and footer)
my $lm = 4; # Left margin (indent in spaces)
+select ((select (STDOUT), $| = 1)[0]);
if ($lm > 0 and !open STDOUT, "|-") { # Left margin (in this test ALWAYS set)
+ select ((select (STDOUT), $| = 1)[0]);
my $i = 12;
my $s = " " x $lm;
while (<STDIN>) {