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

reintroduce alloc_re() #159

Merged
merged 1 commit into from
Jul 8, 2020
Merged

reintroduce alloc_re() #159

merged 1 commit into from
Jul 8, 2020

Conversation

DerDakon
Copy link
Member

This is used by the large-dns patch, and may be used by others. Add it back in a way that it will not be compiled in our normal build, but a simple compiler define allows external patches to find the needed environment.

@DerDakon DerDakon added the bug Something isn't working label Jun 20, 2020
@DerDakon DerDakon added this to the 1.09 milestone Jun 20, 2020
Copy link
Member

@schmonz schmonz left a comment

Choose a reason for hiding this comment

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

I’m glad you found an example of a patch relying on this API (sooner rather than later) and are looking to keep such patches working while also communicating that they need updating (or merging).

In retrospect, I missed acting out my usual role here. Let me belatedly do the job: I’m worried that this C API transition is still too abrupt. Maybe, if we issue 1.09 with documented intent to deprecate alloc_re, users will tell us some other surprising reasons they’re depending on it before we decide to leave it out by default. And maybe not, of course. But I think it would be consistent with how we’ve been going about removing user-visible binaries. So I think I’m requesting that we leave alloc_re on-by-default for 1.09.

@schmonz
Copy link
Member

schmonz commented Jun 20, 2020

This is used by the large-dns patch

Tangent: assuming you mean this one, should we merge it? It’s been unconditionally applied in pkgsrc qmail for a long time.

@DerDakon
Copy link
Member Author

Yes, that one. Merging this should be considered.

@DerDakon
Copy link
Member Author

I reverted the #ifdef: it is now provided by default, but we can switch it off. I'm doing this in one CI build so we can detect if anything we add later would use it again.

@DerDakon DerDakon requested a review from schmonz June 21, 2020 19:37
Makefile Outdated Show resolved Hide resolved
alloc.h Show resolved Hide resolved
alloc.h Outdated Show resolved Hide resolved
alloc.h Show resolved Hide resolved
.travis.yml Show resolved Hide resolved
This is used by the large-dns patch, and may be used by others. Add it back in
a way that it will not be compiled in our normal build, but a simple compiler
define allows external patches to find the needed environment.
@DerDakon DerDakon merged commit b52f6d2 into master Jul 8, 2020
@DerDakon DerDakon deleted the Dakon-obsolete branch July 8, 2020 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants