[pypy-commit] pypy default: Fixed issue 1739

kirbyfan64sos noreply at buildbot.pypy.org
Sun Apr 27 11:02:41 CEST 2014


Author: Ryan Gonzalez <rymg19 at gmail.com>
Branch: 
Changeset: r71014:c9b6527cd5a6
Date: 2014-04-23 20:32 +0000
http://bitbucket.org/pypy/pypy/changeset/c9b6527cd5a6/

Log:	Fixed issue 1739

diff --git a/rpython/rlib/streamio.py b/rpython/rlib/streamio.py
--- a/rpython/rlib/streamio.py
+++ b/rpython/rlib/streamio.py
@@ -48,8 +48,8 @@
            ('r', True):  O_RDWR,
            ('w', False): O_WRONLY | O_CREAT | O_TRUNC,
            ('w', True):  O_RDWR   | O_CREAT | O_TRUNC,
-           ('a', False): O_WRONLY | O_CREAT,
-           ('a', True):  O_RDWR   | O_CREAT,
+           ('a', False): O_WRONLY | O_CREAT | O_APPEND,
+           ('a', True):  O_RDWR   | O_CREAT | O_APPEND,
            }
 
 class MyNotImplementedError(Exception):


More information about the pypy-commit mailing list