CVS update by aidan xemacs/src ...
xemacs-cvs at xemacs.org
xemacs-cvs at xemacs.org
Tue Nov 28 11:09:49 EST 2006
User: aidan
Date: 06/11/28 17:09:49
Modified: xemacs/src ChangeLog doprnt.c
Log:
Ibyte -> Ascbyte for constants, for the sake of the MSVC build.
Revision Changes Path
1.1021 +5 -0 XEmacs/xemacs/src/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/ChangeLog,v
retrieving revision 1.1020
retrieving revision 1.1021
diff -u -p -r1.1020 -r1.1021
--- ChangeLog 2006/11/28 13:01:27 1.1020
+++ ChangeLog 2006/11/28 16:09:45 1.1021
@@ -1,6 +1,11 @@
2006-11-28 Aidan Kehoe <kehoea at parhasard.net>
* doprnt.c (emacs_doprnt_1):
+ Ibyte -> Ascbyte, for the sake of the MSVC build. Thank you Vin.
+
+2006-11-28 Aidan Kehoe <kehoea at parhasard.net>
+
+ * doprnt.c (emacs_doprnt_1):
Integrate Sebastian Freundt's SXEmacs bug fix for cases where a
format specifier overflows the allocated buffer with a float
format string.
1.32 +3 -3 XEmacs/xemacs/src/doprnt.c
Index: doprnt.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/doprnt.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -p -r1.31 -r1.32
--- doprnt.c 2006/11/28 13:01:29 1.31
+++ doprnt.c 2006/11/28 16:09:47 1.32
@@ -776,9 +776,9 @@ emacs_doprnt_1 (Lisp_Object stream, cons
#endif /* HAVE_BIGFLOAT */
else
{
- Ibyte *text_to_print = alloca_array (char, 350);
- Ibyte constructed_spec[100];
- Ibyte *p = constructed_spec;
+ Ascbyte *text_to_print = alloca_array (char, 350);
+ Ascbyte constructed_spec[100];
+ Ascbyte *p = constructed_spec;
/* Mostly reconstruct the spec and use sprintf() to
format the string. */
More information about the XEmacs-CVS
mailing list