]> git.pld-linux.org Git - packages/bc.git/commitdiff
- patch from rawhide (fix core dump on long line). bc-1_05a-13
authorkloczek <kloczek@pld-linux.org>
Tue, 13 Jun 2000 05:09:20 +0000 (05:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bc-longline.patch -> 1.1

bc-longline.patch [new file with mode: 0644]

diff --git a/bc-longline.patch b/bc-longline.patch
new file mode 100644 (file)
index 0000000..b520497
--- /dev/null
@@ -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;
This page took 0.065188 seconds and 4 git commands to generate.