diff options
author | Ludovic Courtès <ludo@gnu.org> | 2009-11-14 16:14:20 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2009-11-14 16:59:25 +0100 |
commit | d6a6989e08a84cbf3c6b11c199536f665cbb6b50 (patch) | |
tree | b444cbd57da811480c67d02125c5ae1e69ddecd1 /libguile/posix.h | |
parent | c2be4e891c8cc085c4eb3f68125c95d86fae856c (diff) | |
download | guile-d6a6989e08a84cbf3c6b11c199536f665cbb6b50.tar.gz |
Replace `setbinary' by a public `%default-port-encoding' fluid.
* doc/ref/api-evaluation.texi (Character Encoding of Source Files): Add
reference to the "Ports" node.
* doc/ref/api-io.texi (Ports): Document `%default-port-encoding'.
* libguile/ports.c (scm_port_encoding_var): Rename to...
(default_port_encoding_var): ... this; update callers. Make `static'.
* libguile/posix.c (scm_setbinary): Remove.
* libguile/posix.h: Adjust accordingly.
* test-suite/tests/numbers.test: Remove unneeded `setbinary' call.
* test-suite/tests/ports.test: Replace `setbinary' call by equivalent
`%default-port-encoding' mutation and `set-port-encoding!' calls.
* test-suite/tests/r6rs-ports.test: Replace `setbinary' call by
equivalent `%default-port-encoding' mutation.
Diffstat (limited to 'libguile/posix.h')
-rw-r--r-- | libguile/posix.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libguile/posix.h b/libguile/posix.h index 2d93300b8..417133257 100644 --- a/libguile/posix.h +++ b/libguile/posix.h @@ -3,7 +3,7 @@ #ifndef SCM_POSIX_H #define SCM_POSIX_H -/* Copyright (C) 1995,1996,1997,1998,2000,2001, 2003, 2006, 2008 Free Software Foundation, Inc. +/* Copyright (C) 1995,1996,1997,1998,2000,2001, 2003, 2006, 2008, 2009 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 @@ -74,7 +74,6 @@ SCM_API SCM scm_access (SCM path, SCM how); SCM_API SCM scm_getpid (void); SCM_API SCM scm_putenv (SCM str); SCM_API SCM scm_setlocale (SCM category, SCM locale); -SCM_API SCM scm_setbinary (void); SCM_API SCM scm_mknod (SCM path, SCM type, SCM perms, SCM dev); SCM_API SCM scm_nice (SCM incr); SCM_API SCM scm_sync (void); |