Ar an t-ochtú lá de mí Deireadh Fómhair, scríobh Michael Sperber:
This one:
changeset: 6311:19876e056bb7
user: Aidan Kehoe <kehoea(a)parhasard.net>
date: Thu Oct 05 00:08:17 2017 +0100
summary: Be more realistic, #'char-to-unicode, #'make-char
... breaks the build for me:
Compiling
/afs/deinprogramm.de/home/sperber/build/xemacs-beta/lisp/mule/mule-category.el...
Fatal error: assertion failed, file text.c, line 1706, chr < 256
Fatal error (6).
[...]
Any ideas?
Whoops, the sense of an assertion was the wrong way around. Thanks, Mike.
APPROVE COMMIT
NOTE: This patch has been committed.
# HG changeset patch
# User Aidan Kehoe <kehoea(a)parhasard.net>
# Date 1507534237 -3600
# Mon Oct 09 08:30:37 2017 +0100
# Node ID d986eee8b74633db8cfee3ded33cde9de38802e3
# Parent 4ae34c21a927f5fc72839592ed99e960d7538d10
Correct the sense of an assertion, old_mule_ichar_to_unicode()
2017-10-09 Aidan Kehoe <kehoea(a)parhasard.net>
* text.c (old_mule_ichar_to_unicode):
Correct the sense of an assertion here, thank you Mike Sperber!
diff -r 4ae34c21a927 -r d986eee8b746 src/ChangeLog
--- a/src/ChangeLog Sat Oct 07 09:30:37 2017 +0100
+++ b/src/ChangeLog Mon Oct 09 08:30:37 2017 +0100
@@ -4,6 +4,11 @@
Qunbound isn't a symbol, don't check for it once we've verified
ORIGINAL_FUN is a symbol.
+2017-10-09 Aidan Kehoe <kehoea(a)parhasard.net>
+
+ * text.c (old_mule_ichar_to_unicode):
+ Correct the sense of an assertion here, thank you Mike Sperber!
+
2017-10-06 Aidan Kehoe <kehoea(a)parhasard.net>
* lisp.h:
diff -r 4ae34c21a927 -r d986eee8b746 src/text.c
--- a/src/text.c Sat Oct 07 09:30:37 2017 +0100
+++ b/src/text.c Mon Oct 09 08:30:37 2017 +0100
@@ -1703,7 +1703,8 @@
old_mule_ichar_to_unicode (Ichar chr, enum converr fail)
{
ASSERT_VALID_ICHAR (chr);
- text_checking_assert (chr < 256);
+ text_checking_assert (chr >= 256); /* The inline function should handle
+ ASCII, control-1, Latin 1. */
{
int c1, c2;
Lisp_Object charset;
--
‘As I sat looking up at the Guinness ad, I could never figure out /
How your man stayed up on the surfboard after forty pints of stout’
(C. Moore)