Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #79561: dns_get_record() fails with DNS_ALL #5524

Closed
wants to merge 2 commits into from

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented May 4, 2020

Since Windows has its own definitions of the PHP_DNS_* macros, we
have to use these when registering the PHP constants.

Since Windows has its own definitions of the `PHP_DNS_*` macros, we
have to use these when registering the PHP constants.
ext/standard/dns.c Outdated Show resolved Hide resolved
Copy link
Member

@nikic nikic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is ugly, but seems fine for 7.3.

@cmb69 cmb69 added the Bug label May 4, 2020
@cmb69
Copy link
Member Author

cmb69 commented May 4, 2020

Yes, the whole dns(_win32).c should be improved ASAP.

Applied as c40a494. Thanks!

@cmb69 cmb69 closed this May 4, 2020
@cmb69 cmb69 deleted the cmb/79561 branch May 4, 2020 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants