Hi,

Working with lazarus on Linux Mint I noticed that when I mount a windows
shared with "Connect to server", everything works fine (Nautilus, Midnight
Commander, Lazarus file operations). But meeting that .gvfs folder is
hidden, I tried to mount "mount -t cifs" directly  in the shell.

After such mapping Nautilus and mc worked the same, but Lazarus stopped
seeing some of files (for example 3 from the folder containing 76).

I tried to run lazarus in the debugger and narrowed it to findFirst/Next
that calls fpReadDir and this one calls linux' getdents64 to list directoty
entries (since it's fpc rtl, I'm posting here). Querying for mentioning
this at the web, I found that there were reports in the bugtracker that
attributed this to a samba bug (
https://bugzilla.samba.org/show_bug.cgi?id=8044 ).

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?

Thanks,

Max Vlasov
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to