summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES3
-rw-r--r--emu/port/main.c6
-rw-r--r--include/version.h2
3 files changed, 9 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 91fd55eb..b6cce514 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,8 @@
+20070228
+ make array bounds checking the default for on-the-fly compilers (emu/port/main.c)
20070227
/include/fcall.h: ensure unsigned promotion to counter ansi sign-extending rules for GBIT64
+ /libmemdraw/draw.c: copy fix to memfillcolor
20070220
add 0x92 as chip ID for ether91c111.c
20070217
diff --git a/emu/port/main.c b/emu/port/main.c
index f4cb9490..35f2a7ec 100644
--- a/emu/port/main.c
+++ b/emu/port/main.c
@@ -20,6 +20,7 @@ extern int mflag;
char *eve;
int Xsize = 640;
int Ysize = 480;
+ int bflag = 1;
int sflag;
int qflag;
int xtblbit;
@@ -126,9 +127,12 @@ option(int argc, char *argv[], void (*badusage)(void))
if (geom(EARGF(badusage())) == 0)
badusage();
break;
- case 'b': /* jit array bounds checking */
+ case 'b': /* (obsolete) jit array bounds checking */
bflag = 1;
break;
+ case 'B': /* suppress jit array bounds checks */
+ bflag = 0;
+ break;
case 'c': /* Compile on the fly */
cp = EARGF(badusage());
if (!isnum(cp))
diff --git a/include/version.h b/include/version.h
index 62d5bc0c..7b71e4c5 100644
--- a/include/version.h
+++ b/include/version.h
@@ -1 +1 @@
-#define VERSION "Fourth Edition (20070227)"
+#define VERSION "Fourth Edition (20070228)"