From 2c092db698ba92f1bd64c1f78f82a50317ef551f Mon Sep 17 00:00:00 2001 From: david Date: Wed, 12 Sep 2012 04:23:23 +0000 Subject: [PATCH] Don't use exit in APR_CHECK_WORKING_GETNAMEINFO. Same reason as r29737. http://seclists.org/nmap-dev/2012/q3/777 --- nbase/configlocal.m4 | 4 ++-- nbase/configure | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nbase/configlocal.m4 b/nbase/configlocal.m4 index f1c9624f0..2b50fd364 100644 --- a/nbase/configlocal.m4 +++ b/nbase/configlocal.m4 @@ -97,9 +97,9 @@ int main(void) { hbuf, 256, NULL, 0, NI_NUMERICHOST); if (error) { - exit(1); + return 1; } else { - exit(0); + return 0; } } ],[ diff --git a/nbase/configure b/nbase/configure index 8ca7fb0e5..6832563b7 100755 --- a/nbase/configure +++ b/nbase/configure @@ -4705,9 +4705,9 @@ int main(void) { hbuf, 256, NULL, 0, NI_NUMERICHOST); if (error) { - exit(1); + return 1; } else { - exit(0); + return 0; } }