[fpc-devel] Paramstr trailing spaces, bug or not?

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Thu Dec 22 17:18:33 CET 2011



On Thu, 22 Dec 2011, Joost van der Sluis wrote:

> Hi all,
>
> 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[]

Michael.



More information about the fpc-devel mailing list