Graeme Geldenhuys wrote 8 lines
Hi,
Under Linux the maximum file length is 255 character. Gnome's Nautilus
allows that length. Any larger and Nautilus or a terminal command like
'cp' complains.
FindFile / FindNext however seems to have a 253 character limit! Why
the difference when the OS can support up to 255 characters?
I forgot to attach my applications output. In the first run, the file is 253 characters long. FindFile/FindNext found 15 entries, which is correct. I then changed the file to be 254 characters long and now FindFile/FindNext exits as soon as it gets to that file.
./filegrid
found: ..
found: .svn
found: ooooooooooooooooooooooooooeeeeeeeeeeeeeeeeeeeeeeeuuuuuuuuuuuuuuuaaaaaaaaaaaaaaaaaaaaaaaoooooooooooooooooooooooooeeeeeeeeeeeeeeeeeeeuuuuuuuuuuuuuuuuuuuuuuueeeeeeeeeeeepppppppppppppppppppppphhhhhhhhhhhhhhhhhhhhhhhhhtttttttttttttttsssssssssssssaaaaaaa.txt found: units
found: test_link
found: filegrid_diff.patch
found: .
found: filegrid.lpr
found: filegrid.lps
found: filegrid.compiled
found: extrafpc.cfg
found: filegrid.lpi
found: filegrid
found: .I_should_be_hidden
found: t2
[... increment file by one extra character...]
./filegrid
found: ..
found: .svn
found: units
found: test_link
found: filegrid_diff.patch
found: .
found: filegrid.lpr
found: filegrid.lps
found: filegrid.compiled
found: extrafpc.cfg
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/