git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@862 77e5149b-7576-45b1-b177-96237e5ba77b
Nigel Horne authored on 2004/09/14 19:31:26... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Tue Sep 14 11:30:43 BST 2004 (njh) |
|
2 |
+---------------------------------- |
|
3 |
+ * libclamav/untar.c: Fix compilation error on AIX and OSF |
|
4 |
+ |
|
1 | 5 |
Tue Sep 14 03:30:12 CEST 2004 (tk) |
2 | 6 |
---------------------------------- |
3 | 7 |
* libclamav: initial support for new signature format |
... | ... |
@@ -20,6 +20,9 @@ |
20 | 20 |
* |
21 | 21 |
* Change History: |
22 | 22 |
* $Log: untar.c,v $ |
23 |
+ * Revision 1.9 2004/09/14 10:29:31 nigelhorne |
|
24 |
+ * Fix compilation error on AIX and OSF |
|
25 |
+ * |
|
23 | 26 |
* Revision 1.8 2004/09/12 23:43:45 kojm |
24 | 27 |
* return with CL_EFORMAT instead of CL_EDSIG |
25 | 28 |
* |
... | ... |
@@ -45,7 +48,7 @@ |
45 | 45 |
* First draft |
46 | 46 |
* |
47 | 47 |
*/ |
48 |
-static char const rcsid[] = "$Id: untar.c,v 1.8 2004/09/12 23:43:45 kojm Exp $"; |
|
48 |
+static char const rcsid[] = "$Id: untar.c,v 1.9 2004/09/14 10:29:31 nigelhorne Exp $"; |
|
49 | 49 |
|
50 | 50 |
#include <stdio.h> |
51 | 51 |
#include <errno.h> |
... | ... |
@@ -78,6 +81,10 @@ static char const rcsid[] = "$Id: untar.c,v 1.8 2004/09/12 23:43:45 kojm Exp $"; |
78 | 78 |
|
79 | 79 |
#endif |
80 | 80 |
|
81 |
+#ifndef O_BINARY |
|
82 |
+#define O_BINARY 0 |
|
83 |
+#endif |
|
84 |
+ |
|
81 | 85 |
static int |
82 | 86 |
octal(const char *str) |
83 | 87 |
{ |