Use closex() instead of close() in OutputFile::dump().
committer: mfx <mfx> 976878029 +0000
This commit is contained in:
+1
-1
@@ -346,7 +346,7 @@ void OutputFile::dump(const char *name, const void *buf, int len, int flags)
|
|||||||
OutputFile f;
|
OutputFile f;
|
||||||
f.open(name, flags, 0666);
|
f.open(name, flags, 0666);
|
||||||
f.write(buf, len);
|
f.write(buf, len);
|
||||||
f.close();
|
f.closex();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user