]> granicus.if.org Git - python/commit
Of course, I shouldn't have used lseek() to find out the file's
authorGuido van Rossum <guido@python.org>
Tue, 3 Mar 1998 22:36:10 +0000 (22:36 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 3 Mar 1998 22:36:10 +0000 (22:36 +0000)
commitdcb5e7f3892da0a8f7bb8ac518a2053c04ed1e43
tree17088fb1da125b09bed7a5a0fc477eb4f0ab2b8d
parentd65911b3f3a2f8d72d170cc3537aa832d42591b6
Of course, I shouldn't have used lseek() to find out the file's
position in new_buffersize(); the correct function to use is ftell().
Thanks to Ben Jackson.
Objects/fileobject.c