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:
c42e3e1
)
h2xs goof and a depessimization
author
Ilya Zakharevich
<ilya@math.berkeley.edu>
Wed, 19 Jan 2000 15:05:11 +0000
(10:05 -0500)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Fri, 21 Jan 2000 01:03:34 +0000
(
01:03
+0000)
Message-ID: <
20000119150511
.A22859@monk.mps.ohio-state.edu>
p4raw-id: //depot/perl@4825
utils/h2xs.PL
patch
|
blob
|
history
diff --git
a/utils/h2xs.PL
b/utils/h2xs.PL
index
ca55c0a
..
cbeffb4
100644
(file)
--- a/
utils/h2xs.PL
+++ b/
utils/h2xs.PL
@@
-956,6
+956,7
@@
END
static double
constant(char *name, int len, int arg)
{
+ errno = 0;
if (strEQ(name + $offarg, "$list->[0]")) { /* $pref removed */
#ifdef $pref$list->[0]
return $protect$pref$list->[0];
@@
-994,6
+995,9
@@
END
static double
constant$npref(char *name, int len, int arg)
{
+END
+
+ print $fh <<"END" if $npref eq '';
errno = 0;
END