winsup/cygwin ChangeLog cygwin.din dir.cc dtab ...

cgf@cygwin.com cgf@cygwin.com
Tue Jun 4 18:42:00 GMT 2002


CVSROOT:	/cvs/uberbaum
Module name:	winsup
Changes by:	cgf@sources.redhat.com	2002-06-04 18:42:29

Modified files:
	cygwin         : ChangeLog cygwin.din dir.cc dtable.cc 
	                 environ.cc fcntl.cc fhandler.cc fhandler.h 
	                 fhandler_clipboard.cc fhandler_console.cc 
	                 fhandler_disk_file.cc fhandler_dsp.cc 
	                 fhandler_floppy.cc fhandler_mem.cc 
	                 fhandler_proc.cc fhandler_process.cc 
	                 fhandler_random.cc fhandler_raw.cc 
	                 fhandler_registry.cc fhandler_serial.cc 
	                 fhandler_socket.cc fhandler_tape.cc 
	                 fhandler_termios.cc fhandler_tty.cc 
	                 fhandler_virtual.cc fhandler_windows.cc 
	                 fhandler_zero.cc fork.cc net.cc path.cc path.h 
	                 pipe.cc syscalls.cc 

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.cc (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.cc (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_clipboard.cc (fhandler_dev_clipboard::open): Ditto.
	* fhandler_console.cc (fhandler_console::open): Ditto.
	(fhandler_console::init): Force binary on open.
	* fhandler_disk_file.cc (fhandler_disk_file::open): Don't set binmode here.
	Let it happen in base class.
	* fhandler_dsp.cc (fhandler_dev_dsp::open): Force binmode open.  Set return
	value appropriately if unable to open.
	* fhandler_proc.cc (fhandler_proc::open): Make sure flags are set before
	open_status.
	* fhandler_process.cc (fhandler_process::open): Ditto.
	* fhandler_registry.cc (fhandler_registry::open): Ditto.
	* fhandler_random.cc (fhandler_dev_random::fhandler_dev_random): Ditto.
	* fhandler_raw.cc (fhandler_dev_raw::open): Force O_BINARY by default.
	* fhandler_serial.cc (fhandler_serial::init): Ditto.
	* fhandler_tty.cc (fhandler_tty_slave::open): Ditto.
	(fhandler_pty_master::open): Ditto.
	* fhandler_virtual.cc (fhandler_virtual::open): Ditto.
	* fhandler_windows.cc (fhandler_windows::open): Ditto.
	* fhandler_zero.cc (fhandler_dev_zero::open): Ditto.
	* net.cc (fdsock): Ditto.
	* path.cc (path_conv::check): Avoid checking for extension when error or
	directory.
	(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.
	* pipe.cc (make_pipe): Set binmode to O_TEXT xor O_BINARY.
	* syscalls.cc (setmode_helper): Make debugging message a little clearer.
	(setmode): Set binmode via set_flags.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.1255&r2=1.1256
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/cygwin.din.diff?cvsroot=uberbaum&r1=1.48&r2=1.49
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dir.cc.diff?cvsroot=uberbaum&r1=1.64&r2=1.65
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.88&r2=1.89
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/environ.cc.diff?cvsroot=uberbaum&r1=1.65&r2=1.66
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fcntl.cc.diff?cvsroot=uberbaum&r1=1.14&r2=1.15
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.cc.diff?cvsroot=uberbaum&r1=1.125&r2=1.126
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&r1=1.121&r2=1.122
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_clipboard.cc.diff?cvsroot=uberbaum&r1=1.16&r2=1.17
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_console.cc.diff?cvsroot=uberbaum&r1=1.76&r2=1.77
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=uberbaum&r1=1.22&r2=1.23
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_dsp.cc.diff?cvsroot=uberbaum&r1=1.19&r2=1.20
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_floppy.cc.diff?cvsroot=uberbaum&r1=1.20&r2=1.21
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_mem.cc.diff?cvsroot=uberbaum&r1=1.27&r2=1.28
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_proc.cc.diff?cvsroot=uberbaum&r1=1.11&r2=1.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_process.cc.diff?cvsroot=uberbaum&r1=1.12&r2=1.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_random.cc.diff?cvsroot=uberbaum&r1=1.19&r2=1.20
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_raw.cc.diff?cvsroot=uberbaum&r1=1.25&r2=1.26
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_registry.cc.diff?cvsroot=uberbaum&r1=1.7&r2=1.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_serial.cc.diff?cvsroot=uberbaum&r1=1.23&r2=1.24
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=uberbaum&r1=1.43&r2=1.44
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tape.cc.diff?cvsroot=uberbaum&r1=1.29&r2=1.30
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_termios.cc.diff?cvsroot=uberbaum&r1=1.28&r2=1.29
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=uberbaum&r1=1.61&r2=1.62
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_virtual.cc.diff?cvsroot=uberbaum&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_windows.cc.diff?cvsroot=uberbaum&r1=1.13&r2=1.14
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_zero.cc.diff?cvsroot=uberbaum&r1=1.15&r2=1.16
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fork.cc.diff?cvsroot=uberbaum&r1=1.82&r2=1.83
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/net.cc.diff?cvsroot=uberbaum&r1=1.110&r2=1.111
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/path.cc.diff?cvsroot=uberbaum&r1=1.217&r2=1.218
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/path.h.diff?cvsroot=uberbaum&r1=1.43&r2=1.44
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/pipe.cc.diff?cvsroot=uberbaum&r1=1.36&r2=1.37
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/syscalls.cc.diff?cvsroot=uberbaum&r1=1.197&r2=1.198



More information about the Cygwin-cvs mailing list