mirror of
https://github.com/python/cpython
synced 2026-09-28 07:38:20 +03:00
Donn Cave <donn@oz.net>:
Fix large file support for BeOS. This closes SourceForge patch #101773. Refer to the patch discussion for information on possible alternate fixes.
This commit is contained in:
parent
24c532a512
commit
db810ac2b8
1 changed files with 2 additions and 0 deletions
|
|
@ -254,6 +254,8 @@ _portable_fseek(FILE *fp, off_t offset, int whence)
|
|||
return fseeko(fp, offset, whence);
|
||||
#elif defined(HAVE_FSEEK64)
|
||||
return fseek64(fp, offset, whence);
|
||||
#elif defined(__BEOS__)
|
||||
return _fseek(fp, offset, whence);
|
||||
#elif defined(HAVE_LARGEFILE_SUPPORT) && SIZEOF_FPOS_T >= 8
|
||||
/* lacking a 64-bit capable fseek() (as Win64 does) use a 64-bit capable
|
||||
fsetpos() and tell() to implement fseek()*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue