Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / base / file_util.cc
index c1bf50a..d11cd15 100644 (file)
@@ -157,6 +157,7 @@ bool ReadFileToString(const FilePath& path,
 
     size += len;
   }
+  read_status = read_status && !ferror(file);
   CloseFile(file);
 
   return read_status;