Skip to content

Revert: Make pattern in mz_zip_reader dynamically assigned (#856)#877

Merged
nmoinvaz merged 1 commit into
zlib-ng:developfrom
Coeur:coeur/revert-reader.pattern
May 20, 2025
Merged

Revert: Make pattern in mz_zip_reader dynamically assigned (#856)#877
nmoinvaz merged 1 commit into
zlib-ng:developfrom
Coeur:coeur/revert-reader.pattern

Conversation

@Coeur

@Coeur Coeur commented May 9, 2025

Copy link
Copy Markdown
Collaborator

Alternative for: #874
Fix: #873

Undo: #856 / #855

cc @DreamHelium

This is a feature revert because:

  • it's not optimal to force a copy of the pattern ; the caller of the API could have managed the lifetime of this pattern to be equal to the lifetime of the reader by themselves.

@Coeur Coeur requested a review from nmoinvaz May 9, 2025 23:40
@Coeur Coeur added the bug Bug label May 9, 2025
@Coeur

Coeur commented May 20, 2025

Copy link
Copy Markdown
Collaborator Author

@nmoinvaz can you prioritise this bug fix?

@nmoinvaz nmoinvaz merged commit 378a4eb into zlib-ng:develop May 20, 2025
55 checks passed
@Coeur Coeur deleted the coeur/revert-reader.pattern branch May 20, 2025 14:04
@Coeur Coeur mentioned this pull request Nov 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug?: Extraction of a selected file

2 participants