[fpc-devel] Paramstr trailing spaces, bug or not?
Joost van der Sluis
joost at cnoc.nl
Sat Dec 24 14:22:37 CET 2011
On Fri, 2011-12-23 at 17:25 +0400, Sergei Gorelkin wrote:
> 23.12.2011 16:18, Marco van de Voort пишет:
> >> - syswin.inc code looks like any number of delimiters between parameters
> >> are skipped.
> > .. unless quoted.
> >> - this extra whitespace is added by the makefile, suggesting some buggy/incorrect processing in
> >> make.exe or makefile itself.
> > It could be that the makefile logic quotes every argument on windows, in
> > case of spaces. We would need a kind of strace tool for Windows to find out.
> ... it is the trailing backslash escaping the following character (C style).
> I could reproduce the issue, by using the following command in 'packages' directory:
So to conclude, it's a problem of make that it handles the backslash as
if it were a escaping-backslash. There's nothing that we have to change,
except that fpmake has to trim it's input values to handle this buggy
More information about the fpc-devel