This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: gai_cancel()
On Mon, 2017-06-26 at 17:35 +0200, Florian Weimer wrote:
> How hard would it be to write a test case for this? We also need a
> ChangeLog entry.
It's a race, so a testcase is always going to be a bit hit-and-miss.
But something similar to the example from the original bug report would
probably show it up fairly reliably. I'll see what I can do.
I did include a changelog entry when I resent the patch this afternoon
though you're right that I forgot it earlier.
I think I also ought to run the testcase under valgrind for a while to
convince myself a bit more thoroughly that it's OK.
Thanks
Phil