summaryrefslogtreecommitdiff
path: root/package/busybox/busybox-1.13.1-dc.patch
blob: 120aa27d5e211841e96b4ff818a34b8a53933ba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- busybox-1.13.1/miscutils/dc.c	Sun Nov  9 18:28:16 2008
+++ busybox-1.13.1-dc/miscutils/dc.c	Tue Dec 30 11:36:52 2008
@@ -19,7 +19,9 @@
 #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)