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.3-111-ga7e39


From: Mark H Weaver
Subject: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.3-111-ga7e392c
Date: Sat, 07 Jan 2012 09:55:51 +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=a7e392c1fff2921af027675e8655b5892ac1142e

The branch, stable-2.0 has been updated
       via  a7e392c1fff2921af027675e8655b5892ac1142e (commit)
      from  213544e0dccb67339b009fbd7640ff9b48ca33f6 (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 a7e392c1fff2921af027675e8655b5892ac1142e
Author: Mark H Weaver <address@hidden>
Date:   Fri Jan 6 18:39:04 2012 -0500

    Make scm_nullstr mutable
    
    * libguile/strings.c (scm_init_strings): Make scm_nullstr mutable.  It
      is still usable as a common object, because of course it contains no
      characters to mutate anyway.  It is returned by several procedures
      that are specified to return mutable strings, and string mutators
      raise errors when passed an immutable string, even if it is the null
      string.

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

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

diff --git a/libguile/strings.c b/libguile/strings.c
index 666a951..870825a 100644
--- a/libguile/strings.c
+++ b/libguile/strings.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995,1996,1998,2000,2001, 2004, 2006, 2008, 2009, 2010, 2011 
Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1998,2000,2001, 2004, 2006, 2008, 2009, 2010, 2011, 
2012 Free Software Foundation, Inc.
  * 
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public License
@@ -2224,7 +2224,7 @@ SCM_VECTOR_IMPLEMENTATION (SCM_ARRAY_ELEMENT_TYPE_CHAR, 
scm_make_string)
 void
 scm_init_strings ()
 {
-  scm_nullstr = scm_i_make_string (0, NULL, 1);
+  scm_nullstr = scm_i_make_string (0, NULL, 0);
 
 #include "libguile/strings.x"
 }


hooks/post-receive
-- 
GNU Guile



reply via email to

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