projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76ddc2e
)
dc: fix the "base 2" patch omission of base not being set
author
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 30 Dec 2008 10:40:05 +0000
(10:40 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 30 Dec 2008 10:40:05 +0000
(10:40 -0000)
miscutils/dc.c
patch
|
blob
|
history
diff --git
a/miscutils/dc.c
b/miscutils/dc.c
index 6d4efa9432e272ec5391c6b1c64775266d311488..ff2bc3bcef6869eacb8be7799cc97657b65e5d13 100644
(file)
--- a/
miscutils/dc.c
+++ b/
miscutils/dc.c
@@
-19,7
+19,9
@@
enum { STACK_SIZE = (COMMON_BUFSIZE - offsetof(struct globals, stack)) / sizeof(
#define pointer (G.pointer )
#define base (G.base )
#define stack (G.stack )
-#define INIT_G() do { } while (0)
+#define INIT_G() do { \
+ base = 10; \
+} while (0)
static void push(double a)