Skip to content

register openkal-windows 0.10.1 - #459

Merged
Sunrisepeak merged 1 commit into
mainfrom
register-openkal-windows-0-10-1
Sep 21, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
register-openkal-windows-0-10-1

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

Registration only — nothing here pins it yet. openkal-musl names 0.10.0 exactly, and moving that pin is a separate change.

0.10.1 carries one fix: kal_fs_file_info answers through NtQueryInformationFile(FileBasicInformation), which requires FILE_READ_ATTRIBUTES, and FILE_GENERIC_WRITE does not carry it. A file opened for writing alone was granted every right except the one needed to ask it about itself, and through musl that surfaced as a descriptor refusing its own fstat a line after it was opened — the pair libarchive performs when opening an archive for output.

Measured on three real-Windows conformance jobs: with the fix the query answers 0, without it 6 (kal_err_access). Wine answers 0 either way, so it is not a second opinion, and the test records that in its header.

The tarball was mirrored to GitCode from a CN host with gtc and fetched back before this entry was written: 89854 bytes, sha256 7681325d…, equal to the GitHub archive and byte-for-byte identical to it.

Registration only: nothing in this repository pins it yet. openkal-musl names
0.10.0 exactly, and moving that pin is a separate change, because a consumer
merged before its dependency is registered fails every member at once and
reports it as a compatibility result.

0.10.1 is one fix. `kal_fs_file_info` answers through
NtQueryInformationFile(FileBasicInformation), which requires
FILE_READ_ATTRIBUTES, and `FILE_GENERIC_WRITE` does not carry it — so a file
opened for writing alone was granted every right except the one needed to ask
it about itself. Through musl that surfaced as a descriptor refusing its own
`fstat` a line after it was opened, which is the pair libarchive performs when
opening an archive for output.

Measured on three real-Windows conformance jobs: with the fix the query
answers 0, without it 6 (kal_err_access). Wine answers 0 either way, so it is
not a second opinion about this, and the test says so in its header.

The tarball was mirrored to GitCode from a CN host with `gtc` and fetched back
before this entry was written: 89854 bytes, sha256 equal to the GitHub archive
and byte-for-byte identical to it.
@Sunrisepeak
Sunrisepeak merged commit 0bed252 into main Sep 21, 2026
10 checks passed
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.

1 participant