Mercurial > hg > xemacs-beta
diff src/data.c @ 771:943eaba38521
[xemacs-hg @ 2002-03-13 08:51:24 by ben]
The big ben-mule-21-5 check-in!
Various files were added and deleted. See CHANGES-ben-mule.
There are still some test suite failures. No crashes, though.
Many of the failures have to do with problems in the test suite itself
rather than in the actual code. I'll be addressing these in the next
day or so -- none of the test suite failures are at all critical.
Meanwhile I'll be trying to address the biggest issues -- i.e. build
or run failures, which will almost certainly happen on various platforms.
All comments should be sent to ben@xemacs.org -- use a Cc: if necessary
when sending to mailing lists. There will be pre- and post- tags,
something like
pre-ben-mule-21-5-merge-in, and
post-ben-mule-21-5-merge-in.
author | ben |
---|---|
date | Wed, 13 Mar 2002 08:54:06 +0000 |
parents | fdefd0186b75 |
children | e38acbeb1cae |
line wrap: on
line diff
--- a/src/data.c Fri Mar 08 13:33:14 2002 +0000 +++ b/src/data.c Wed Mar 13 08:54:06 2002 +0000 @@ -31,12 +31,7 @@ #include "buffer.h" #include "bytecode.h" #include "syssignal.h" - -#ifdef LISP_FLOAT_TYPE -/* Need to define a differentiating symbol -- see sysfloat.h */ -# define THIS_FILENAME data_c -# include "sysfloat.h" -#endif /* LISP_FLOAT_TYPE */ +#include "sysfloat.h" Lisp_Object Qnil, Qt, Qquote, Qlambda, Qunbound; Lisp_Object Qerror_conditions, Qerror_message; @@ -368,10 +363,10 @@ */ (subr)) { - const char *prompt; + const CIntbyte *prompt; CHECK_SUBR (subr); prompt = XSUBR (subr)->prompt; - return prompt ? list2 (Qinteractive, build_string (prompt)) : Qnil; + return prompt ? list2 (Qinteractive, build_msg_string (prompt)) : Qnil; } @@ -768,6 +763,7 @@ if (idx < 0) goto range_error; + CHECK_LISP_WRITEABLE (array); if (VECTORP (array)) { if (idx >= XVECTOR_LENGTH (array)) goto range_error;