Fix File::readToString() on Windows.
authorTeemu Murtola <teemu.murtola@gmail.com>
Thu, 26 Apr 2012 12:20:27 +0000 (15:20 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Thu, 26 Apr 2012 12:21:55 +0000 (15:21 +0300)
commitb5065cae2c95dd06dec807431c45509976d47288
tree465d5e55a1196ea7fd0d43d34181a8e82ca90c5c
parentd614cc2852b067c3040ba71d7d12428a07028da9
Fix File::readToString() on Windows.

There are probably some corner cases that are not handled correctly by
the new version, but hopefully it now works for the tests where it is
used.

Change-Id: Id18cc816e3476ed06091f014e13671a8010e8c56
src/gromacs/utility/file.cpp