Files
cpython/Objects
Guido van Rossum 4f53da07bf Two improvements to large file support:
- In _portable_ftell(), try fgetpos() before ftello() and ftell64().
  I ran into a situation on a 64-bit capable Linux where the C
  library's ftello() and ftell64() returned negative numbers despite
  fpos_t and off_t both being 64-bit types; fgetpos() did the right
  thing.

- Define a new typedef, Py_off_t, which is either fpos_t or off_t,
  depending on which one is 64 bits.  This removes the need for a lot
  of #ifdefs later on.  (XXX Should this be moved to pyport.h?  That
  file currently seems oblivious to large fille support, so for now
  I'll leave it here where it's needed.)
2001-03-01 18:26:53 +00:00
..
2000-05-02 18:34:30 +00:00
2001-01-17 15:29:42 +00:00
2001-01-25 20:04:14 +00:00
2001-01-18 00:39:02 +00:00
2001-01-17 15:32:23 +00:00
2001-01-17 15:33:18 +00:00
2001-01-18 00:00:53 +00:00