FS: Modified so that newlines are no longer added

- Now consistent with Taskserver and Common, and actually what we started
  with.
This commit is contained in:
Paul Beckingham
2016-02-21 11:04:13 -05:00
parent 29a7837fda
commit 140accc3d7

View File

@@ -520,7 +520,7 @@ void File::append (const std::string& line)
if (_fh)
{
fseek (_fh, 0, SEEK_END);
fputs ((line + "\n").c_str (), _fh);
fputs (line.c_str (), _fh);
}
}
@@ -535,7 +535,7 @@ void File::append (const std::vector <std::string>& lines)
{
fseek (_fh, 0, SEEK_END);
for (auto& line : lines)
fputs ((line + "\n").c_str (), _fh);
fputs (line.c_str (), _fh);
}
}