diff options
author | sascha <sascha@13f79535-47bb-0310-9956-ffa450edef68> | 1999-12-31 04:15:13 +0000 |
---|---|---|
committer | sascha <sascha@13f79535-47bb-0310-9956-ffa450edef68> | 1999-12-31 04:15:13 +0000 |
commit | d773fa82f6cb1e4cc69441aba067fec5fd30507f (patch) | |
tree | eb92287f9192643b5e85c5d6285aa2151386e49e /test | |
parent | 25635187d2eb91960be725bed12c544fff886965 (diff) | |
download | libapr-d773fa82f6cb1e4cc69441aba067fec5fd30507f.tar.gz |
Use always ap_signal() in APR to avoid redefining the system call signal()
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59564 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r-- | test/htdigest.c | 2 | ||||
-rw-r--r-- | test/htpasswd.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/htdigest.c b/test/htdigest.c index a9dda5c6c..549f909f5 100644 --- a/test/htdigest.c +++ b/test/htdigest.c @@ -209,7 +209,7 @@ int main(int argc, char *argv[]) ap_create_context(&cntxt, NULL); tn = NULL; - signal(SIGINT, (void (*)(int)) interrupted); + ap_signal(SIGINT, (void (*)(int)) interrupted); if (argc == 5) { if (strcmp(argv[1], "-c")) usage(); diff --git a/test/htpasswd.c b/test/htpasswd.c index 2c268ea55..434e2238e 100644 --- a/test/htpasswd.c +++ b/test/htpasswd.c @@ -328,7 +328,7 @@ int main(int argc, char *argv[]) int args_left = 2; tempfilename = NULL; - signal(SIGINT, (void (*)(int)) interrupted); + ap_signal(SIGINT, (void (*)(int)) interrupted); /* * Preliminary check to make sure they provided at least |