Boost logo

Boost :

Subject: Re: [boost] Formal Review of IO and Toolbox extensions to Boost.GIL starts TOMORROW
From: Phil Endecott (spam_from_boost_dev_at_[hidden])
Date: 2010-12-05 11:36:16


Christian Henning wrote:
>>> On Fri, Dec 3, 2010 at 1:54 PM, Phil Endecott wrote:
>>>>
>>>> Also, can you point out which images and tests exercise the error paths
>>>> that we discussed at length (e.g. setjmp/longjmp) a few months ago?

> 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?

Thanks, Phil.


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