* fluids.c (next_fluid_num): don't do
authorGary Houston <ghouston@arglist.com>
Sun, 20 Jul 1997 05:49:39 +0000 (05:49 +0000)
committerGary Houston <ghouston@arglist.com>
Sun, 20 Jul 1997 05:49:39 +0000 (05:49 +0000)
commiteadd48de2b7b916a29da6d36e650c84a76b1a3f4
treeeb293bc3a550059f807e340592417f09b74dcde4
parent9c29ac668ff5444ab9e61d357062d090af2c1850
* fluids.c (next_fluid_num): don't do
SCM_THREAD_CRITICAL_SECTION_START/END unless USE_THREADS is defined.

* ports.h: prototypes too.
* ports.c (scm_mode_bits, scm_port_mode): moved from fports.c.

* fports.h: prototype too.
* fports.c (scm_evict_ports): moved from ioext.c.

* ports.c (scm_close_port): return a boolean instead of unspecified.
throw an error if an error other than EBADF occurs.

* filesys.h: scm_close prototype.
* filesys.c (scm_close): new procedure, can close file descriptors
and ports (scsh compatible).

* ports.c (scm_flush_all_ports): SCM_PROC incorrectly allowed an
optional argument.
libguile/ChangeLog
libguile/filesys.c
libguile/filesys.h
libguile/fluids.c
libguile/fports.c
libguile/fports.h
libguile/ioext.c
libguile/ioext.h
libguile/ports.c
libguile/ports.h