This commit is contained in:
Kovid Goyal 2010-09-30 16:52:14 -06:00
parent 3bffc1a48c
commit 97eec2c16d

View File

@ -130,7 +130,7 @@ if not _run_once:
if random:
flags = os._O_RDWR | os._O_RANDOM
else:
flags = os._WRONLY | os._O_SEQUENTIAL
flags = os._O_WRONLY | os._O_SEQUENTIAL
flags |= os._O_TRUNC | os._O_CREAT
if binary:
flags |= os._O_BINARY