commit/XEmacs: kehoea: buffer.c, pass a character, not a fixnum, as second arg to #'make-string

[email protected] Sun, 03 Aug 2014 19:25:22 -0000
Newsgroups gmane.emacs.xemacs.patches
Message-ID <[email protected]>
1 new commit in XEmacs:

https://bitbucket.org/xemacs/xemacs/commits/8139bdf8db04/
Changeset:   8139bdf8db04
User:        kehoea
Date:        2014-08-03 21:25:03
Summary:     buffer.c, pass a character, not a fixnum, as second arg to #'make-string

src/ChangeLog addition:

2014-08-03  Aidan Kehoe  <[email protected]>

	[...]
	* buffer.c (finish_init_buffer):
	Pass a character as the second argument to #'make-string, not a
	fixnum.
Affected #:  2 files

diff -r 75435be92103f23d1905b4a3a60295164a9dd2b4 -r 8139bdf8db044f7bbd89b4c7e7bde26da6fb6b99 src/ChangeLog
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -5,6 +5,9 @@
 	Use #'make-string rather than make_uninit_string() when allocating
 	the command builder's echo_buf, avoiding having octets in the
 	string that do not correspond to valid internal-format text.
+	* buffer.c (finish_init_buffer):
+	Pass a character as the second argument to #'make-string, not a
+	fixnum.
 
 2014-07-14  Aidan Kehoe  <[email protected]>
 

diff -r 75435be92103f23d1905b4a3a60295164a9dd2b4 -r 8139bdf8db044f7bbd89b4c7e7bde26da6fb6b99 src/buffer.c
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -636,7 +636,8 @@
   init_buffer_markers (b);
   init_buffer_syntax_cache (b);
 
-  b->generated_modeline_string = Fmake_string (make_fixnum (84), make_fixnum (' '));
+  b->generated_modeline_string = Fmake_string (make_fixnum (84),
+                                               make_char (' '));
   b->modeline_extent_table = make_lisp_hash_table (20, HASH_TABLE_KEY_WEAK,
                                                    Qeq);

Repository URL: https://bitbucket.org/xemacs/xemacs/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.