Re: [fpc-pascal] Large file support

2017-06-04 Thread Marco van de Voort
In our previous episode, Mattias Gaertner said: > > > > Afaik Michael always works with trunk fpdoc, but of course the 3.0.2 docs > > were generated in march. > > The $if support was added recently to pscanner. Ah ok, so it was $if vs $ifdef? Anyway, for now I added fs32bit deprecation to major

Re: [fpc-pascal] Large file support

2017-06-02 Thread Mattias Gaertner
On Sat, 3 Jun 2017 01:02:35 +0200 (CEST) mar...@stack.nl (Marco van de Voort) wrote: > In our previous episode, Mattias Gaertner said: > > mar...@stack.nl (Marco van de Voort) wrote: > > > > >[...] > > > {$if not defined(fs32bit)} > > > off_t= cint64; { used for file sizes

Re: [fpc-pascal] Large file support

2017-06-02 Thread Marco van de Voort
In our previous episode, Mattias Gaertner said: > mar...@stack.nl (Marco van de Voort) wrote: > > >[...] > > {$if not defined(fs32bit)} > > off_t= cint64; { used for file sizes } > > {$else} > > off_t= cint; > > {$endif} > >[...] > > Maybe we could clean it out. W

Re: [fpc-pascal] Large file support

2017-06-02 Thread Mattias Gaertner
On Fri, 2 Jun 2017 12:50:57 +0200 (CEST) mar...@stack.nl (Marco van de Voort) wrote: >[...] > {$if not defined(fs32bit)} > off_t= cint64; { used for file sizes } > {$else} > off_t= cint; > {$endif} >[...] > Maybe we could clean it out. Why the documentation tool p

Re: [fpc-pascal] Large file support

2017-06-02 Thread Mark Morgan Lloyd
On 02/06/17 11:00, Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said:> > 8 apparently, but off_t is documented as a cint32.> > https://www.freepascal.org/docs-html/current/rtl/unixtype/off_t.html The declaration is {$if not defined(fs32bit)}off_t= cint64;

Re: [fpc-pascal] Large file support

2017-06-02 Thread Marco van de Voort
In our previous episode, Marco van de Voort said: > > FPC_USE_LIBC for linux and *bsd still is still hardly used afaik. > > Maybe we could clean it out. These sentences came close together while composing the message, so to be clear: I didn't mean cleaning out FPC_USE_LIBC, only the fs32bit def

Re: [fpc-pascal] Large file support

2017-06-02 Thread Marco van de Voort
In our previous episode, Mark Morgan Lloyd said: > > 8 apparently, but off_t is documented as a cint32. > > https://www.freepascal.org/docs-html/current/rtl/unixtype/off_t.html The declaration is {$if not defined(fs32bit)} off_t= cint64; { used for file sizes } {$else

Re: [fpc-pascal] Large file support

2017-06-02 Thread Mark Morgan Lloyd
On 02/06/17 10:00, Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said:> Could I have a reality check please: is there no fpLSeek64() for files > larger than 2Gb? Afaik, there is no such posix calls. In the past, most linux temporarily hadsome -64 calls while it left the m

Re: [fpc-pascal] Large file support

2017-06-02 Thread Marco van de Voort
In our previous episode, Mark Morgan Lloyd said: > Could I have a reality check please: is there no fpLSeek64() for files > larger than 2Gb? Afaik, there is no such posix calls. In the past, most linux temporarily had some -64 calls while it left the main calls 32-bit to make transition smoother,

[fpc-pascal] Large file support

2017-06-02 Thread Mark Morgan Lloyd
Could I have a reality check please: is there no fpLSeek64() for files larger than 2Gb? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc