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.0-37-g080a9d


From: Ludovic Courtès
Subject: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.0-37-g080a9d4
Date: Thu, 24 Feb 2011 22:18:40 +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=080a9d4f564c1b4e2171aa35a2a50fe20c300ecd

The branch, stable-2.0 has been updated
       via  080a9d4f564c1b4e2171aa35a2a50fe20c300ecd (commit)
       via  914c4300b2e6857152363529706799ae692bc2a4 (commit)
       via  cfad56a4449011e34aa917136cb6844ef453edcc (commit)
      from  62c290e977ea71c8dcb9ccb45e5a06d9e5a13a40 (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 080a9d4f564c1b4e2171aa35a2a50fe20c300ecd
Author: Ludovic Courtès <address@hidden>
Date:   Thu Feb 24 23:17:23 2011 +0100

    Revert ""latin1" -> "Latin-1"."
    
    This reverts commit c2c550ca9d2442d070f79ed8bacb8db173c72df3.
    
    The name "latin1" is standardized by IANA, unlike the other one.
    Reported by Bruno Haible.

commit 914c4300b2e6857152363529706799ae692bc2a4
Author: Ludovic Courtès <address@hidden>
Date:   Thu Feb 24 23:17:06 2011 +0100

    Make `locale-digit-grouping' more robust.
    
    * libguile/i18n.c (scm_nl_langinfo)[GROUPING]: Consider negative numbers
      like `CHAR_MAX'.  Reported by David Fang <address@hidden>.
      Fix suggested by Bruno Haible <address@hidden>.

commit cfad56a4449011e34aa917136cb6844ef453edcc
Author: Ludovic Courtès <address@hidden>
Date:   Thu Feb 24 23:13:54 2011 +0100

    Fix README.
    
    * README: Remove mention of an alpha release.  Reported by
      Mark H. Weaver.

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

Summary of changes:
 README          |   22 +++++-----------------
 doc/ref/vm.texi |    6 +++---
 libguile/i18n.c |   13 ++++++++-----
 3 files changed, 16 insertions(+), 25 deletions(-)

diff --git a/README b/README
index 1e9c2f8..256b7d0 100644
--- a/README
+++ b/README
@@ -1,20 +1,8 @@
-!!! This is not a Guile release; it is a source tree retrieved via
-Git or as a nightly snapshot at some random time after the
-Guile 1.8 release.  If this were a Guile release, you would not see
-this message. !!!  [fixme: zonk on release]
-
-This is a 1.9 development version of Guile, Project GNU's extension
-language library.  Guile is an interpreter for Scheme, packaged as a
-library that you can link into your applications to give them their
-own scripting language.  Guile will eventually support other languages
-as well, giving users of Guile-based applications a choice of
-languages.
-
-Guile versions with an odd middle number, i.e. 1.9.* are unstable
-development versions.  Even middle numbers indicate stable versions.
-This has been the case since the 1.3.* series.
-
-The next stable release will likely be version 2.0.0.
+This is version 2.0 of Guile, Project GNU's extension language library.
+Guile is an implementation of the Scheme programming language, packaged
+as a library that can be linked into applications to give them their own
+extension language.  Guile supports other languages as well, giving
+users of Guile-based applications a choice of languages.
 
 Please send bug reports to address@hidden
 
diff --git a/doc/ref/vm.texi b/doc/ref/vm.texi
index fa73f9b..0a14250 100644
--- a/doc/ref/vm.texi
+++ b/doc/ref/vm.texi
@@ -1,6 +1,6 @@
 @c -*-texinfo-*-
 @c This is part of the GNU Guile Reference Manual.
address@hidden Copyright (C)  2008, 2009, 2010, 2011
address@hidden Copyright (C)  2008,2009,2010
 @c   Free Software Foundation, Inc.
 @c See the file guile.texi for copying conditions.
 
@@ -1063,7 +1063,7 @@ embedded in the stream as a string.
 @end deffn
 @deffn Instruction load-string length
 Load a string from the instruction stream. The string is assumed to be
-Latin-1-encoded.
+encoded in the ``latin1'' locale.
 @end deffn
 @deffn Instruction load-wide-string length
 Load a UTF-32 string from the instruction stream. @var{length} is the
@@ -1071,7 +1071,7 @@ length in bytes, not in codepoints.
 @end deffn
 @deffn Instruction load-symbol length
 Load a symbol from the instruction stream. The symbol is assumed to be
-Latin-1-encoded. Symbols backed by wide strings may
+encoded in the ``latin1'' locale. Symbols backed by wide strings may
 be loaded via @code{load-wide-string} then @code{make-symbol}.
 @end deffn
 @deffn Instruction load-array length
diff --git a/libguile/i18n.c b/libguile/i18n.c
index 14dc9b9..c51df4a 100644
--- a/libguile/i18n.c
+++ b/libguile/i18n.c
@@ -1564,11 +1564,14 @@ SCM_DEFINE (scm_nl_langinfo, "nl-langinfo", 1, 1, 0,
          {
            char *p;
 
-           /* In this cases, the result is to be interpreted as a list of
-              numbers.  If the last item is `CHARS_MAX', it has the special
-              meaning "no more grouping".  */
+           /* In this cases, the result is to be interpreted as a list
+              of numbers.  If the last item is `CHAR_MAX' or a negative
+              number, it has the special meaning "no more grouping"
+              (negative numbers aren't specified in POSIX but can be
+              used by glibc; see
+              
<http://lists.gnu.org/archive/html/bug-guile/2011-02/msg00159.html>).  */
            result = SCM_EOL;
-           for (p = c_result; (*p != '\0') && (*p != CHAR_MAX); p++)
+           for (p = c_result; (*p > 0) && (*p != CHAR_MAX); p++)
              result = scm_cons (SCM_I_MAKINUM ((int) *p), result);
 
            {
@@ -1576,7 +1579,7 @@ SCM_DEFINE (scm_nl_langinfo, "nl-langinfo", 1, 1, 0,
 
              result = scm_reverse_x (result, SCM_EOL);
 
-             if (*p != CHAR_MAX)
+             if (*p == 0)
                {
                  /* Cyclic grouping information.  */
                  if (last_pair != SCM_EOL)


hooks/post-receive
-- 
GNU Guile



reply via email to

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