[fpc-devel] ExtractFileDrive is broken under Linux

Michael Van Canneyt michael at freepascal.org
Wed May 21 13:14:07 CEST 2008



On Wed, 21 May 2008, Graeme Geldenhuys wrote:

> > And to be honest: parsing windows filenames on a linux system or vice versa,
> > always goes wrong somewhere. So the routines only guarantee correct
> > behaviour for the current platform.
> 
> What about WebServices or CGI apps running on a Linux server? You could very
> well upload a file containing data generated on a Windows system, but the
> WebService running on a Linux system will process that data.

Sure, but in that case you'll have to do custom processing anyway.

> Thanks for explaining the behaviour change Michael. I'll update my
> applications accordingly.

The constants are documented, BTW. Not yet on the web, but definitely
in subversion.

Michael.



More information about the fpc-devel mailing list