aboutsummaryrefslogtreecommitdiff
path: root/lang/bwbasic
diff options
context:
space:
mode:
Diffstat (limited to 'lang/bwbasic')
-rw-r--r--lang/bwbasic/files/patch-bwbasic.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/lang/bwbasic/files/patch-bwbasic.c b/lang/bwbasic/files/patch-bwbasic.c
new file mode 100644
index 000000000000..d7cbf7d7d657
--- /dev/null
+++ b/lang/bwbasic/files/patch-bwbasic.c
@@ -0,0 +1,27 @@
+--- bwbasic.c.orig Mon Jun 3 17:28:28 2002
++++ bwbasic.c Mon Jun 3 17:33:08 2002
+@@ -32,6 +32,7 @@
+ /* NOTE: Modifications marked "JBV" were made by Jon B. Volkoff, */
+ /* 11/1995 (eidetics@cerf.net). */
+ /*---------------------------------------------------------------*/
++/* Modifications marked (GAW) were made by Garrett Wollman 2002-06-03 */
+
+ #include <stdio.h>
+ #include <ctype.h>
+@@ -51,7 +52,7 @@
+ char *bwb_ebuf; /* error buffer */
+ static char *read_line;
+ int bwb_trace = FALSE;
+-FILE *errfdevice = stderr; /* output device for error messages */
++FILE *errfdevice /* = stderr (GAW) */; /* output device for error messages */
+
+ #if HAVE_LONGJUMP
+ jmp_buf mark;
+@@ -133,6 +134,7 @@
+ static char end_buf[] = "\0";
+ #endif
+
++ errfdevice = stderr; /* XXX will just get overwritten below? (GAW)*/
+ #if INTENSIVE_DEBUG
+ prn_xprintf( stderr, "Memory Allocation Statistics:\n" );
+ prn_xprintf( stderr, "----------------------------\n" );