[fpc-devel] Paramstr trailing spaces, bug or not?
Joost van der Sluis
joost at cnoc.nl
Thu Dec 22 17:36:04 CET 2011
On Thu, 2011-12-22 at 17:18 +0100, michael.vancanneyt at wisa.be wrote:
> > With this command-line:
> > "fpmake --prefix=bla --baseistall=test"
> > paramstr(1) gives "--prefix=bla ". Thus with the trailing space. Is this
> > a bug or a feature?
> It's what the shell has passed on. The paramstr() code doesn't do any
> parsing on Linux. It returns the elements in argv
Most of the time I'm indeed on Linux, but this case it was Windows. But
I guess the same thing holds?
My Lazarus blog: http://www.lazarussupport.com/lazarus/weblog
More information about the fpc-devel