On 14/03/2008, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > 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. [EMAIL PROTECTED]:filegrid$ ./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 [EMAIL PROTECTED]:filegrid$ [... increment file by one extra character...] [EMAIL PROTECTED]:filegrid$ ./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 [EMAIL PROTECTED]:filegrid$ Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel