view modules/c-stack @ 40220:2796695e9216

get-rusage-as, pthread_sigmask tests: Fix -fsanitize=thread findings. * lib/get-rusage-as.c (get_rusage_as): When compiled by "gcc -fsanitize=thread", don't try get_rusage_as_via_setrlimit. * tests/test-pthread_sigmask2.c (main): Clean up the killer_thread before exiting.
author Bruno Haible <bruno@clisp.org>
date Sun, 10 Mar 2019 01:28:42 +0100
parents 22e5bc9336ee
children
line wrap: on
line source

Description:
Stack overflow handling, causing program exit.

Files:
lib/c-stack.h
lib/c-stack.c
m4/c-stack.m4

Depends-on:
gettext-h
errno
exitfail
ignore-value
unistd
raise
sigaction
libsigsegv
getprogname

configure.ac:
gl_C_STACK

Makefile.am:
lib_SOURCES += c-stack.h c-stack.c

Include:
"c-stack.h"

Link:
$(LTLIBCSTACK) when linking with libtool, $(LIBCSTACK) otherwise
$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise

License:
GPL

Maintainer:
Paul Eggert