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

FS: Remove last traces of iscompressed in vfs_zip. #891

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

dsvensson
Copy link
Collaborator

Most of the uses had already been removed, but remained in the case of a seek. As cmodel now uses seeks during checksum, this uncovered the last use case.

As iscompressed wasn't set, the vfsz->defer remained NULL, and thus reading of pk3 content after a seek failed.

The origin of this file is FTE, ideally a newer version is imported but the rest of the FTE VFS guts has evolved since last import.

fixes #885

Most of the uses had already been removed, but remained in the case of a
seek. As cmodel now uses seeks during checksum, this uncovered the last
use case.

As iscompressed wasn't set, the vfsz->defer remained NULL, and thus
reading of pk3 content after a seek failed.

The origin of this file is FTE, ideally a newer version is imported but
the rest of the FTE VFS guts has evolved since last import.

fixes QW-Group#885
@ciscon ciscon merged commit 16102c1 into QW-Group:master Jan 31, 2024
4 checks passed
@dsvensson
Copy link
Collaborator Author

Does not fix the issue on unfortunately. Not sure what I was thinking. It no longer exhibits the issue with msvc, but broken with mingw and clang on Windows at least.

@ciscon
Copy link
Collaborator

ciscon commented Mar 19, 2024

fixed it all for me at least, no more breaks or warnings.

@BLooD-DoG
Copy link
Contributor

same for me, fixed all the warnings on e1m2 map load

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.

BUG: ezquake hangs on loading gpl maps in gpl maps pk3
3 participants