[fpc-pascal] Findfirst/findnext with a samba share

Ludo Brands ludo.brands at free.fr
Fri Mar 1 18:26:16 CET 2013


On 03/01/2013 04:37 PM, Michael Van Canneyt wrote:
> 
> On Fri, 1 Mar 2013, Ludo Brands wrote:
> 
>> What about just using a 32k buffer?
> 
> No problem with that as far as I am concerned.
> 
> Since the code is shared between embedded and non-embedded targets, it
> might be better to have the option to specify the size of the buffer to
> use.
> 
Being able to override the buffer size at runtime would indeed be the
best solution. Embedded systems with a file system and short on memory
to accommodate a 32k block is rather uncommon these days.

> In recursive cases, it means that Depth*BufferSize buffers will be
> allocated.
> 
Yes.

Ludo





More information about the fpc-pascal mailing list