2 new commits in XEmacs:
https://bitbucket.org/xemacs/xemacs/commits/956a15b5f50d/
Changeset: 956a15b5f50d
User: stephen_at_xemacs
Date: 2017-09-28 04:10:46+00:00
Summary: Fix crash in unicode_to_charset_codepoint_raw.
* mule-coding.c (vars_of_mule_coding):
Fix broken staticpro of Vbig5_precedence (cause of crash).
* unicode.c (vars_of_unicode):
Delete duplicated initialization of Vprecedence_array_cons_to_array.
(Defect, but probably harmless.)
Affected #: 3 files
diff -r 8dea4d0549ac0a49456d01bba96171399456c227 -r
956a15b5f50d8aa60c8f96c9af97042fcf1d2815 src/ChangeLog
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,14 @@
+2017-09-28 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ Fix crash in unicode_to_charset_codepoint_raw.
+
+ * mule-coding.c (vars_of_mule_coding):
+ Fix broken staticpro of Vbig5_precedence (cause of crash).
+
+ * unicode.c (vars_of_unicode):
+ Delete duplicated initialization of Vprecedence_array_cons_to_array.
+ (Defect, but probably harmless.)
+
2017-06-28 Aidan Kehoe <kehoea(a)parhasard.net>
* text.c (Fchar_width):
diff -r 8dea4d0549ac0a49456d01bba96171399456c227 -r
956a15b5f50d8aa60c8f96c9af97042fcf1d2815 src/mule-coding.c
--- a/src/mule-coding.c
+++ b/src/mule-coding.c
@@ -4169,7 +4169,7 @@
staticpro (&Vshift_jis_precedence);
Vbig5_precedence = Qnil;
- staticpro (&Vshift_jis_precedence);
+ staticpro (&Vbig5_precedence);
}
void
diff -r 8dea4d0549ac0a49456d01bba96171399456c227 -r
956a15b5f50d8aa60c8f96c9af97042fcf1d2815 src/unicode.c
--- a/src/unicode.c
+++ b/src/unicode.c
@@ -3999,15 +3999,12 @@
Vprecedence_array_charsets_seen_hash =
make_lisp_hash_table (20, HASH_TABLE_NON_WEAK, Qeq);
- staticpro (&Vprecedence_array_charsets_seen_hash);
- Vprecedence_array_charsets_seen_hash =
- make_lisp_hash_table (20, HASH_TABLE_NON_WEAK, Qeq);
-
staticpro (&Vprecedence_list_to_array);
Vprecedence_list_to_array =
/* The entries are lists, but for speed in lookup, we only compare
using `eq'. */
make_lisp_hash_table (20, HASH_TABLE_KEY_WEAK, Qeq);
+
staticpro (&Vprecedence_array_cons_to_array);
Vprecedence_array_cons_to_array =
/* We must compare with `equal' since we have conses. We make the table
https://bitbucket.org/xemacs/xemacs/commits/76f43a597636/
Changeset: 76f43a597636
User: stephen_at_xemacs
Date: 2017-09-28 04:47:26+00:00
Summary: Merge fix for crash in unicode_to_charset_codepoint_raw.
Affected #: 3 files
diff -r 75f4aa8ac1314dcbbdfc21602ff4084b4a0253c0 -r
76f43a5976366dda6eccf404c05780778ba1f0f7 src/ChangeLog
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,14 @@
+2017-09-28 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ Fix crash in unicode_to_charset_codepoint_raw.
+
+ * mule-coding.c (vars_of_mule_coding):
+ Fix broken staticpro of Vbig5_precedence (cause of crash).
+
+ * unicode.c (vars_of_unicode):
+ Delete duplicated initialization of Vprecedence_array_cons_to_array.
+ (Defect, but probably harmless.)
+
2017-09-25 Aidan Kehoe <kehoea(a)parhasard.net>
* data.c (Fchar_to_int):
diff -r 75f4aa8ac1314dcbbdfc21602ff4084b4a0253c0 -r
76f43a5976366dda6eccf404c05780778ba1f0f7 src/mule-coding.c
--- a/src/mule-coding.c
+++ b/src/mule-coding.c
@@ -4169,7 +4169,7 @@
staticpro (&Vshift_jis_precedence);
Vbig5_precedence = Qnil;
- staticpro (&Vshift_jis_precedence);
+ staticpro (&Vbig5_precedence);
}
void
diff -r 75f4aa8ac1314dcbbdfc21602ff4084b4a0253c0 -r
76f43a5976366dda6eccf404c05780778ba1f0f7 src/unicode.c
--- a/src/unicode.c
+++ b/src/unicode.c
@@ -4000,15 +4000,12 @@
Vprecedence_array_charsets_seen_hash =
make_lisp_hash_table (20, HASH_TABLE_NON_WEAK, Qeq);
- staticpro (&Vprecedence_array_charsets_seen_hash);
- Vprecedence_array_charsets_seen_hash =
- make_lisp_hash_table (20, HASH_TABLE_NON_WEAK, Qeq);
-
staticpro (&Vprecedence_list_to_array);
Vprecedence_list_to_array =
/* The entries are lists, but for speed in lookup, we only compare
using `eq'. */
make_lisp_hash_table (20, HASH_TABLE_KEY_WEAK, Qeq);
+
staticpro (&Vprecedence_array_cons_to_array);
Vprecedence_array_cons_to_array =
/* We must compare with `equal' since we have conses. We make the table
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.