Boost logo

Boost :

Subject: Re: [boost] Formal Review of IO and Toolbox extensions to Boost.GIL starts TOMORROW
From: Christian Henning (chhenning_at_[hidden])
Date: 2010-12-05 12:42:24


Hi Phil,

>
>> Sorry, there is a misunderstanding here. I should have clearer. For
>> instance, when reading a jpeg you set a mark with setjmp() see
>> read.hpp[49] in the jpeg folder. Just before that I set the error
>> handler "error_exit()" which will be called in case of an error. It's
>> only here that longjmp will be called. Though, you are correct in your
>> assumption that longjmp is only called when there is an error.
>
> Great, we're agreed.  So, can you now point out which tests exercise this
> setjmp/longjmp error path?
>
>
There are no tests that read an erroneous images. I remember testing
setjmp/longjmp on my laptop and it worked with Windows. If you insists
I can add some tests to prove my point.

Christian


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk