projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cgi: reads stdin part of MP-564
[metaproxy-moved-to-github.git]
/
src
/
plainfile.cpp
diff --git
a/src/plainfile.cpp
b/src/plainfile.cpp
index
576e455
..
5b560c8
100644
(file)
--- a/
src/plainfile.cpp
+++ b/
src/plainfile.cpp
@@
-1,5
+1,5
@@
/* This file is part of Metaproxy.
/* This file is part of Metaproxy.
- Copyright (C) 2005-2008 Index Data
+ Copyright (C) Index Data
Metaproxy is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Metaproxy is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
@@
-23,7
+23,7
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include <iostream>
#include <fstream>
#include <iostream>
#include <fstream>
-#include "util.hpp"
+#include <metaproxy/util.hpp>
#define PLAINFILE_MAX_LINE 256
#define PLAINFILE_MAX_LINE 256
@@
-89,7
+89,7
@@
bool mp::PlainFile::getline(std::vector<std::string> &args)
m_p->close(); // might as well close it now
return false;
}
m_p->close(); // might as well close it now
return false;
}
-
+
m_p->lineno++;
m_p->fh->getline(line_cstr, PLAINFILE_MAX_LINE-1);
char first = line_cstr[0];
m_p->lineno++;
m_p->fh->getline(line_cstr, PLAINFILE_MAX_LINE-1);
char first = line_cstr[0];
@@
-117,8
+117,9
@@
bool mp::PlainFile::getline(std::vector<std::string> &args)
/*
* Local variables:
* c-basic-offset: 4
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* indent-tabs-mode: nil
- * c-file-style: "stroustrup"
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
*/
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
*/
+