[fpc-devel] ExtractFileDrive is broken under Linux

Marc Weustink marc at dommelstein.net
Wed May 21 22:40:46 CEST 2008


Micha Nelissen wrote:
> Graeme Geldenhuys wrote:
>> :/tmp$ ls -l
>> drwxr-xr-x 3 graemeg graemeg 4096 2008-05-21 11:43 app
>> -rw-r--r-- 1 graemeg graemeg    0 2008-05-21 13:14 c:\myfile.txt
>> -rw-r--r-- 1 graemeg graemeg    0 2008-05-21 13:12 c:myfile.txt
>> -rw------- 1 graemeg graemeg  607 2008-05-21 11:48 code-1.pp
>> -rw------- 1 graemeg graemeg  607 2008-05-21 11:48 code.pp
>>
>> That's nuts!  :-)
> 
> Why? Because it does what you ask? :-)

on unix you can even create weirder filenames:

[marc at giant ~]$ ls -lbQ
total 1348
-rw-rw-r--  1 marc marc       0 2008-05-21 22:37 "    "
-rw-rw-r--  1 marc marc       0 2008-05-21 22:31 "\n"
drwxr-xr-x  2 marc marc    4096 2008-03-18 00:11 "bin"
...

in the early days accessing ftp warez sites having dirs starting with #0 
was fun :)

Marc






More information about the fpc-devel mailing list