newlib-cygwin/winsup
Christopher Faylor 893ac8e03c 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.
2005-07-03 02:40:30 +00:00
..
cygserver * sysv_sem.cc (semu_list): Define static to avoid gcc 4.x compiler 2005-06-14 12:22:14 +00:00
cygwin Replace valid memory checks with new myfault class "exception handling", almost 2005-07-03 02:40:30 +00:00
doc * how-using.texinfo: Add FAQ about firewall software. Update 2005-06-21 05:52:25 +00:00
mingw * profile/profile.h (_MCOUNT_CALL): Define as regparm(2) 2005-06-16 12:14:21 +00:00
subauth
testsuite * winsup.api/pthread/cancel2.c: Use explicit initializer for mutex. 2005-06-11 04:59:53 +00:00
utils * parse_pe.c (exclusion::sort_and_check): Remove crude cast. 2005-06-14 12:42:57 +00:00
w32api * include/winldap.h (ldap_simple_bindW, ldap_simple_bind_sW, 2005-06-19 07:25:11 +00:00
CYGWIN_LICENSE Change location. 2003-01-13 21:11:19 +00:00
ChangeLog * Makefile.common: Add -dD to options when creating preprocess files. 2005-03-23 03:22:27 +00:00
Makefile.common * Makefile.common: Add -dD to options when creating preprocess files. 2005-03-23 03:22:27 +00:00
Makefile.in * Makefile.in: Make cygserver depending on cygwin. 2003-11-23 09:02:26 +00:00
configure * configure.in: Make --use-server the default. 2003-11-20 19:31:52 +00:00
configure.in * configure.in: Make --use-server the default. 2003-11-20 19:31:52 +00:00