summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2020-09-20 12:52:15 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2020-09-20 15:48:44 -0700
commit649a39bbd0641c8bb48ba25e5d62d03f8f36125f (patch)
treee4b4a7d083665a630679f69bbab1c2cabbe685a4 /modules
parent8ba9126d00bfe1ab77a5c820c58c68933d4df85c (diff)
downloadgnulib-649a39bbd0641c8bb48ba25e5d62d03f8f36125f.tar.gz
c-stack: output diagnostic in single 'write'
* lib/c-stack.c (die): In the typical case, use just one 'write' syscall to output the diagnostic, as this lessens interleaving. (die, c_stack_action): Assume C99. * modules/c-stack (Depends-on): Add c99, mempcpy.
Diffstat (limited to 'modules')
-rw-r--r--modules/c-stack2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/c-stack b/modules/c-stack
index 8c898eb9e9..5ddf6e6f5a 100644
--- a/modules/c-stack
+++ b/modules/c-stack
@@ -7,6 +7,7 @@ lib/c-stack.c
m4/c-stack.m4
Depends-on:
+c99
errno
exitfail
getprogname
@@ -15,6 +16,7 @@ ignore-value
intprops
inttypes
libsigsegv
+mempcpy
raise
sigaction
stdbool