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

perlio.c: make :unix close method call underlaying layers as well #17489

Merged
merged 1 commit into from Jan 26, 2020

Conversation

Leont
Copy link
Contributor

@Leont Leont commented Jan 24, 2020

This should fix the «binmode(IO, ':unix') and open(IO, '+>:unix', undef) leak» reported on the mailing list.

Can't think of a portable way to test this, though I have confirmed using strace that it performs one more close() than without the test.

@Leont Leont merged commit d55a146 into blead Jan 26, 2020
@demerphq demerphq deleted the smoke-me/leont/unix-close-fix branch February 9, 2020 04:15
@demerphq demerphq restored the smoke-me/leont/unix-close-fix branch February 9, 2020 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant