|
|
In article <388c1b26@news.povray.org> , Nieminen Juha
<war### [at] punarastascstutfi> wrote:
> It looks like a deliberately coded bug.
> Usually you just use the argv[] value which is supposed to be the file
> name. It doesn't matter if it has spaces or not.
> If you want to make file names with spaces not to work, you would need to
> have lots of trouble parsing the parameter to see if it has a space and to
> split it into two parameters. So you need a lot more work to make it not to
> work than just use it as is.
Well, you just reuse the INI file parser which supports multiple switches
per line. Pass each argv[] as one line to that parser and it "works".
This bug is fixed in POV-Ray 3.5 using " or ' around strings.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|