emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/ccl.c,v [EMACS_22_BASE]


From: Kenichi Handa
Subject: [Emacs-diffs] Changes to emacs/src/ccl.c,v [EMACS_22_BASE]
Date: Fri, 01 Feb 2008 00:38:27 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Kenichi Handa <handa>   08/02/01 00:38:27

Index: ccl.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/ccl.c,v
retrieving revision 1.96.2.4
retrieving revision 1.96.2.5
diff -u -b -r1.96.2.4 -r1.96.2.5
--- ccl.c       8 Jan 2008 04:30:18 -0000       1.96.2.4
+++ ccl.c       1 Feb 2008 00:38:26 -0000       1.96.2.5
@@ -748,7 +748,7 @@
     int bytes = SINGLE_BYTE_CHAR_P (ch) ? 1: CHAR_BYTES (ch);          \
     if (!dst)                                                          \
       CCL_INVALID_CMD;                                                 \
-    else if (dst + bytes + extra_bytes < (dst_bytes ? dst_end : src))  \
+    else if (dst + bytes + extra_bytes <= (dst_bytes ? dst_end : src)) \
       {                                                                        
\
        if (bytes == 1)                                                 \
          {                                                             \
@@ -775,7 +775,7 @@
     int bytes = CHAR_BYTES (ch);                                       \
     if (!dst)                                                          \
       CCL_INVALID_CMD;                                                 \
-    else if (dst + bytes + extra_bytes < (dst_bytes ? dst_end : src))  \
+    else if (dst + bytes + extra_bytes <= (dst_bytes ? dst_end : src)) \
       {                                                                        
\
        if (CHAR_VALID_P ((ch), 0))                                     \
          dst += CHAR_STRING ((ch), dst);                               \




reply via email to

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