|
![](/i/fill.gif) |
In article <411a97ec@news.povray.org> , Wolfgang Wieser
<wwi### [at] nospam gmx de> wrote:
> Well, at least the "magic number 1" needs to be added since longjmp cannot
> be used to return the value 0. This is because 0 is used as setjmp return
> value to indicate direct return (i.e. not due to a call to longjmp).
No, you need an if/else and return something positive in this case (i.e.
"1"). While not documented, you are practically promised the exit function
is only called with zero or positive values.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trf de
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
![](/i/fill.gif) |