projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git]
/
src
/
base
/
file_util.cc
diff --git
a/src/base/file_util.cc
b/src/base/file_util.cc
index
c1bf50a
..
d11cd15
100644
(file)
--- a/
src/base/file_util.cc
+++ b/
src/base/file_util.cc
@@
-157,6
+157,7
@@
bool ReadFileToString(const FilePath& path,
size += len;
}
+ read_status = read_status && !ferror(file);
CloseFile(file);
return read_status;