From 1bb46fad6ff56658fbc2116ad5714775c16ce8c6 Mon Sep 17 00:00:00 2001 From: kloczek Date: Tue, 13 Jun 2000 05:09:20 +0000 Subject: [PATCH] - patch from rawhide (fix core dump on long line). Changed files: bc-longline.patch -> 1.1 --- bc-longline.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 bc-longline.patch diff --git a/bc-longline.patch b/bc-longline.patch new file mode 100644 index 0000000..b520497 --- /dev/null +++ b/bc-longline.patch @@ -0,0 +1,24 @@ +diff -uNr bc-1.05.orig/bc/scan.c bc-1.05/bc/scan.c +--- bc-1.05.orig/bc/scan.c Mon Apr 21 17:57:52 1997 ++++ bc-1.05/bc/scan.c Thu Apr 6 18:39:26 2000 +@@ -228,7 +228,7 @@ + /* Variables to help interface readline with bc. */ + static char *rl_line = (char *)NULL; + static char *rl_start = (char *)NULL; +-static char rl_len = 0; ++static int rl_len = 0; + + /* Definitions for readline access. */ + extern FILE *rl_instream; +diff -uNr bc-1.05.orig/bc/scan.l bc-1.05/bc/scan.l +--- bc-1.05.orig/bc/scan.l Mon Apr 21 17:57:00 1997 ++++ bc-1.05/bc/scan.l Thu Apr 6 18:39:14 2000 +@@ -60,7 +60,7 @@ + /* Variables to help interface readline with bc. */ + static char *rl_line = (char *)NULL; + static char *rl_start = (char *)NULL; +-static char rl_len = 0; ++static int rl_len = 0; + + /* Definitions for readline access. */ + extern FILE *rl_instream; -- 2.44.0