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-49-gac012a


From: Andy Wingo
Subject: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.0-49-gac012a2
Date: Mon, 28 Feb 2011 19:49:30 +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=ac012a27a2e3c28f191d2c38b3d1ab1ef70ba8ba

The branch, stable-2.0 has been updated
       via  ac012a27a2e3c28f191d2c38b3d1ab1ef70ba8ba (commit)
      from  6a94e6e1ae6c018fe1ea1c0c6a9cca577dff4d85 (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 ac012a27a2e3c28f191d2c38b3d1ab1ef70ba8ba
Author: Andy Wingo <address@hidden>
Date:   Mon Feb 28 20:53:40 2011 +0100

    update port-filename docs
    
    * doc/ref/api-io.texi (File Ports):
    * libguile/ports.c (scm_port_filename): Fix docs to match
      implementation.

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

Summary of changes:
 doc/ref/api-io.texi |    5 ++---
 libguile/ports.c    |    5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/doc/ref/api-io.texi b/doc/ref/api-io.texi
index 52dfdd4..6a50424 100644
--- a/doc/ref/api-io.texi
+++ b/doc/ref/api-io.texi
@@ -949,9 +949,8 @@ used only during port creation are not retained.
 
 @deffn {Scheme Procedure} port-filename port
 @deffnx {C Function} scm_port_filename (port)
-Return the filename associated with @var{port}.  This function returns
-the strings "standard input", "standard output" and "standard error"
-when called on the current input, output and error ports respectively.
+Return the filename associated with @var{port}, or @code{#f} if no
+filename is associated with the port.
 
 @var{port} must be open, @code{port-filename} cannot be used once the
 port is closed.
diff --git a/libguile/ports.c b/libguile/ports.c
index 6a51ddc..a48cc86 100644
--- a/libguile/ports.c
+++ b/libguile/ports.c
@@ -1942,9 +1942,8 @@ SCM_DEFINE (scm_set_port_column_x, "set-port-column!", 2, 
0, 0,
 
 SCM_DEFINE (scm_port_filename, "port-filename", 1, 0, 0,
             (SCM port),
-           "Return the filename associated with @var{port}.  This function 
returns\n"
-           "the strings \"standard input\", \"standard output\" and \"standard 
error\"\n"
-           "when called on the current input, output and error ports 
respectively.")
+           "Return the filename associated with @var{port}, or @code{#f}\n"
+           "if no filename is associated with the port.")
 #define FUNC_NAME s_scm_port_filename
 {
   port = SCM_COERCE_OUTPORT (port);


hooks/post-receive
-- 
GNU Guile



reply via email to

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