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:
b8d3c5d
)
Slight tweak of the code to appease Amdahl UTS cc.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Fri, 13 Oct 2000 15:15:20 +0000
(15:15 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Fri, 13 Oct 2000 15:15:20 +0000
(15:15 +0000)
p4raw-id: //depot/perl@7218
pp.c
patch
|
blob
|
history
diff --git
a/pp.c
b/pp.c
index
8877d8a
..
389d12b
100644
(file)
--- a/
pp.c
+++ b/
pp.c
@@
-4812,8
+4812,9
@@
PP(pp_pack)
do {
double next = floor(adouble / 128);
*--in = (unsigned char)(adouble - (next * 128)) | 0x80;
- if (
--in <
buf) /* this cannot happen ;-) */
+ if (
in <=
buf) /* this cannot happen ;-) */
DIE(aTHX_ "Cannot compress integer");
+ in--;
adouble = next;
} while (adouble > 0);
buf[sizeof(buf) - 1] &= 0x7f; /* clear continue bit */