|
a/src/httpfs.cxx |
|
b/src/httpfs.cxx |
|
... |
|
... |
222 |
// Must be eof ? But maybe we have a partial line which
|
222 |
// Must be eof ? But maybe we have a partial line which
|
223 |
// must be processed. This happens if the last line before
|
223 |
// must be processed. This happens if the last line before
|
224 |
// eof ends with a backslash, or there is no final \n
|
224 |
// eof ends with a backslash, or there is no final \n
|
225 |
eof = true;
|
225 |
eof = true;
|
226 |
}
|
226 |
}
|
227 |
trimstring(line, " \t\n\r");
|
227 |
trimstring(line, " \t\n\r,");
|
228 |
if (line[line.size()-1] != ',') {
|
|
|
229 |
line += ",";
|
228 |
line += ',';
|
230 |
}
|
|
|
231 |
if (enableL16 && line[0] == '@') {
|
229 |
if (enableL16 && line[0] == '@') {
|
232 |
line = regsub1("@ENABLEL16@", line, "");
|
230 |
line = regsub1("@ENABLEL16@", line, "");
|
233 |
} else {
|
231 |
} else {
|
234 |
line = regsub1("@ENABLEL16@", line, "#");
|
232 |
line = regsub1("@ENABLEL16@", line, "#");
|
235 |
}
|
233 |
}
|