On 30 July 2013 19:10, Marti Maria <marti.ma...@littlecms.com> wrote: > The usual way to check if all is ok is just to cmsSaveProfileToMem, and use > NULL as memory pointer. Then check the return code.
I tried that, but the profile always "successfully" loads and saves, just throwing errors the first time you access the corrupted dict table. This is what I came up with in the end: https://github.com/hughsie/colord/blob/master/lib/colord/cd-icc.c#L1564 Richard. ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user