> -----Message d'origine-----
> De : fpc-devel-boun...@lists.freepascal.org [mailto:fpc-devel-
> boun...@lists.freepascal.org] De la part de Joost van der Sluis
> Envoyé : jeudi 22 décembre 2011 17:36
> À : FPC developers' list
> Objet : Re: [fpc-devel] Paramstr trailing spaces, bug or not?
> 
> On Thu, 2011-12-22 at 17:18 +0100, michael.vancann...@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?

Hi Jost,
I am completely unable to reproduce this...
on a windows machine!

Futhermore this behavior would break lots of code
including the compiler itself...
Maybe there is some special configuration you are working on that 
explains this strange behavior...

  Which Windows OS version do you use?
Is it a Virtual machine?
What shell are you using?


Pierre Muller


_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to