|
|
|
@ -15,7 +15,7 @@ |
|
|
|
|
* along with this program; if not, write to the Free Software |
|
|
|
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
|
|
|
|
*/ |
|
|
|
|
static char const rcsid[] = "$Id: blob.c,v 1.38 2005/03/18 08:34:35 nigelhorne Exp $"; |
|
|
|
|
static char const rcsid[] = "$Id: blob.c,v 1.39 2005/03/20 09:09:25 nigelhorne Exp $"; |
|
|
|
|
|
|
|
|
|
#if HAVE_CONFIG_H |
|
|
|
|
#include "clamav-config.h" |
|
|
|
@ -41,21 +41,6 @@ static char const rcsid[] = "$Id: blob.c,v 1.38 2005/03/18 08:34:35 nigelhorne E |
|
|
|
|
#define NDEBUG /* map CLAMAV debug onto standard */ |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/* Maximum filenames under various systems */ |
|
|
|
|
#ifndef NAME_MAX /* e.g. Linux */ |
|
|
|
|
|
|
|
|
|
#ifdef MAXNAMELEN /* e.g. Solaris */ |
|
|
|
|
#define NAME_MAX MAXNAMELEN |
|
|
|
|
#else |
|
|
|
|
|
|
|
|
|
#ifdef FILENAME_MAX /* e.g. SCO */ |
|
|
|
|
#define NAME_MAX FILENAME_MAX |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#ifndef O_BINARY |
|
|
|
|
#define O_BINARY 0 |
|
|
|
|
#endif |
|
|
|
|