Re: [fpc-devel] Re: FindFile / FindNext does work with > 253 character length files

2008-03-14 Thread Michael Van Canneyt
On Fri, 14 Mar 2008, Sergei Gorelkin wrote: > Graeme Geldenhuys wrote: > > > > > > 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

Re: [fpc-devel] Re: FindFile / FindNext does work with > 253 character length files

2008-03-14 Thread Sergei Gorelkin
Graeme Geldenhuys wrote: 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 suppor

[fpc-devel] Re: FindFile / FindNext does work with > 253 character length files

2008-03-14 Thread Graeme Geldenhuys
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 l

[fpc-devel] FindFile / FindNext does work with > 253 character length files

2008-03-14 Thread Graeme Geldenhuys
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? Re

Re: [fpc-devel] ARM-Linux, ARMv5 runtime detection fails

2008-03-14 Thread Bernd Mueller
Florian Klaempfl wrote: Does the ARM ABI require that the stack is aligned to 8 byte boundaries? Sorry, I don't know. Regards, Bernd. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] ARM-Linux, ARMv5 runtime detection fails

2008-03-14 Thread Bernd Mueller
Micha Nelissen wrote: Bernd Mueller wrote: ok, it does not work. This is what I guessed. But I am in doubt about your current fix: asm bic r0,sp,#7 ldrd r0,[r0] end; r0 is double word (8 byte) aligned now, but does it always point to a valid memory location? IMHO something like t

Re: [fpc-devel] ARM-Linux, ARMv5 runtime detection fails

2008-03-14 Thread Micha Nelissen
Bernd Mueller wrote: ok, it does not work. This is what I guessed. But I am in doubt about your current fix: asm bic r0,sp,#7 ldrd r0,[r0] end; r0 is double word (8 byte) aligned now, but does it always point to a valid memory location? IMHO something like that would be better:

Re: [fpc-devel] ARM-Linux, ARMv5 runtime detection fails

2008-03-14 Thread Florian Klaempfl
Bernd Mueller schrieb: > Bernd Mueller wrote: >> >> You chose ldrd r0, [sp] to force the SIGILL on ARMv4. According to the >> docs the load address has to be double word (8 byte) aligned, >> otherwise a Bus Error/Misaligned data access Error on ARMv5 would >> occur. Is it save to use sp in your way

Re: [fpc-devel] ARM-Linux, ARMv5 runtime detection fails

2008-03-14 Thread Bernd Mueller
Bernd Mueller wrote: You chose ldrd r0, [sp] to force the SIGILL on ARMv4. According to the docs the load address has to be double word (8 byte) aligned, otherwise a Bus Error/Misaligned data access Error on ARMv5 would occur. Is it save to use sp in your way? ok, it does not work. This is