Author: Armin Rigo <[email protected]>
Branch:
Changeset: r71015:0db096e05bee
Date: 2014-04-27 11:02 +0200
http://bitbucket.org/pypy/pypy/changeset/0db096e05bee/
Log: Fixed issue 1739
Merged in kirbyfan64sos/pypy (pull request #232). Tests missing so
far, but I'm merging anyway for now.
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