winsup/cygwin ChangeLog cygwin.din dtab ...
Tue Jun 4 18:42:00 GMT 2002

CVSROOT:	/cvs/uberbaum
Module name:	winsup
Changes by:	2002-06-04 18:42:29

Modified files:
	cygwin         : ChangeLog cygwin.din 

Log message:
	Remove fcntl.h includes throughout.
	* fhandler.h: Move fcntl.h include here.
	(fhandler_base::set_flags): Accept supplied_bin argument.  Make non-inlined.
	* (dtable::init_std_file_from_handle): Just use binmode from pc.
	(reset_to_open_binmode): Use set_flags.
	* cygwin.din (open): Avoid newlib wrapper.
	(read): Ditto.
	(unlink): Ditto.
	(write): Ditto.
	* (fhandler_base::set_flags): Accept supplied_bin argument.  Make
	binmode decisions here.
	(fhandler_base::open): Avoid using pc if it is NULL.  Eliminate binmode logic.
	Just call set_flags with binmode argument.
	(fhandler_base::init): Call set_flags with binmode argument.
	* (fhandler_dev_clipboard::open): Ditto.
	* (fhandler_console::open): Ditto.
	(fhandler_console::init): Force binary on open.
	* (fhandler_disk_file::open): Don't set binmode here.
	Let it happen in base class.
	* (fhandler_dev_dsp::open): Force binmode open.  Set return
	value appropriately if unable to open.
	* (fhandler_proc::open): Make sure flags are set before
	* (fhandler_process::open): Ditto.
	* (fhandler_registry::open): Ditto.
	* (fhandler_dev_random::fhandler_dev_random): Ditto.
	* (fhandler_dev_raw::open): Force O_BINARY by default.
	* (fhandler_serial::init): Ditto.
	* (fhandler_tty_slave::open): Ditto.
	(fhandler_pty_master::open): Ditto.
	* (fhandler_virtual::open): Ditto.
	* (fhandler_windows::open): Ditto.
	* (fhandler_dev_zero::open): Ditto.
	* (fdsock): Ditto.
	* (path_conv::check): Avoid checking for extension when error or
	(set_flags): Set PATH_TEXT explicitly, when appropriate.
	(mount_info::conv_to_win32_path): Use set_flags() to set path flags.
	* path.h (PATH_TEXT): New enum.
	(path_conv::binmode): Return appropriate constant based on binmode.
	* (make_pipe): Set binmode to O_TEXT xor O_BINARY.
	* (setmode_helper): Make debugging message a little clearer.
	(setmode): Set binmode via set_flags.


More information about the Cygwin-cvs mailing list