[Commit] nickle ChangeLog, 1.6, 1.7 compile.c, 1.143, 1.144 value.h, 1.94, 1.95 version.m4, 1.4, 1.5

Keith Packard commit at keithp.com
Thu Dec 4 21:06:17 PST 2003


Committed by: keithp

Update of /local/src/CVS/nickle
In directory evo:/local/src/nickle

Modified Files:
	ChangeLog compile.c value.h version.m4 
Log Message:
	* compile.c: (CompileBuildArray):
	Oops.  Dropped an obj return value, potentially losing instructions.
	Caused a crash as the value stack was corrupted.
	* value.h:
	use unsigned bitfields for array ndim/resizable
	* version.m4:


Index: ChangeLog
===================================================================
RCS file: /local/src/CVS/nickle/ChangeLog,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- ChangeLog	25 Oct 2003 19:00:33 -0000	1.6
+++ ChangeLog	5 Dec 2003 05:06:13 -0000	1.7
@@ -1,3 +1,12 @@
+2003-12-04  Keith Packard  <keithp at keithp.com>
+
+	* compile.c: (CompileBuildArray):
+	Oops.  Dropped an obj return value, potentially losing instructions.
+	Caused a crash as the value stack was corrupted.
+	* value.h:
+	use unsigned bitfields for array ndim/resizable
+	* version.m4:
+
 2003-10-25  Keith Packard  <keithp at keithp.com>
 
 	* Makefile.am:

Index: compile.c
===================================================================
RCS file: /local/src/CVS/nickle/compile.c,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -d -r1.143 -r1.144
--- compile.c	25 Oct 2003 19:00:33 -0000	1.143
+++ compile.c	5 Dec 2003 05:06:13 -0000	1.144
@@ -1319,7 +1319,7 @@
     }
     else
     {
-	CompileArrayDimValue (obj, type, False, stat, code);
+	obj = CompileArrayDimValue (obj, type, False, stat, code);
 	BuildInst (obj, OpBuildArrayInd, inst, stat);
     }
     inst->array.ndim = ndim;

Index: value.h
===================================================================
RCS file: /local/src/CVS/nickle/value.h,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- value.h	13 Oct 2003 05:08:41 -0000	1.94
+++ value.h	5 Dec 2003 05:06:13 -0000	1.95
@@ -546,8 +546,8 @@
 
 typedef struct _array {
     BaseValue	base;
-    int		resizable : 1;
-    int		ndim : (sizeof (int) * 8 - 1);
+    unsigned int	resizable : 1;
+    unsigned int	ndim : (sizeof (int) * 8 - 1);
     BoxPtr	values;
 } Array;
 

Index: version.m4
===================================================================
RCS file: /local/src/CVS/nickle/version.m4,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- version.m4	25 Oct 2003 19:00:33 -0000	1.4
+++ version.m4	5 Dec 2003 05:06:13 -0000	1.5
@@ -1,7 +1,7 @@
 dnl This file is maintained automatically by update-version.sh
 dnl The file format is finicky, so do not hand-edit lightly.
-dnl Last updated Sat Oct 25 11:54:45 PDT 2003
+dnl Last updated Thu Dec  4 10:46:45 PST 2003
 dnl CURHEADER $Header$
-dnl OLDHEADER <Header: /local/src/CVS/nickle/version.m4,v 1.3 2003/10/15 19:28:14 bart Exp >
-dnl CURVERSION 2.23
-define([VERSION_NUMBER],[2.23])
+dnl OLDHEADER <Header: /local/src/CVS/nickle/version.m4,v 1.4 2003/10/25 19:00:33 keithp Exp >
+dnl CURVERSION 2.24
+define([VERSION_NUMBER],[2.24])




More information about the Commit mailing list