This is the mail archive of the guile-cvs@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

guile/guile-core/libguile fports.c init.c port ...


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]