<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/xmlpatch/patches/" rel="alternate"/><link href="https://sourceforge.net/p/xmlpatch/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/xmlpatch/patches/</id><updated>2010-05-01T09:29:30Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>Incompatibility with check-0.9.7 and check-0.9.8</title><link href="https://sourceforge.net/p/xmlpatch/patches/1/" rel="alternate"/><published>2010-05-01T09:29:30Z</published><updated>2010-05-01T09:29:30Z</updated><author><name>Christophe LACOMBE</name><uri>https://sourceforge.net/u/clacombe/</uri></author><id>https://sourceforge.neta6e98cc87bc85cc039613f46b665df41a13d6b84</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Since version 0.9.7 of the check package the interface of _tcase_add_test has changed and takes one more parameter.&lt;br /&gt;
I agree this is things that should not occur !&lt;/p&gt;
&lt;p&gt;To fix it, you can add this fourth parameter in the call with the default value 0, but in this case you will not be able to use check-0.9.6, So I think the best is to use the MACRO interface that will work even if you use check-0.9.6 or earlier.&lt;/p&gt;
&lt;p&gt;So you can just replace line 262 of file tests/check_diff.c by:&lt;br /&gt;
tcase_add_test(tc,arr_tests[i].fn);&lt;/p&gt;
&lt;p&gt;Like that it will work with any version of check package.&lt;/p&gt;
&lt;p&gt;You will find in attachment an updated version for tests/check_diff.c from the version in libxmlpatch-0.3.3.tar&lt;/p&gt;
&lt;p&gt;Don't hesitate to contact me if you need any more information.&lt;br /&gt;
Best regards, Christophe.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>