Index: src/platform-linux.cc |
=================================================================== |
--- src/platform-linux.cc (revision 6858) |
+++ src/platform-linux.cc (working copy) |
@@ -327,7 +327,7 @@ |
OS::MemoryMappedFile* OS::MemoryMappedFile::open(const char* name) { |
- FILE* file = fopen(name, "w+"); |
+ FILE* file = fopen(name, "a+"); |
mnaganov (inactive)
2011/02/21 10:37:56
I don't think "a+" is the right flag. If you plan
|
if (file == NULL) return NULL; |
fseek(file, 0, SEEK_END); |