aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bc/patches/003-bc-fix-hang.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bc/patches/003-bc-fix-hang.patch')
-rw-r--r--tools/bc/patches/003-bc-fix-hang.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/bc/patches/003-bc-fix-hang.patch b/tools/bc/patches/003-bc-fix-hang.patch
new file mode 100644
index 0000000000..ba297051e2
--- /dev/null
+++ b/tools/bc/patches/003-bc-fix-hang.patch
@@ -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 (':');
+ }