commit | 54a188aed8cc8333927a679bb00eda4e25aa0cba | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Fri Mar 31 20:00:11 2006 +0000 |
committer | Georg Brandl <georg@python.org> | Fri Mar 31 20:00:11 2006 +0000 |
tree | d7e8d7a2b743c63927216d8060bae4625734b134 | |
parent | dcdfd22bb411ebf0d58bba135455c4abf2bc9ce1 [diff] |
bug #1461855: make os.fdopen() add the O_APPEND flag if using "a" mode. glibc, for example, does this already on its own, but it seems that the solaris libc doesn't. This leads to Python code being able to over- write file contents even though having specified "a" mode.