projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Retract #17428, not needed in this version of File::Spec.
[p5sagit/p5-mst-13.2.git]
/
pp.c
diff --git
a/pp.c
b/pp.c
index
ae29d79
..
7fa9c06
100644
(file)
--- a/
pp.c
+++ b/
pp.c
@@
-956,6
+956,8
@@
PP(pp_pow)
result *= base;
/* Only bother to clear the bit if it is set. */
power &= ~bit;
+ /* Avoid squaring base again if we're done. */
+ if (power == 0) break;
}
}
SP--;