1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 08:31:35 -08:00
emacs/nt/inc
Eli Zaretskii 7afa4f300b Support recovery from C stack overflow on MS-Windows
* src/w32fns.c (w32_reset_stack_overflow_guard)
(stack_overflow_handler): New functions for handling C stack
overflow exceptions.
(my_exception_handler): Handle EXCEPTION_STACK_OVERFLOW exceptions
specially, and zero out except_addr if we do.
(globals_of_w32fns): Initialize dwMainThreadId in non-interactive
mode.
* src/sysdep.c [HAVE_STACK_OVERFLOW_HANDLING]: Add !WINDOWSNT to
the condition, as HAVE_STACK_OVERFLOW_HANDLING is now defined for
the MinGW build, but the code guarded by that is for Posix hosts.
* src/keyboard.c (command_loop) [WINDOWSNT]: Call
w32_reset_stack_overflow_guard.

* nt/inc/ms-w32.h (sigjmp_buf): New typedef.
(sigsetjmp): New macro.
(w32_reset_stack_overflow_guard): Declare the prototype.

* configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Set to 1 for MinGW.
2015-08-08 11:12:06 +03:00
..
arpa
netinet
sys Update copyright year to 2015 2015-01-01 14:26:41 -08:00
dirent.h Dirent functions and directory-files are converted and work. 2013-11-09 14:49:02 +02:00
grp.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
inttypes.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
langinfo.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
mingw_time.h Attempt to fix time_t related problems with MinGW 4.0 runtime. 2013-10-14 19:23:10 +03:00
ms-w32.h Support recovery from C stack overflow on MS-Windows 2015-08-08 11:12:06 +03:00
netdb.h
nl_types.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
pwd.h
stdalign.h
stdbool.h
stdint.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
unistd.h Merge from trunk and resolve conflicts. 2013-03-28 20:13:59 +02:00