This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

winsup/cygwin ChangeLog devices.cc devices.h d ...


CVSROOT:	/cvs/uberbaum
Module name:	winsup
Changes by:	cgf@sourceware.org	2011-06-12 20:15:27

Modified files:
	cygwin         : ChangeLog devices.cc devices.h devices.in 
	                 dtable.cc fhandler.h fhandler_console.cc 
	                 fhandler_proc.cc fhandler_process.cc 
	                 fhandler_procnet.cc fhandler_procsysvipc.cc 
	                 fhandler_tty.cc mount.cc 

Log message:
	Rename FH_BAD to FH_NADA throughout.
	* devices.h (FH_ERROR): New value.
	(iscons_dev): Extend to detect all the console device types.
	* devices.in: Set aside storage for FH_ERROR.
	* dtable.cc (dtable::init_std_file_from_handle): Use iscons_dev to detect when
	device is a console.
	(fh_alloc): Pass device to console constructor.
	(build_fh_pc): Short circuit when we detect that the constructor saw an error.
	* fhandler.h (fhandler_console::fhandler_console): Accept fh_devices parameter.
	(get_tty_stuff): Change to void.
	* fhandler_console (fhandler_console::set_unit): Set device to FH_ERROR on
	attempt to access anything other than the current console.
	(fhandler_console::get_tty_stuff): Change to void return.
	(fhandler_console::open): Return EPERM on FH_ERROR device type.
	(fhandler_console::fhandler_console): Set the device type appropriately before
	calling get_tty_stuff and rely on that function to reset it if necessary.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.5405&r2=1.5406
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/devices.cc.diff?cvsroot=uberbaum&r1=1.36&r2=1.37
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/devices.h.diff?cvsroot=uberbaum&r1=1.31&r2=1.32
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/devices.in.diff?cvsroot=uberbaum&r1=1.27&r2=1.28
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.224&r2=1.225
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&r1=1.428&r2=1.429
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_console.cc.diff?cvsroot=uberbaum&r1=1.238&r2=1.239
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_proc.cc.diff?cvsroot=uberbaum&r1=1.106&r2=1.107
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_process.cc.diff?cvsroot=uberbaum&r1=1.102&r2=1.103
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_procnet.cc.diff?cvsroot=uberbaum&r1=1.14&r2=1.15
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_procsysvipc.cc.diff?cvsroot=uberbaum&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=uberbaum&r1=1.229&r2=1.230
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/mount.cc.diff?cvsroot=uberbaum&r1=1.78&r2=1.79


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