APPROVE COMMIT
NOTE: This patch has been committed.
tests/ChangeLog addition:
2006-11-25 Aidan Kehoe <kehoea(a)parhasard.net>
* automated/iso-ir-196-test.el:
* automated/mule-tests.el (featurep):
Move the tested added in the previous commit to a separate file.
XEmacs Trunk source patch:
Diff command: cvs -q diff -Nu
Files affected: tests/automated/mule-tests.el
===================================================================
RCS tests/automated/iso-ir-196-test.el
===================================================================
RCS
Index: tests/automated/iso-ir-196-test.el
===================================================================
RCS file: iso-ir-196-test.el
diff -N iso-ir-196-test.el
--- /dev/null Sat Nov 25 23:00:05 2006
+++ iso-ir-196-test.el Sat Nov 25 22:59:40 2006
@@ -0,0 +1,36 @@
+;; Copyright (C) 2006 Free Software Foundation, Inc.
+
+;; Author: Aidan Kehoe <kehoea(a)parhasard.net>
+;; Maintainers: Aidan Kehoe <kehoea(a)parhasard.net>
+;; Created: 2006
+;; Keywords: tests
+
+;; This file is part of XEmacs.
+
+;; XEmacs is free software; you can redistribute it and/or modify it
+;; under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 2, or (at your option)
+;; any later version.
+
+;; XEmacs is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with XEmacs; see the file COPYING. If not, write to the Free
+;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+;; 02111-1307, USA.
+
+;;; Synched up with: Not in FSF.
+
+;;; Commentary:
+
+;; Previously, we reacted badly to invalid sequences of non-UTF-8 octets
+;; when handling UTF-8 encode in ISO 2022.
+
+(when (featurep 'mule)
+ ;; This used to crash, at least in debug builds:
+ (Assert (decode-coding-string
+ (string ?\33 ?\45 ?\107 ?\306 ?\222 ?\215 ?\306)
+ 'iso-2022-jp)))
Index: tests/automated/mule-tests.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/tests/automated/mule-tests.el,v
retrieving revision 1.12
diff -u -u -r1.12 mule-tests.el
--- tests/automated/mule-tests.el 2006/11/23 13:43:29 1.12
+++ tests/automated/mule-tests.el 2006/11/25 21:59:40
@@ -441,12 +441,6 @@
(eq (aref ccl-vector 4)
(encode-char (make-char 'control-1 31) 'ucs)))))
- ;; This used to crash, at least in debug builds:
-
- (Assert (decode-coding-string
- (string ?\33 ?\45 ?\107 ?\306 ?\222 ?\215 ?\306)
- 'iso-2022-jp))
-
;;---------------------------------------------------------------
;; Test charset-in-* functions
;;---------------------------------------------------------------
--
Santa Maradona, priez pour moi!
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches