[AC] Re: [Failure] XEmacs 21.5-b28 "fuki" (+CVS-20071002) i586-pc-win32

Didier Verna didier at xemacs.org
Wed Oct 3 17:31:44 EDT 2007


NOTE: This patch has been committed. The version below is
informational only (whitespace differences have been removed).


Adrian Aichner wrote:

> Builds fine but crashes in
> make check-temacs
> and
> make check
> Fatal error: assertion failed, file c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5-clean\src\faces.c, line 1604, fi == MODELINE_INDEX

  Whoops ! Thanks for reporting this. Here's a fix.


src/ChangeLog addition:

2007-10-03  Didier Verna  <didier at xemacs.org>

	* faces.c (reset_face_cachels): Check for noninteractive mode in
	the assertions below, in which case the cache is unused.


XEmacs source patch:
Diff command:   cvs -q diff -u -t -b -B -w
Files affected: src/faces.c

Index: src/faces.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/faces.c,v
retrieving revision 1.57
diff -u -u -t -b -B -w -r1.57 faces.c
--- src/faces.c	3 Oct 2007 13:28:21 -0000	1.57
+++ src/faces.c	3 Oct 2007 21:27:07 -0000
@@ -1599,9 +1599,9 @@
          correct values if you ever add new built-in faces here.
          -- dvl */
       fi = get_builtin_face_cache_index (w, Vdefault_face);
-      assert (fi == DEFAULT_INDEX);
+      assert (noninteractive || fi == DEFAULT_INDEX);
       fi = get_builtin_face_cache_index (w, Vmodeline_face);
-      assert (fi == MODELINE_INDEX);
+      assert (noninteractive || fi == MODELINE_INDEX);
       XFRAME (w->frame)->window_face_cache_reset = 1;
     }
 }

-- 
New @-quartet featured CD Review !!
http://www.indie-music.com/modules.php?name=News&file=article&sid=6457

Didier Verna, didier at lrde.epita.fr, http://www.lrde.epita.fr/~didier

EPITA / LRDE, 14-16 rue Voltaire   Tel.+33 (1) 44 08 01 85
94276 Le Kremlin-Bicêtre, France   Fax.+33 (1) 53 14 59 22   didier at xemacs.org



More information about the XEmacs-Beta mailing list