Subject: CVS commit: pkgsrc/lang/bwbasic
To: None <pkgsrc-changes@NetBSD.org>
From: Quentin Garnier <cube@netbsd.org>
List: pkgsrc-changes
Date: 08/09/2004 21:41:23
Module Name: pkgsrc
Committed By: cube
Date: Mon Aug 9 21:41:23 UTC 2004
Modified Files:
pkgsrc/lang/bwbasic: Makefile distinfo
Log Message:
Update to version 2.20pl2, as hinted by Roland Illig in PR 26577. While
here, find a new fetch site since the previous one didn't work any more.
Patch1:
bwb_cnd.c
Moved init routine for bwb_while so that it would be initialized regardless
of expression value, not just if TRUE. This was causing some segmentation
faults in WHILE-WEND loops.
bwb_elx.c
Plugged gaping memory leak. Temp variable space for expression evaluation
was being allocated but not freed when done (oops!).
bwb_fnc.c
Added check for NULL return from getenv to prevent segmentation faults.
Patch2:
bwb_cmd.c
Fixed calling stack level logic in RETURN statement to prevent erroneous
"RETURN without GOSUB" messages.
bwb_cnd.c
bwb_stc.c
Changed continuation condition for WHILE, ELSEIF, and LOOP UNTIL
to be != FALSE, not == TRUE. More in line with common commercial
BASIC implementations.
bwb_mth.c
Fixed initialization in VAL function so that old results are not later
returned as values.
bwb_var.c
Added parenthesis level checking to dim_getparams. Using multi-level
expressions as array subscripts was causing the program to bomb.
bwx_iqc.c
bwx_tty.c
bwb_mes.h
Added second copyright notice.
bwb_dio.c
bwb_str.c
Added support for strings longer than 255 characters.
bwb_prn.c
Disabled tab expansion and print width checks when not printing to a file.
bwb_inp.c
Fixed LINE INPUT file reads to accommodate strings of length MAXSTRINGSIZE.
bwx_ncu.h
bwx_ncu.c
New files. Code for UNIX ncurses interface, compliments of L.C. Benschop,
Eindhoven, The Netherlands.
Makefile.ncu
New files. Sample makefile for ncurses implementation.
bwbasic.h
Revised defines for MININTSIZE and MAXINTSIZE from 16-bit to 32-bit limits.
Revised define for MAXSTRINGSIZE from 255 to 5000 characters.
Changed string length from unsigned char to unsigned int to support strings
longer than 255 characters.
Added support for new ncurses package.
Revised VERSION define to reflect above changes.
To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 pkgsrc/lang/bwbasic/Makefile
cvs rdiff -r1.3 -r1.4 pkgsrc/lang/bwbasic/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.