summaryrefslogtreecommitdiff
path: root/gl
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-05-13 11:16:58 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-05-13 11:16:58 +0200
commit6fd7a4c3d443cd4d62f52e4ec9c5b412b970c983 (patch)
treed617f0aa436ea35b23ad99d6874136f0dd1f01e1 /gl
parentf2608eb7a84c87b8f2fb4b96d3891391c409085b (diff)
downloadgnutls-6fd7a4c3d443cd4d62f52e4ec9c5b412b970c983.tar.gz
memmem.m4: don't call exit() from signal handler
Diffstat (limited to 'gl')
-rw-r--r--gl/m4/memmem.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/gl/m4/memmem.m4 b/gl/m4/memmem.m4
index 80f2b1e339..b190a7cb9b 100644
--- a/gl/m4/memmem.m4
+++ b/gl/m4/memmem.m4
@@ -93,7 +93,7 @@ AC_DEFUN([gl_FUNC_MEMMEM],
#include <string.h> /* for memmem */
#include <stdlib.h> /* for malloc */
#include <unistd.h> /* for alarm */
-static void quit (int sig) { exit (sig + 128); }
+static void quit (int sig) { _exit (sig + 128); }
]], [[
int result = 0;
size_t m = 1000000;