Antoine Pitrou added the comment:

Actually, recent POSIX states unconditionally that:

« If the file previously was smaller than this size, ftruncate() shall increase 
the size of the file. If the file size is increased, the extended area shall 
appear as if it were zero-filled. »

(from http://pubs.opengroup.org/onlinepubs/9699919799/functions/ftruncate.html)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21116>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to