summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-08-17 14:50:36 +0000
committerSteve Peters <steve@fisharerojo.org>2006-08-17 14:50:36 +0000
commit063df69cb51d4f97ff5708b58e83b514bdd27cb7 (patch)
tree2d04fc6ffb5e9956b0a116300103a11c62f00aef /proto.h
parent7ec40f37ce4eb8552b6149cba97968e51cedac3a (diff)
downloadperl-063df69cb51d4f97ff5708b58e83b514bdd27cb7.tar.gz
gcc-4.1.1 on Fedora optimized away NULL chacks in Perl_do_close(),
which caused core dumps. p4raw-id: //depot/perl@28731
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/proto.h b/proto.h
index b73bd7056c..4d8e91baf6 100644
--- a/proto.h
+++ b/proto.h
@@ -405,9 +405,7 @@ PERL_CALLCONV void Perl_do_chop(pTHX_ SV* asv, SV* sv)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2);
-PERL_CALLCONV bool Perl_do_close(pTHX_ GV* gv, bool not_implicit)
- __attribute__nonnull__(pTHX_1);
-
+PERL_CALLCONV bool Perl_do_close(pTHX_ GV* gv, bool not_implicit);
PERL_CALLCONV bool Perl_do_eof(pTHX_ GV* gv)
__attribute__nonnull__(pTHX_1);