tools/bc: update to 1.07
[openwrt/staging/nbd.git] / tools / bc / patches / 003-bc-fix-hang.patch
diff --git a/tools/bc/patches/003-bc-fix-hang.patch b/tools/bc/patches/003-bc-fix-hang.patch
new file mode 100644 (file)
index 0000000..ba29705
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/bc/execute.c
++++ b/bc/execute.c
+@@ -595,7 +595,7 @@ input_char (void)
+   if (in_ch == '.' || in_ch == '+' || in_ch == '-')
+     return (in_ch);
+   if (in_ch <= ' ')
+-    return (' ');
++    return (':');
+   
+   return (':');
+ }