public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0b23bb
)
Bug fix
author
ceriel
<none@none>
Thu, 5 Feb 1987 20:39:11 +0000
(20:39 +0000)
committer
ceriel
<none@none>
Thu, 5 Feb 1987 20:39:11 +0000
(20:39 +0000)
lang/cem/libcc/gen/ecvt.c
patch
|
blob
|
history
diff --git
a/lang/cem/libcc/gen/ecvt.c
b/lang/cem/libcc/gen/ecvt.c
index
f354853
..
0217eb1
100644
(file)
--- a/
lang/cem/libcc/gen/ecvt.c
+++ b/
lang/cem/libcc/gen/ecvt.c
@@
-78,7
+78,7
@@
cvt(value, ndigit, decpt, sign, ecvtflag)
fractpart = modf(fractpart * 10, &value);
*pb++ = (int)value + '0';
}
- p
e = pb
;
+ p
b = pe
;
*pb += 5; /* round of at the end */
while (*pb > '9') {
*pb = '0';