public inbox for guile-cvs@sourceware.org
help / color / mirror / Atom feed
* guile/guile-core/libguile fports.c init.c port ...
@ 2000-03-13 14:21 ghouston
  0 siblings, 0 replies; only message in thread
From: ghouston @ 2000-03-13 14:21 UTC (permalink / raw)
  To: guile-cvs

CVSROOT:	/cvs/guile
Module name:	guile
Changes by:	ghouston@sourceware.cygnus.com	00/03/13 14:21:21

Modified files:
	guile-core/libguile: fports.c init.c ports.c ports.h vports.c 

Log message:
	* ports.c (flush_void_port): renamed to flush_port_default.
	(end_input_void_port): renamed to end_input_default.
	
	* init.c (scm_standard_stream_to_port): create a void port instead
	of opening /dev/null if the standard file descriptors are bad.
	advantages: no portability problems, doesn't waste a file descriptor,
	simplifies the code (thanks to Marius for the idea).
	
	* vports.c (s_scm_make_soft_port): call scm_port_non_buffer.
	
	* void ports: make reading from a void port give EOF instead of
	segv:
	* ports.c (s_scm_sys_make_void_port): modified docstring.
	(fill_input_void_port): new proc.
	(scm_init_ports): set up fill_input_void_port.
	* ports.c (scm_port_non_buffer): new proc.
	(scm_void_port): call scm_port_non_buffer.
	
	* fports.c (scm_setvbuf): docstring: remove the fcntl documentation
	which was incorrectly appended.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-03-13 14:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-13 14:21 guile/guile-core/libguile fports.c init.c port ghouston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).