wahern / dns

dns.c: Single file non-blocking DNS C library without callbacks or external dependencies.
http://25thandclement.com/~william/projects/dns.c.html
MIT License
256 stars 64 forks source link

Remove OpenBSD GCC Bug Workaround #5

Closed wahern closed 8 years ago

wahern commented 8 years ago

Remove the workaround for the buggy compound-literal code emitted by OpenBSD GCC. Rather than figure out if the bug has been fixed (which ideally requires tracking down the culprit code in GCC), just use dynamic memory or a per-resolver static buffer.

wahern commented 8 years ago

This was fixed with the first phase merge of the 4-edns0 branch.