guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] GNU Guile branch, master, updated. v2.1.0-90-gf7582f9


From: Mark H Weaver
Subject: [Guile-commits] GNU Guile branch, master, updated. v2.1.0-90-gf7582f9
Date: Wed, 24 Sep 2014 01:45:41 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

http://git.savannah.gnu.org/cgit/guile.git/commit/?id=f7582f9807d9a10fba86f54c4aeaa7444c51a315

The branch, master has been updated
       via  f7582f9807d9a10fba86f54c4aeaa7444c51a315 (commit)
      from  c5ea75534c683638fb1f3b328efe6ba0d242e485 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f7582f9807d9a10fba86f54c4aeaa7444c51a315
Author: David Kastrup <address@hidden>
Date:   Tue Sep 23 21:39:29 2014 -0400

    Fix ungetc for characters 0x80 <= c < 0xf0 in UTF-8.
    
    Fixes <http://bugs.gnu.org/18536>.
    
    * libguile/ports.c (scm_ungetc_unlocked): Fix bad UTF-8 reencoding,
      introduced in commit be7ecef05c1eea66f30360f658c610710c5cb22e.
    
    Signed-off-by: David Kastrup <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 libguile/ports.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libguile/ports.c b/libguile/ports.c
index 8185d85..3129282 100644
--- a/libguile/ports.c
+++ b/libguile/ports.c
@@ -2139,7 +2139,7 @@ scm_ungetc_unlocked (scm_t_wchar c, SCM port)
 
   if (pti->encoding_mode == SCM_PORT_ENCODING_MODE_UTF8)
     {
-      if (c < 0xf0)
+      if (c < 0x80)
         {
           result_buf[0] = (char) c;
           result = result_buf;


hooks/post-receive
-- 
GNU Guile



reply via email to

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