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

Max Vlasov max.vlasov at gmail.com
Fri Mar 1 10:55:44 CET 2013


On Fri, Mar 1, 2013 at 12:32 PM, Ludo Brands <ludo.brands at free.fr> wrote:

> On 03/01/2013 09:14 AM, Max Vlasov wrote:
> >
> > The question is what is different in nautilus and midnight commander
> > comparing to fpc directoy-listing functions that allows them to list
> > directories correctly in the bug's case?
> >
>
> The difference with other tools is that FPC gives a very small buffer to
> getdents64.
>

Thanks, did I understand this right? It's a samba bug, but it appears only
in a specific context of small buffers, other programs (nautilus, mc)
usually use larger buffers so has a kind of workaround this bug.

Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130301/47fe9e06/attachment.html>


More information about the fpc-pascal mailing list