|
a/src/index/mimetype.cpp |
|
b/src/index/mimetype.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: mimetype.cpp,v 1.11 2005-11-21 14:31:24 dockes Exp $ (C) 2004 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: mimetype.cpp,v 1.12 2005-11-21 17:18:58 dockes Exp $ (C) 2004 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
|
4 |
|
5 |
#ifndef TEST_MIMETYPE
|
5 |
#ifndef TEST_MIMETYPE
|
6 |
#include <ctype.h>
|
6 |
#include <ctype.h>
|
7 |
#include <string>
|
7 |
#include <string>
|
|
... |
|
... |
15 |
#include "execmd.h"
|
15 |
#include "execmd.h"
|
16 |
#include "rclconfig.h"
|
16 |
#include "rclconfig.h"
|
17 |
#include "smallut.h"
|
17 |
#include "smallut.h"
|
18 |
#include "idfile.h"
|
18 |
#include "idfile.h"
|
19 |
|
19 |
|
|
|
20 |
// Solaris8's 'file' command doesnt understand -i
|
|
|
21 |
#ifndef sun
|
20 |
#define USE_SYSTEM_FILE_COMMAND
|
22 |
#define USE_SYSTEM_FILE_COMMAND
|
|
|
23 |
#endif
|
21 |
|
24 |
|
22 |
/// Identification of file from contents. This is called for files with
|
25 |
/// Identification of file from contents. This is called for files with
|
23 |
/// unrecognized extensions (none, or not known either for indexing or
|
26 |
/// unrecognized extensions (none, or not known either for indexing or
|
24 |
/// stop list)
|
27 |
/// stop list)
|
25 |
///
|
28 |
///
|