diff options
author | Evan Martin <martine@danga.com> | 2012-08-12 18:59:35 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2012-08-12 18:59:35 (GMT) |
commit | 07bd1e2f088c55dfb01609e73febc08cedf854ad (patch) | |
tree | 12b0167f04ffa69522e971834310458c8bb1d8ab | |
parent | ee625b0b8a16a3182bf1e0531c81f846ef9f4df9 (diff) | |
download | Ninja-07bd1e2f088c55dfb01609e73febc08cedf854ad.zip Ninja-07bd1e2f088c55dfb01609e73febc08cedf854ad.tar.gz Ninja-07bd1e2f088c55dfb01609e73febc08cedf854ad.tar.bz2 |
doc that ReadFile reads in text mode on Windows
-rw-r--r-- | src/util.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -41,7 +41,8 @@ bool CanonicalizePath(string* path, string* err); bool CanonicalizePath(char* path, size_t* len, string* err); -/// Read a file to a string. +/// Read a file to a string (in text mode: with CRLF conversion +/// on Windows). /// Returns -errno and fills in \a err on error. int ReadFile(const string& path, string* contents, string* err); |