1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-14 14:01:48 +03:00
Files
gnulib/modules/c-stack
Pino Toscano f29814b96c Port modules to use getprogname explicitly
... instead of requiring progname to be used (or program_name to be
provided).
* lib/argmatch.c: Do not include progname.h.
[TEST] (program_name): Do not define.
[TEST] (main): Call getprogname instead of using program_name.
* lib/c-stack.c: Do not include progname.h.
(program_name): Do not define.
(die): Call getprogname instead of using program_name.
* lib/chdir-long.c: Do not include progname.h.
[TEST_CHDIR] (main): Do not set program_name.
* lib/error.c [!_LIBC]: Include progname.h.
[!_LIBC] (program_name): Define using getprogname.
* lib/euidaccess.c: Do not include progname.h.
[TEST] (main): Do not set program_name.
* lib/git-merge-changelog.c: Include getprogname.h instead of
progname.h.
(usage): Call getprogname instead of using program_name.
(main): Likewise.  Stop calling set_program_name.
* lib/group-member.c: Do not include progname.h.
[TEST] (main): Do not set program_name.
* modules/argmatch (Depends-on): Add getprogname.
* modules/c-stack (Depends-on): Likewise.
* modules/error (Depends-on): Likewise.
* modules/git-merge-changelog (Depends-on): Likewise.
Also remove progname.
2016-09-05 09:21:54 -07:00

37 lines
415 B
Plaintext

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
License:
GPL
Maintainer:
Paul Eggert