POV-Ray : Newsgroups : povray.beta-test : Stream <type>_file=false ini options not working. : Re: Stream <type>_file=false ini options not working. Server Time
14 May 2024 12:20:41 EDT (-0400)
  Re: Stream <type>_file=false ini options not working.  
From: Thorsten
Date: 2 Mar 2024 11:34:49
Message: <65e35529@news.povray.org>
On 02.03.2024 15:39, William F Pokorny wrote:
 > The secondary problem is ProcessOptions::IsTrue (and
 > uProcessOptions::IsFalse) use ProcessOptions::Matches which needs the
 > following code at the very top
 >
 >     if ( ((v2[0] == 0) || (v1[0] == 0)) &&
 >         !((v2[0] == 0) && (v1[0] == 0)))
 >     {
 >         return false;
 >     }
 >
 > to not, falsely, test 'true' on empty string options.
Interesting. Then I am not sure this ever worked as documented before in 
the first place: The matches-code is a straight port from 3.1 and 
according to the header there dates back to April 1994. So you probably 
found a 30 year old bug here ...

Thorsten


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.