You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2001/02/11 22:00:05 UTC
cvs commit: httpd-2.0/support htpasswd.c
wrowe 01/02/11 13:00:05
Modified: support htpasswd.c
Log:
Still lots to apr'ize here.
Revision Changes Path
1.34 +2 -4 httpd-2.0/support/htpasswd.c
Index: htpasswd.c
===================================================================
RCS file: /home/cvs/httpd-2.0/support/htpasswd.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- htpasswd.c 2001/02/08 07:45:32 1.33
+++ htpasswd.c 2001/02/11 21:00:04 1.34
@@ -85,6 +85,7 @@
#include "apr_errno.h"
#include "apr_file_io.h"
#include "apr_general.h"
+#include "apr_signal.h"
#if APR_HAVE_STDIO_H
#include <stdio.h>
@@ -92,9 +93,6 @@
#include "apr_md5.h"
#include "apr_sha1.h"
-#if APR_HAVE_SIGNAL_H
-#include <signal.h>
-#endif
#include <time.h>
#if APR_HAVE_CRYPT_H
@@ -422,7 +420,7 @@
#endif /*APR_CHARSET_EBCDIC*/
tempfilename = NULL;
- signal(SIGINT, (void (*)(int)) interrupted);
+ apr_signal(SIGINT, (void (*)(int)) interrupted);
/*
* Preliminary check to make sure they provided at least