[Top][All Lists]

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

[Guile-commits] GNU Guile branch, string_abstraction2, updated. 4d93adbe

From: Michael Gran
Subject: [Guile-commits] GNU Guile branch, string_abstraction2, updated. 4d93adbe1c810fc04b660f6619ede686b41b2445
Date: Wed, 10 Jun 2009 15:06:10 +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, string_abstraction2 has been updated
       via  4d93adbe1c810fc04b660f6619ede686b41b2445 (commit)
      from  80bd98fbd778ec36938806b0d2e75792a0f251c8 (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 4d93adbe1c810fc04b660f6619ede686b41b2445
Author: Michael Gran <address@hidden>
Date:   Wed Jun 10 08:05:33 2009 -0700

    Off by 1 error in scm_getc
        * ports.c (scm_getc): off by 1


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 50083b4..45e7c41 100644
--- a/libguile/ports.c
+++ b/libguile/ports.c
@@ -1018,7 +1018,7 @@ scm_getc (SCM port)
          goto success;
-      if (bufcount == SCM_MBCHAR_BUF_SIZE - 1)
+      if (bufcount == SCM_MBCHAR_BUF_SIZE)
          /* We've read several bytes and didn't find a good
             codepoint.  Give up.  */

GNU Guile

reply via email to

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