guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.6-12-gee26a9


From: Andy Wingo
Subject: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.6-12-gee26a9e
Date: Fri, 17 Aug 2012 14:46:06 +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=ee26a9ebe2d93263473db7d68e74a317eaf053ac

The branch, stable-2.0 has been updated
       via  ee26a9ebe2d93263473db7d68e74a317eaf053ac (commit)
      from  639fd0a44265ba9223793eea9b5ae4d3c4da5237 (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 ee26a9ebe2d93263473db7d68e74a317eaf053ac
Author: Andy Wingo <address@hidden>
Date:   Fri Aug 17 16:41:27 2012 +0200

    reinstate type check to scm_to_utf8_stringn
    
    * libguile/strings.c (scm_to_utf8_stringn): Re-add missing type check,
      inadvertantly removed in e3d4597469a543d97c4997b128509c2ceb13ca2b.

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

Summary of changes:
 libguile/strings.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/libguile/strings.c b/libguile/strings.c
index 414951e..5d0db23 100644
--- a/libguile/strings.c
+++ b/libguile/strings.c
@@ -1922,7 +1922,10 @@ u32_u8_length_in_bytes (const scm_t_uint32 *str, size_t 
len)
 
 char *
 scm_to_utf8_stringn (SCM str, size_t *lenp)
+#define FUNC_NAME "scm_to_utf8_stringn"
 {
+  SCM_VALIDATE_STRING (1, str);
+
   if (scm_i_is_narrow_string (str))
     return (char *) latin1_to_u8 ((scm_t_uint8 *) scm_i_string_chars (str),
                                   scm_i_string_length (str),
@@ -1969,6 +1972,7 @@ scm_to_utf8_stringn (SCM str, size_t *lenp)
       }
     }
 }
+#undef FUNC_NAME
 
 scm_t_wchar *
 scm_to_utf32_string (SCM str)


hooks/post-receive
-- 
GNU Guile



reply via email to

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