[Top][All Lists]

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

[Guile-commits] GNU Guile branch, master, updated. release_1-9-2-124-g87

From: Michael Gran
Subject: [Guile-commits] GNU Guile branch, master, updated. release_1-9-2-124-g8736ef7
Date: Fri, 28 Aug 2009 03:44:42 +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".

The branch, master has been updated
       via  8736ef70acf603447cfcf697d44b8a46e8e53191 (commit)
      from  d5ecf5797dade3882db816bd0a325568e3610ade (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 8736ef70acf603447cfcf697d44b8a46e8e53191
Author: Michael Gran <address@hidden>
Date:   Thu Aug 27 20:42:36 2009 -0700

    scm_getc improperly handles Latin-1 characters
    Upper-plane Latin-1 characters should be converted to codepoints.
    * libguile/ports.c (scm_getc): improper conversion of char to scm_t_wchar


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 749d975..b3547f5 100644
--- a/libguile/ports.c
+++ b/libguile/ports.c
@@ -990,7 +990,7 @@ scm_getc (SCM port)
   if (pt->encoding == NULL)
       /* The encoding is Latin-1: bytes are characters.  */
-      codepoint = buf[0];
+      codepoint = (unsigned char) buf[0];
       goto success;

GNU Guile

reply via email to

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