Misc cleanups.

committer: mfx <mfx> 1060699283 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2003-08-12 14:41:23 +00:00
parent 3db0b0e8fe
commit d1753c6df9
4 changed files with 31 additions and 78 deletions
+1 -1
View File
@@ -378,7 +378,7 @@ void OutputFile::dump(const char *name, const void *buf, int len, int flags)
flags = O_CREAT | O_BINARY | O_TRUNC;
flags |= O_WRONLY;
OutputFile f;
f.open(name, flags, 0666);
f.open(name, flags, 0600);
f.write(buf, len);
f.closex();
}