emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/coding.c


From: Kenichi Handa
Subject: [Emacs-diffs] Changes to emacs/src/coding.c
Date: Thu, 02 Feb 2006 12:46:51 +0000

Index: emacs/src/coding.c
diff -u emacs/src/coding.c:1.327 emacs/src/coding.c:1.328
--- emacs/src/coding.c:1.327    Mon Dec 19 06:59:10 2005
+++ emacs/src/coding.c  Thu Feb  2 12:46:51 2006
@@ -872,7 +872,7 @@
          component[ncomponent] = c;
        }
     }
-  else
+  else if (c >= 0x80)
     {
       /* This may be an old Emacs 20 style format.  See the comment at
         the section 2 of this file.  */
@@ -924,6 +924,8 @@
       else
        return 0;
     }
+  else
+    return 0;
 
   if (buf == bufp || dst + (bufp - buf) <= (dst_bytes ? dst_end : src))
     {




reply via email to

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