Chromium Code Reviews| Index: src/platform-cygwin.cc |
| =================================================================== |
| --- src/platform-cygwin.cc (revision 6868) |
| +++ src/platform-cygwin.cc (working copy) |
| @@ -209,7 +209,7 @@ |
| OS::MemoryMappedFile* OS::MemoryMappedFile::open(const char* name) { |
| - FILE* file = fopen(name, "w+"); |
| + FILE* file = fopen(name, "r+"); |
| if (file == NULL) return NULL; |
| fseek(file, 0, SEEK_END); |