Skip to content

Fix a few issues on MidnightBSD#7812

Closed
laffer1 wants to merge 2 commits intocurl:masterfrom
laffer1:master
Closed

Fix a few issues on MidnightBSD#7812
laffer1 wants to merge 2 commits intocurl:masterfrom
laffer1:master

Conversation

@laffer1
Copy link
Contributor

@laffer1 laffer1 commented Oct 4, 2021

No description provided.

tst_tsafe_getaddrinfo="yes"
;;
midnightbsd*)
dnl all MidnightBSD versions
Copy link
Member

Choose a reason for hiding this comment

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

Why does it say "all versions" here while the hunk above checks for a version with < 100000? If that check is written such that it covers all current versions, then it seems highly likely to break. If that's the case, can it be written more defensively? If it's not the case, aren't these contradictory?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is a catch all below this that catches all BSDs with a value of no. We don't want that. Every release of MidnightBSD supports a thread safe getaddrinfo as it was forked from FreeBSD 6.1.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

These aren't the same file and have different functionality.

@bagder
Copy link
Member

bagder commented Oct 5, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments