Browse code

removed UseProcesses

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@264 77e5149b-7576-45b1-b177-96237e5ba77b

Tomasz Kojm authored on 2004/02/10 22:38:42
Showing 6 changed files
... ...
@@ -17,6 +17,10 @@ submission mechanism)
17 17
 Trog <trog*clamav.net>
18 18
 OLE2 and VBA decoders.
19 19
 
20
+Thomas Lamy <tlamy*clamav.net>
21
+gpg key   : http://www.clamav.net/gpg/tlamy.gpg
22
+Random hacker.
23
+
20 24
 Submission management interface (for database developers only): Diego d'Ambra
21 25
 <diego*clamav.net>, Thomas Madsen <tm*softcom.dk>
22 26
 
... ...
@@ -1,3 +1,7 @@
1
+Tue Feb 10 14:35:07 CET 2004 (tk)
2
+---------------------------------
3
+  * clamd: UseProcesses - permanently removed
4
+
1 5
 Tue Feb 10 10:38:08 GMT 2004 (trog)
2 6
 -----------------------------------
3 7
   * libclamav/ole2_extract.c: Improve error handling
... ...
@@ -32,7 +32,6 @@ clamd_SOURCES = \
32 32
     localserver.h \
33 33
     session.c \
34 34
     session.h \
35
-    server-proc.c \
36 35
     server-th.c \
37 36
     server.h \
38 37
     scanner.c \
... ...
@@ -130,7 +130,6 @@ install_sh = @install_sh@
130 130
 @BUILD_CLAMD_TRUE@    localserver.h \
131 131
 @BUILD_CLAMD_TRUE@    session.c \
132 132
 @BUILD_CLAMD_TRUE@    session.h \
133
-@BUILD_CLAMD_TRUE@    server-proc.c \
134 133
 @BUILD_CLAMD_TRUE@    server-th.c \
135 134
 @BUILD_CLAMD_TRUE@    server.h \
136 135
 @BUILD_CLAMD_TRUE@    scanner.c \
... ...
@@ -162,10 +161,9 @@ PROGRAMS = $(sbin_PROGRAMS)
162 162
 @BUILD_CLAMD_TRUE@am_clamd_OBJECTS = options.$(OBJEXT) cfgfile.$(OBJEXT) \
163 163
 @BUILD_CLAMD_TRUE@	clamd.$(OBJEXT) tcpserver.$(OBJEXT) \
164 164
 @BUILD_CLAMD_TRUE@	localserver.$(OBJEXT) session.$(OBJEXT) \
165
-@BUILD_CLAMD_TRUE@	server-proc.$(OBJEXT) server-th.$(OBJEXT) \
166
-@BUILD_CLAMD_TRUE@	scanner.$(OBJEXT) others.$(OBJEXT) \
167
-@BUILD_CLAMD_TRUE@	clamuko.$(OBJEXT) dazukoio.$(OBJEXT) \
168
-@BUILD_CLAMD_TRUE@	tests.$(OBJEXT)
165
+@BUILD_CLAMD_TRUE@	server-th.$(OBJEXT) scanner.$(OBJEXT) \
166
+@BUILD_CLAMD_TRUE@	others.$(OBJEXT) clamuko.$(OBJEXT) \
167
+@BUILD_CLAMD_TRUE@	dazukoio.$(OBJEXT) tests.$(OBJEXT)
169 168
 clamd_OBJECTS = $(am_clamd_OBJECTS)
170 169
 @BUILD_CLAMD_TRUE@clamd_DEPENDENCIES = ../clamscan/getopt.o
171 170
 @BUILD_CLAMD_FALSE@clamd_DEPENDENCIES =
... ...
@@ -179,9 +177,8 @@ am__depfiles_maybe = depfiles
179 179
 @AMDEP_TRUE@	./$(DEPDIR)/clamuko.Po ./$(DEPDIR)/dazukoio.Po \
180 180
 @AMDEP_TRUE@	./$(DEPDIR)/localserver.Po ./$(DEPDIR)/options.Po \
181 181
 @AMDEP_TRUE@	./$(DEPDIR)/others.Po ./$(DEPDIR)/scanner.Po \
182
-@AMDEP_TRUE@	./$(DEPDIR)/server-proc.Po ./$(DEPDIR)/server-th.Po \
183
-@AMDEP_TRUE@	./$(DEPDIR)/session.Po ./$(DEPDIR)/tcpserver.Po \
184
-@AMDEP_TRUE@	./$(DEPDIR)/tests.Po
182
+@AMDEP_TRUE@	./$(DEPDIR)/server-th.Po ./$(DEPDIR)/session.Po \
183
+@AMDEP_TRUE@	./$(DEPDIR)/tcpserver.Po ./$(DEPDIR)/tests.Po
185 184
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
186 185
 	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
187 186
 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
... ...
@@ -248,7 +245,6 @@ distclean-compile:
248 248
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@
249 249
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/others.Po@am__quote@
250 250
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scanner.Po@am__quote@
251
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/server-proc.Po@am__quote@
252 251
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/server-th.Po@am__quote@
253 252
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/session.Po@am__quote@
254 253
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tcpserver.Po@am__quote@
... ...
@@ -67,7 +67,6 @@ struct cfgstruct *parsecfg(const char *cfgfile)
67 67
 	    {"MaxConnectionQueueLength", OPT_NUM},
68 68
 	    {"StreamSaveToDisk", OPT_NOARG},
69 69
 	    {"StreamMaxLength", OPT_COMPSIZE},
70
-	    {"UseProcesses", OPT_NOARG},
71 70
 	    {"MaxThreads", OPT_NUM},
72 71
 	    {"ThreadTimeout", OPT_NUM},
73 72
 	    {"MaxDirectoryRecursion", OPT_NUM},
... ...
@@ -100,11 +100,7 @@ int localserver(const struct optstruct *opt, const struct cfgstruct *copt, struc
100 100
 	exit(1);
101 101
     }
102 102
 
103
-    /*
104
-    if(cfgopt(copt, "UseProcesses"))
105
-	acceptloop_proc(sockfd, root, copt);
106
-    else */
107
-	acceptloop_th(sockfd, root, copt);
103
+    acceptloop_th(sockfd, root, copt);
108 104
 
109 105
     return 0;
110 106
 }