Re: [fpc-devel] findfirst with ':' names

2008-01-24 Thread Jonas Maebe


On 24 Jan 2008, at 15:47, Micha Nelissen wrote:

Does findfirst not return filenames with a ':' character in them  
properly? I only get the last part of the filename, the part after  
the ':'. Try listing /sys/bus/pci/devices with findfirst on a Linux  
system.


Almost all rtl filename routines treat ':' and '\' wrongly on *nix  
systems (both are usually treated as some sort of separator).



Jonas
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel] findfirst with ':' names

2008-01-24 Thread Micha Nelissen

Hi,

Does findfirst not return filenames with a ':' character in them 
properly? I only get the last part of the filename, the part after the 
':'. Try listing /sys/bus/pci/devices with findfirst on a Linux system.


FindFirst('/sys/bus/pci/devices/*', faAnyFile, Info); etc...

Micha
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel