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 bsdlib.cc cygtls.cc cy ...


CVSROOT:	/cvs/uberbaum
Module name:	winsup
Changes by:	cgf@sourceware.org	2005-07-03 02:40:30

Modified files:
	cygwin         : ChangeLog bsdlib.cc cygtls.cc cygtls.h dir.cc 
	                 environ.cc exceptions.cc external.cc 
	                 fhandler_socket.cc fhandler_tape.cc gendef 
	                 gentls_offsets miscfuncs.cc msg.cc net.cc 
	                 path.cc pthread.cc resource.cc sec_helper.cc 
	                 select.cc sem.cc shm.cc signal.cc syscalls.cc 
	                 thread.cc thread.h timer.cc times.cc 
	                 tlsoffsets.h uinfo.cc uname.cc winsup.h 

Log message:
	Replace valid memory checks with new myfault class "exception handling", almost
	everywhere.  Leave some thread.cc stuff alone for now.
	* cygtls.h: Kludge some definitions to avoid including a problematic windows
	header.
	(_cygtls::_myfault): New entry.
	(_cygtls::_myfault_errno): Ditto.
	(_cygtls::fault_guarded): New function.
	(_cygtls::setup_fault): Ditto.
	(_cygtls::return_from_fault): Ditto.
	(_cygtls::clear_fault): Ditto.
	(myfault): New class.
	* exceptions.cc (handle_exceptions): Handle case of guarded fault in system
	routine.
	* gendef: Add another entry point for setjmp that the compiler doesn't know
	about and won't complain about.
	* gentls_offsets: Just include windows.h rather than kludging a HANDLE def.
	* miscfuncs.cc (check_null_str): Delete.
	(check_null_empty_str): Ditto.
	(check_null_empty_str_errno): Ditto.
	(check_null_str_errno): Ditto.
	(__check_null_invalid_struct): Ditto.
	(__check_null_invalid_struct_errno): Ditto.
	(__check_invalid_read_ptr): Ditto.
	(__check_invalid_read_ptr_errno): Ditto.
	(dummytest): New function.
	(check_iovec_for_read): Delete.
	(chec_iovec): Rename from check_iovec_for_write.  Take a read/write parameter.
	* tlsoffsets.h: Regenerate.
	* winsup.h: Remove check_* declarations.
	(check_iovec_for_read): Delete declaration.  Turn into a define instead.
	(check_iovec_for_write): Ditto.
	(check_iovec): New declaration.
	* thread.h: Use ifdef guard name consistent with other header files.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.2983&r2=1.2984
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/bsdlib.cc.diff?cvsroot=uberbaum&r1=1.7&r2=1.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/cygtls.cc.diff?cvsroot=uberbaum&r1=1.30&r2=1.31
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/cygtls.h.diff?cvsroot=uberbaum&r1=1.30&r2=1.31
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dir.cc.diff?cvsroot=uberbaum&r1=1.87&r2=1.88
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/environ.cc.diff?cvsroot=uberbaum&r1=1.121&r2=1.122
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/exceptions.cc.diff?cvsroot=uberbaum&r1=1.232&r2=1.233
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/external.cc.diff?cvsroot=uberbaum&r1=1.75&r2=1.76
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=uberbaum&r1=1.165&r2=1.166
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tape.cc.diff?cvsroot=uberbaum&r1=1.57&r2=1.58
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/gendef.diff?cvsroot=uberbaum&r1=1.17&r2=1.18
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/gentls_offsets.diff?cvsroot=uberbaum&r1=1.8&r2=1.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/miscfuncs.cc.diff?cvsroot=uberbaum&r1=1.34&r2=1.35
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/msg.cc.diff?cvsroot=uberbaum&r1=1.8&r2=1.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/net.cc.diff?cvsroot=uberbaum&r1=1.189&r2=1.190
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/path.cc.diff?cvsroot=uberbaum&r1=1.380&r2=1.381
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/pthread.cc.diff?cvsroot=uberbaum&r1=1.26&r2=1.27
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/resource.cc.diff?cvsroot=uberbaum&r1=1.26&r2=1.27
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/sec_helper.cc.diff?cvsroot=uberbaum&r1=1.54&r2=1.55
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/select.cc.diff?cvsroot=uberbaum&r1=1.115&r2=1.116
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/sem.cc.diff?cvsroot=uberbaum&r1=1.9&r2=1.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/shm.cc.diff?cvsroot=uberbaum&r1=1.30&r2=1.31
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/signal.cc.diff?cvsroot=uberbaum&r1=1.69&r2=1.70
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/syscalls.cc.diff?cvsroot=uberbaum&r1=1.383&r2=1.384
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/thread.cc.diff?cvsroot=uberbaum&r1=1.185&r2=1.186
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/thread.h.diff?cvsroot=uberbaum&r1=1.97&r2=1.98
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/timer.cc.diff?cvsroot=uberbaum&r1=1.14&r2=1.15
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/times.cc.diff?cvsroot=uberbaum&r1=1.64&r2=1.65
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/tlsoffsets.h.diff?cvsroot=uberbaum&r1=1.19&r2=1.20
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/uinfo.cc.diff?cvsroot=uberbaum&r1=1.139&r2=1.140
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/uname.cc.diff?cvsroot=uberbaum&r1=1.25&r2=1.26
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/winsup.h.diff?cvsroot=uberbaum&r1=1.161&r2=1.162


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