Author: Ryan Gonzalez <[email protected]>
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):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to