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-3-51-g187


From: Neil Jerram
Subject: [Guile-commits] GNU Guile branch, master, updated. release_1-9-3-51-g187a439
Date: Thu, 01 Oct 2009 22:39:27 +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=187a43907f75265b504116aa1e96b40d57f4aa88

The branch, master has been updated
       via  187a43907f75265b504116aa1e96b40d57f4aa88 (commit)
      from  1ff4da6570d17b7ce5b74b926e8f9f2c99757896 (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 187a43907f75265b504116aa1e96b40d57f4aa88
Author: Neil Jerram <address@hidden>
Date:   Thu Oct 1 23:38:57 2009 +0100

    Fix doc for inet-ntop: always produces a string
    
    Thanks to Scott McPeak for reporting this.
    
    * libguile/socket.c (scm_inet_ntop): In docstring, add quotes around
      IPv6 address (+ reflow a bit).
    
    * doc/ref/posix.texi (Network Address Conversion): Corresponding
      change.
    
    * doc/maint/guile.texi: Corresponding change.

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

Summary of changes:
 doc/maint/guile.texi |    4 ++--
 doc/ref/posix.texi   |    4 ++--
 libguile/socket.c    |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/doc/maint/guile.texi b/doc/maint/guile.texi
index 4ef4aab..3b5305e 100644
--- a/doc/maint/guile.texi
+++ b/doc/maint/guile.texi
@@ -10708,8 +10708,8 @@ the input is an integer with normal host byte ordering.
 
 @lisp
 (inet-ntop AF_INET 2130706433) @result{} "127.0.0.1"
-(inet-ntop AF_INET6 (- (expt 2 128) 1)) @result{}
-ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
+(inet-ntop AF_INET6 (- (expt 2 128) 1))
+  @result{} "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"
 @end lisp
 @end deffn
 
diff --git a/doc/ref/posix.texi b/doc/ref/posix.texi
index 36b6229..21bac61 100644
--- a/doc/ref/posix.texi
+++ b/doc/ref/posix.texi
@@ -2288,8 +2288,8 @@ Convert a network address from an integer to a printable 
string.
 
 @lisp
 (inet-ntop AF_INET 2130706433) @result{} "127.0.0.1"
-(inet-ntop AF_INET6 (- (expt 2 128) 1)) @result{}
-ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
+(inet-ntop AF_INET6 (- (expt 2 128) 1))
+  @result{} "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"
 @end lisp
 @end deffn
 
diff --git a/libguile/socket.c b/libguile/socket.c
index 0574707..ea2ba5c 100644
--- a/libguile/socket.c
+++ b/libguile/socket.c
@@ -399,8 +399,8 @@ SCM_DEFINE (scm_inet_ntop, "inet-ntop", 2, 0, 0,
            "@var{family} can be @code{AF_INET} or @code{AF_INET6}.  E.g.,\n\n"
            "@lisp\n"
            "(inet-ntop AF_INET 2130706433) @result{} \"127.0.0.1\"\n"
-           "(inet-ntop AF_INET6 (- (expt 2 128) 1)) @result{}\n"
-           "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff\n"
+           "(inet-ntop AF_INET6 (- (expt 2 128) 1))\n"
+           "  @result{} \"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff\"\n"
            "@end lisp")
 #define FUNC_NAME s_scm_inet_ntop
 {


hooks/post-receive
-- 
GNU Guile




reply via email to

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