diff options
author | Thomas Heller <theller@ctypes.org> | 2007-07-12 11:21:36 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2007-07-12 11:21:36 (GMT) |
commit | fdeee3a6cdadee0e32dcec9783b1aaa5e231bdf6 (patch) | |
tree | 21d39a6c3faf3c285cf9f80cc7afe4c29a1bebe6 /Lib | |
parent | af2be262af836eb1d8cb1a555d1640d5e0bfef86 (diff) | |
download | cpython-fdeee3a6cdadee0e32dcec9783b1aaa5e231bdf6.zip cpython-fdeee3a6cdadee0e32dcec9783b1aaa5e231bdf6.tar.gz cpython-fdeee3a6cdadee0e32dcec9783b1aaa5e231bdf6.tar.bz2 |
Second part of sf# 1752225: On windows, emulate ftruncate with Win32
api functions. Code from fileobject.c, patch by Amaury Forgeot d'Arc.
This patch also changes:
The return value of the native ftruncate function is checked for '!=
0' instead of '< 0' as before.
fileio_seekable returns bool now instead of an int.
Diffstat (limited to 'Lib')
0 files changed, 0 insertions, 0 deletions