From d2098f638fe218ec5e9f1cd2f4b112bc94c8f438 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Thu, 7 Aug 2003 16:32:12 +0000 Subject: tinyproxy no longer includes a fall-back regular expression library, so these files needed to be modified to only use the system's installed regular expression library. --- src/Makefile.am | 6 ++---- src/common.h | 5 ++++- src/filter.c | 3 +-- src/reqs.c | 3 +-- 4 files changed, 8 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 4a9c42f..a45e6c1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,4 @@ -# $Id: Makefile.am,v 1.17 2003-06-26 18:23:01 rjkaes Exp $ +# $Id: Makefile.am,v 1.18 2003-08-07 16:32:12 rjkaes Exp $ # # Copyright (C) 2000 Robert James Kaes (rjkaes@flarenet.com) # @@ -39,10 +39,8 @@ tinyproxy_SOURCES = \ tinyproxy.c tinyproxy.h \ utils.c utils.h \ vector.c vector.h \ - grammar.y scanner.l \ - regexp.h + grammar.y scanner.l -EXTRA_DIST = gnuregex.c gnuregex.h EXTRA_tinyproxy_SOURCES = filter.c filter.h grammar.h tinyproxy_DEPENDENCIES = @ADDITIONAL_OBJECTS@ tinyproxy_LDADD = @ADDITIONAL_OBJECTS@ diff --git a/src/common.h b/src/common.h index 0982189..eaf00f9 100644 --- a/src/common.h +++ b/src/common.h @@ -1,4 +1,4 @@ -/* $Id: common.h,v 1.6 2003-06-25 18:20:22 rjkaes Exp $ +/* $Id: common.h,v 1.7 2003-08-07 16:32:12 rjkaes Exp $ * * This file groups all the headers required throughout the tinyproxy * system. All this information use to be in the "tinyproxy.h" header, @@ -111,6 +111,9 @@ #ifdef HAVE_PWD_H # include #endif +#ifdef HAVE_REGEX_H +# include +#endif #ifdef HAVE_SIGNAL_H # include #endif diff --git a/src/filter.c b/src/filter.c index 8684992..34dad75 100644 --- a/src/filter.c +++ b/src/filter.c @@ -1,4 +1,4 @@ -/* $Id: filter.c,v 1.17 2003-07-31 23:38:28 rjkaes Exp $ +/* $Id: filter.c,v 1.18 2003-08-07 16:32:12 rjkaes Exp $ * * Copyright (c) 1999 George Talusan (gstalusan@uwaterloo.ca) * Copyright (c) 2002 James E. Flemer (jflemer@acm.jhu.edu) @@ -23,7 +23,6 @@ #include "filter.h" #include "heap.h" #include "log.h" -#include "regexp.h" #include "reqs.h" #define FILTER_BUFFER_LEN (512) diff --git a/src/reqs.c b/src/reqs.c index e108c86..3f33a7f 100644 --- a/src/reqs.c +++ b/src/reqs.c @@ -1,4 +1,4 @@ -/* $Id: reqs.c,v 1.107 2003-08-05 16:11:59 rjkaes Exp $ +/* $Id: reqs.c,v 1.108 2003-08-07 16:32:12 rjkaes Exp $ * * This is where all the work in tinyproxy is actually done. Incoming * connections have a new child created for them. The child then @@ -33,7 +33,6 @@ #include "htmlerror.h" #include "log.h" #include "network.h" -#include "regexp.h" #include "reqs.h" #include "sock.h" #include "stats.h" -- cgit v1.2.3