POV-Ray : Newsgroups : povray.programming : Trivial bug in unix.cpp : Re: Trivial bug in unix.cpp Server Time
5 Jul 2024 16:19:59 EDT (-0400)
  Re: Trivial bug in unix.cpp  
From: Wolfgang Wieser
Date: 25 Nov 2003 13:32:22
Message: <3fc3a035@news.povray.org>
Nicolas Calimet wrote:

>> This is a bug. It must be:
> 
> Can you clarify the nature of the problem you're fixing ?
> 
Sorry, but the presence of a flag is tested by using 
  state & flag 
and not
  state | flag
because the latter is always true. 

Hence, writing 

is a bug and it must be 

just from reading the code. 

So, in order to comply with the description saying that Control-L 
does a complete screen re-draw (as usual in Unix), one has to 
apply the change I mentioned. 

I was not aware that any clarification was needed for that...
...or what is the problem?

Wolfgang


Post a reply to this message

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