From 07bd1e2f088c55dfb01609e73febc08cedf854ad Mon Sep 17 00:00:00 2001 From: Evan Martin Date: Sun, 12 Aug 2012 11:59:35 -0700 Subject: doc that ReadFile reads in text mode on Windows --- src/util.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util.h b/src/util.h index ab1882b..7e30368 100644 --- a/src/util.h +++ b/src/util.h @@ -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); -- cgit v0.12