emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/src coding.c


From: Kenichi Handa
Subject: [Emacs-diffs] emacs/src coding.c
Date: Wed, 03 Dec 2008 05:48:12 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Kenichi Handa <handa>   08/12/03 05:48:12

Modified files:
        src            : coding.c 

Log message:
        (decode_coding_charset): Check type of an element of
        vector VALIDS.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/coding.c?cvsroot=emacs&r1=1.398&r2=1.399

Patches:
Index: coding.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/coding.c,v
retrieving revision 1.398
retrieving revision 1.399
diff -u -b -r1.398 -r1.399
--- coding.c    3 Dec 2008 02:25:00 -0000       1.398
+++ coding.c    3 Dec 2008 05:48:11 -0000       1.399
@@ -5160,7 +5160,7 @@
       code = c;
 
       val = AREF (valids, c);
-      if (NILP (val))
+      if (! INTEGERP (val) && ! CONSP (val))
        goto invalid_code;
       if (INTEGERP (val))
        {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]