This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f6e8d9
)
Re: [ID 20011127.155] \ -f "file" dumps core
author
Michael G. Schwern
<schwern@pobox.com>
Tue, 27 Nov 2001 15:31:12 +0000
(10:31 -0500)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 28 Nov 2001 00:34:12 +0000
(
00:34
+0000)
Message-ID: <
20011127153112
.G20929@blackrider>
p4raw-id: //depot/perl@13328
t/run/kill_perl.t
patch
|
blob
|
blame
|
history
diff --git
a/t/run/kill_perl.t
b/t/run/kill_perl.t
index
9f20360
..
306a743
100644
(file)
--- a/
t/run/kill_perl.t
+++ b/
t/run/kill_perl.t
@@
-809,3
+809,9
@@
read($bla, FILE, 1);
EXPECT
Can't modify constant item in read at - line 1, near "1)"
Execution of - aborted due to compilation errors.
+######## scalar ref to file test operator segfaults on 5.6.1 [ID 20011127.155]
+# This only happens if the filename is 11 characters or less.
+$foo = \-f "blah";
+print "ok" if ref $foo && !$$foo;
+EXPECT
+ok