<<< Date Index >>>     <<< Thread Index >>>

Re: hcache broken (slightly)



Hello,

> > [ assert ]
> Since I think we need this feature of updating, isn't abort a bit
> harsh?

No, no, no. Because consumers see that something is obvious wrong. They
can fix it (remove the asserts and implement the dump/restore function
or modify the caller so that only the header is cached) and try again.
If we just let it this way the next one is trying to use the hcache and
will certainly segfault and noone has a god damn clue what is going on.

        Thomas