Switch to unified view

a/src/utils/readfile.cpp b/src/utils/readfile.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: readfile.cpp,v 1.1 2004-12-14 17:54:16 dockes Exp $ (C) 2004 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: readfile.cpp,v 1.2 2005-11-24 07:16:16 dockes Exp $ (C) 2004 J.F.Dockes";
3
#endif
3
#endif
4
4
5
#include <unistd.h>
5
#include <unistd.h>
6
#include <fcntl.h>
6
#include <fcntl.h>
7
#ifndef O_STREAMING
7
#ifndef O_STREAMING
8
#define O_STREAMING 0
8
#define O_STREAMING 0
9
#endif
9
#endif
10
#include <errno.h>
10
#include <errno.h>
11
11
12
#include <string>
12
#include <string>
13
#ifndef NO_NAMESPACES
13
using std::string;
14
using std::string;
15
#endif /* NO_NAMESPACES */
14
16
15
#include "readfile.h"
17
#include "readfile.h"
16
18
17
bool file_to_string(const string &fn, string &data)
19
bool file_to_string(const string &fn, string &data)
18
{
20
{