summaryrefslogtreecommitdiff
path: root/Python/getplatform.c
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2007-07-12 11:21:36 +0000
committerThomas Heller <theller@ctypes.org>2007-07-12 11:21:36 +0000
commitfdeee3a6cdadee0e32dcec9783b1aaa5e231bdf6 (patch)
tree21d39a6c3faf3c285cf9f80cc7afe4c29a1bebe6 /Python/getplatform.c
parentaf2be262af836eb1d8cb1a555d1640d5e0bfef86 (diff)
downloadcpython-git-fdeee3a6cdadee0e32dcec9783b1aaa5e231bdf6.tar.gz
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 'Python/getplatform.c')
0 files changed, 0 insertions, 0 deletions