Bruno Haible <[EMAIL PROTECTED]> writes: > Simon Josefsson wrote: >> The first part of this was adding a self-test for memcmp. >> I'm sure it can be improved to test more corner cases, but this is much >> better than nothing. Pushed. > > It's good habit to include the tests from the autoconf macro also in the test > suite (to verify that the autoconf macro actually did its job). So I added > this: > > > 2008-05-20 Bruno Haible <[EMAIL PROTECTED]> > > * tests/test-memcmp.c (main): Test also the sign of the result. Test > against two known bugs; code taken from autoconf's AC_FUNC_MEMCMP.
Thanks! FWIW, that updated self test works fine under mingw even without the gnulib memcmp (using the patch I sent earlier). /Simon