git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@83 77e5149b-7576-45b1-b177-96237e5ba77b
Nigel Horne authored on 2003/10/13 05:17:03... | ... |
@@ -1,13 +1,16 @@ |
1 |
+Sun Oct 12 21:14:21 BST 2003 (njh) |
|
2 |
+--------------------------------- |
|
3 |
+ * libclamav: mbox.c now uses NO_STRTOK_R consistently with message.c |
|
4 |
+ Patch by Bernd Kuhls <spiralvoice@hotmail.com> |
|
5 |
+ |
|
1 | 6 |
Sun Oct 12 19:46:18 CEST 2003 (tk) |
2 | 7 |
---------------------------------- |
3 | 8 |
* libclamav: Makefile: do not overwrite CFLAGS |
4 | 9 |
|
5 |
- * libclamav: handles Eicar found in Appledouble files, though Appledouble |
|
6 |
- files are not yet handled |
|
7 |
- |
|
8 | 10 |
Sun Oct 12 09:37:44 BST 2003 (njh) |
9 | 11 |
--------------------------------- |
12 |
+ * libclamav: handles Eicar found in Appledouble files, though Appledouble |
|
13 |
+ files are not yet handled |
|
10 | 14 |
* clamav-milter: use VERSION info to talk to clamd not PING/PONG |
11 | 15 |
Only close fd 0/1/2 if !Foreground |
12 | 16 |
Sanity checking now performed on LocalSocket as well as TCPSocket |
... | ... |
@@ -17,6 +17,9 @@ |
17 | 17 |
* |
18 | 18 |
* Change History: |
19 | 19 |
* $Log: mbox.c,v $ |
20 |
+ * Revision 1.15 2003/10/12 20:13:49 nigelhorne |
|
21 |
+ * Use NO_STRTOK_R consistent with message.c |
|
22 |
+ * |
|
20 | 23 |
* Revision 1.14 2003/10/12 12:37:11 nigelhorne |
21 | 24 |
* Appledouble encoded EICAR now found |
22 | 25 |
* |
... | ... |
@@ -33,7 +36,7 @@ |
33 | 33 |
* Compilable under SCO; removed duplicate code with message.c |
34 | 34 |
* |
35 | 35 |
*/ |
36 |
-static char const rcsid[] = "$Id: mbox.c,v 1.14 2003/10/12 12:37:11 nigelhorne Exp $"; |
|
36 |
+static char const rcsid[] = "$Id: mbox.c,v 1.15 2003/10/12 20:13:49 nigelhorne Exp $"; |
|
37 | 37 |
|
38 | 38 |
#ifndef CL_DEBUG |
39 | 39 |
/*#define NDEBUG /* map CLAMAV debug onto standard */ |
... | ... |
@@ -66,8 +69,7 @@ static char const rcsid[] = "$Id: mbox.c,v 1.14 2003/10/12 12:37:11 nigelhorne E |
66 | 66 |
#include "others.h" |
67 | 67 |
#include "defaults.h" |
68 | 68 |
|
69 |
-/* FIXME: implement HAVE_STRTOK_R */ |
|
70 |
-#ifndef CL_THREAD_SAFE |
|
69 |
+#if defined(NO_STRTOK_R) || !defined(CL_THREAD_SAFE) |
|
71 | 70 |
#undef strtok_r |
72 | 71 |
#undef __strtok_r |
73 | 72 |
#define strtok_r(a,b,c) strtok(a,b) |