httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Sutton <p...@ukweb.com>
Subject htdigest woes
Date Fri, 15 Aug 1997 08:43:47 GMT
htdigest does not compile. It includes core/conf.h (from md5c.c) which
maps signal() onto ap_signal(). This function is defined in http_main.c,
which is not part of htdigest. Probably the simplest solution is to not
bother with sigaction handling in htdigest since its not a critical
application. The patch below prevents the mapping of signal() onto
ap_signal() (and hence the new signal() in http_main.c).

The alternative is to abstract out the new signal from http_main.c to and
allow all support apps to have access to it. 

//pcs

Index: Makefile.tmpl
===================================================================
RCS file: /export/home/cvs/apachen/src/support/Makefile.tmpl,v
retrieving revision 1.4
diff -u -r1.4 Makefile.tmpl
--- Makefile.tmpl	1997/07/20 23:44:49	1.4
+++ Makefile.tmpl	1997/08/15 08:43:24
@@ -19,7 +19,7 @@
 	$(CC) $(CFLAGS) htpasswd.c -o htpasswd $(LIBS)
 
 htdigest: htdigest.c
-	$(CC) $(CFLAGS) htdigest.c -o htdigest $(LIBS)
+	$(CC) $(CFLAGS) -DNO_USE_SIGACTION htdigest.c -o htdigest $(LIBS)
 
 httpd_monitor: httpd_monitor.c
 	$(CC) $(INCLUDES) $(CFLAGS) httpd_monitor.c -o httpd_monitor


Mime
View raw message