git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@1040 77e5149b-7576-45b1-b177-96237e5ba77b
Nigel Horne authored on 2004/10/27 15:37:57... | ... |
@@ -1,3 +1,8 @@ |
1 |
+Wed Oct 27 07:36:49 BST 2004 (njh) |
|
2 |
+---------------------------------- |
|
3 |
+ * libclamav/untar.c: Handle links to another file already archived, patch |
|
4 |
+ by "Roger Lucas" <roger@planbit.co.uk> |
|
5 |
+ |
|
1 | 6 |
Sun Oct 24 05:36:39 BST 2004 (njh) |
2 | 7 |
---------------------------------- |
3 | 8 |
* libclamav/mbox.c: Handle multipart/knowbot as multipart/mixed |
... | ... |
@@ -21,6 +21,9 @@ |
21 | 21 |
* |
22 | 22 |
* Change History: |
23 | 23 |
* $Log: untar.c,v $ |
24 |
+ * Revision 1.17 2004/10/27 06:36:38 nigelhorne |
|
25 |
+ * Handle type '1' files |
|
26 |
+ * |
|
24 | 27 |
* Revision 1.16 2004/10/20 12:21:11 nigelhorne |
25 | 28 |
* Print warning message about LongLink |
26 | 29 |
* |
... | ... |
@@ -70,7 +73,7 @@ |
70 | 70 |
* First draft |
71 | 71 |
* |
72 | 72 |
*/ |
73 |
-static char const rcsid[] = "$Id: untar.c,v 1.16 2004/10/20 12:21:11 nigelhorne Exp $"; |
|
73 |
+static char const rcsid[] = "$Id: untar.c,v 1.17 2004/10/27 06:36:38 nigelhorne Exp $"; |
|
74 | 74 |
|
75 | 75 |
#include <stdio.h> |
76 | 76 |
#include <errno.h> |
... | ... |
@@ -178,6 +181,7 @@ cli_untar(const char *dir, int desc) |
178 | 178 |
case '7': /* contiguous file */ |
179 | 179 |
directory = 0; |
180 | 180 |
break; |
181 |
+ case '1': /* Link to already archived file */ |
|
181 | 182 |
case '5': /* directory */ |
182 | 183 |
case '2': /* sym link */ |
183 | 184 |
case '3': /* char device */ |