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 oversight in one of the quick deflate macros #170

Merged
merged 1 commit into from
Aug 29, 2024
Merged

Conversation

folkertdev
Copy link
Collaborator

fix #169

Comment on lines -38 to +28
return match last {
return match $last {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this was the actual issue, $last was captured instead of the macro argument being used. I've moved the macros above the definition of last now so that this cannot happen by accident again.

@folkertdev folkertdev force-pushed the fix-issue-169 branch 5 times, most recently from 9364a6b to f8992fc Compare August 29, 2024 10:54
@folkertdev folkertdev merged commit 0b0a8c5 into main Aug 29, 2024
17 checks passed
@folkertdev folkertdev deleted the fix-issue-169 branch August 29, 2024 11:13
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.

Z_BEST_SPEED doesn't handle Z_FINISH properly in some corner cases when there is not enough avail_out
1 participant