|
a/src/utils/idfile.cpp |
|
b/src/utils/idfile.cpp |
|
... |
|
... |
13 |
* along with this program; if not, write to the
|
13 |
* along with this program; if not, write to the
|
14 |
* Free Software Foundation, Inc.,
|
14 |
* Free Software Foundation, Inc.,
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
16 |
*/
|
16 |
*/
|
17 |
#ifndef TEST_IDFILE
|
17 |
#ifndef TEST_IDFILE
|
18 |
#include <unistd.h> // for access(2)
|
|
|
19 |
#include <stdlib.h>
|
18 |
#include <stdlib.h>
|
20 |
#include <ctype.h>
|
19 |
#include <ctype.h>
|
21 |
#include <cstring>
|
20 |
#include <cstring>
|
22 |
|
21 |
|
23 |
#include <fstream>
|
22 |
#include <fstream>
|
24 |
#include <sstream>
|
23 |
#include <sstream>
|
25 |
|
24 |
|
26 |
#include "idfile.h"
|
25 |
#include "idfile.h"
|
27 |
#include "debuglog.h"
|
26 |
#include "debuglog.h"
|
28 |
|
27 |
|
29 |
#ifndef NO_NAMESPACES
|
|
|
30 |
using namespace std;
|
28 |
using namespace std;
|
31 |
#endif /* NO_NAMESPACES */
|
|
|
32 |
|
29 |
|
33 |
// Bogus code to avoid bogus valgrind mt warnings about the
|
30 |
// Bogus code to avoid bogus valgrind mt warnings about the
|
34 |
// initialization of treat_mbox_... which I can't even remember the
|
31 |
// initialization of treat_mbox_... which I can't even remember the
|
35 |
// use of (it's not documented or ever set)
|
32 |
// use of (it's not documented or ever set)
|
36 |
static int treat_mbox_as_rfc822;
|
33 |
static int treat_mbox_as_rfc822;
|
|
... |
|
... |
177 |
#include <stdlib.h>
|
174 |
#include <stdlib.h>
|
178 |
|
175 |
|
179 |
#include <string>
|
176 |
#include <string>
|
180 |
#include <iostream>
|
177 |
#include <iostream>
|
181 |
|
178 |
|
182 |
#include <unistd.h>
|
|
|
183 |
#include <fcntl.h>
|
179 |
#include <fcntl.h>
|
184 |
|
180 |
|
185 |
using namespace std;
|
181 |
using namespace std;
|
186 |
|
182 |
|
187 |
#include "debuglog.h"
|
183 |
#include "debuglog.h"
|