https://gitlab.synchro.net/main/sbbs/-/commit/6e8fd1d1ed5a73b9a1542431
Modified Files:
docs/v322_new.md src/sbbs3/js_file.cpp
Log Message:
JS File.position: support offsets beyond 4GB
The position setter converted the value to a 32-bit unsigned integer (370b79dd7a (2021-04-22)) and both accessors used fseek()/ftell(), so
a script could neither seek past 4GB in a larger file nor read back
its position there: an assigned offset silently wrapped modulo 2^32.
Example: a script walking the atoms of a 37GB MP4 file could not reach
the "moov" atom stored at the end of the file.
Take the value as a number and use fseeko()/ftello(). A negative or
non-numeric value now seeks to the start of the file.
Co-Authored-By: Claude Fable 5.2 <
noreply@anthropic.com>
--- SBBSecho 3.38-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)