On Thu, Nov 21, 2024 at 5:53 AM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> The lseek() is suspicious too,
> and might need to be redirected to _lseeki64().
There's a call to ftruncate() in there too. Looks like its Windows
definition is also 32-bit:
#define ftruncate(a,b) chsize(a,b)
--Jacob