thomas.heller schrieb: > Author: thomas.heller > Date: Thu Jul 12 13:21:36 2007 > New Revision: 56311 > > Modified: > python/branches/py3k-struni/Modules/_fileio.c > Log: > Second part of sf# 1752225: On windows, emulate ftruncate with Win32 > api functions. Code from fileobject.c, patch by Amaury Forgeot d'Arc.
I forgot to explain that 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. _______________________________________________ Python-3000-checkins mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000-checkins
