From 6bb2ecf9c8a64f8a91a7617625b7f20c0dd6791d Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Fri, 28 Apr 2000 18:25:02 +0000 Subject: Win32: install ab.exe fix dependency in Apache.dsw (ab is dependent on aprlib and ap) fix ab and htdigest projects so that they find all header files define ap_signal() in apr.hw - this is o.k. for casual use as with cmd-line programs use API_VAR_EXPORT as appropriate in getopt.c general: ab doesn't need to declare ap_optarg/ap_optind; fix a warning htdigest needs to call ap_initialize() to avoid segfault at startup git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85080 13f79535-47bb-0310-9956-ffa450edef68 --- support/htdigest.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'support/htdigest.c') diff --git a/support/htdigest.c b/support/htdigest.c index 65200fcf1d..0bc3f0a2c6 100644 --- a/support/htdigest.c +++ b/support/htdigest.c @@ -213,7 +213,9 @@ int main(int argc, char *argv[]) char x[MAX_STRING_LEN]; char command[MAX_STRING_LEN]; int found; - + + ap_initialize(); + atexit(ap_terminate); ap_create_pool(&cntxt, NULL); tn = NULL; -- cgit v1.2.3