guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] GNU Guile branch, master, updated. release_1-9-6-108-g0a


From: Andy Wingo
Subject: [Guile-commits] GNU Guile branch, master, updated. release_1-9-6-108-g0af34a3
Date: Sat, 09 Jan 2010 18:20:04 +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=0af34a3f833a3e90edc18223b91fcafebc786275

The branch, master has been updated
       via  0af34a3f833a3e90edc18223b91fcafebc786275 (commit)
      from  6f16379e9a8d1f2d10c648793582a10772f29e32 (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 0af34a3f833a3e90edc18223b91fcafebc786275
Author: Andy Wingo <address@hidden>
Date:   Sat Jan 9 19:21:09 2010 +0100

    port-encoding returns #f if port encoding not set
    
    * libguile/ports.c (scm_port_encoding): Instead of returning "NONE" if
      we don't know the encoding, return #f. Allows truncated-print to work
      if you don't have a locale set.

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

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

diff --git a/libguile/ports.c b/libguile/ports.c
index f56c092..7328767 100644
--- a/libguile/ports.c
+++ b/libguile/ports.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2003, 2004, 2006, 2007, 
2008, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2003, 2004, 2006, 2007, 
2008, 2009, 2010 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
@@ -2042,7 +2042,7 @@ SCM_DEFINE (scm_port_encoding, "port-encoding", 1, 0, 0,
   if (enc)
     return scm_from_locale_string (pt->encoding);
   else
-    return scm_from_locale_string ("NONE");
+    return SCM_BOOL_F;
 }
 #undef FUNC_NAME
 


hooks/post-receive
-- 
GNU Guile




reply via email to

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