Skip to content

AIX: Restore 'c_ulong' as the type of 'struct statvfs' member 'f_fsid' - #5616

Merged
tgross35 merged 1 commit into
rust-lang:mainfrom
xingxue-ibm:aix-fix-struct-statvfs
Oct 10, 2026
Merged

tgross35 merged 1 commit into
rust-lang:mainfrom
xingxue-ibm:aix-fix-struct-statvfs

Conversation

@xingxue-ibm

Copy link
Copy Markdown
Contributor

Commit 36da88e changed the type of struct statvfs member f_fsid from c_ulong to fsid_t for AIX and breaks the nix build. In the AIX header sys/statvfs.h, the definition is as follows: for POSIX, the type of f_fsid is ulong_t, and for _ALL_SOURCE, it is fsid_t, which is typedef struct { unsigned int __val[2]; } fsid_t;. The binary layouts are the same. This PR restores the type of f_fsid to the POSIX definition c_ulong.

@rustbot label +stable-nominated

@rustbot rustbot added O-powerpc O-unix S-waiting-on-review stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Oct 6, 2026
@xingxue-ibm xingxue-ibm mentioned this pull request Oct 6, 2026
3 of 4 tasks
@xingxue-ibm
xingxue-ibm force-pushed the aix-fix-struct-statvfs branch from be9cd3a to 9f251df Compare October 9, 2026 17:20
@rustbot

rustbot commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@xingxue-ibm
xingxue-ibm force-pushed the aix-fix-struct-statvfs branch from 9f251df to da774fa Compare October 9, 2026 18:54

@tgross35 tgross35 left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@tgross35
tgross35 added this pull request to the merge queue Oct 10, 2026
Merged via the queue into rust-lang:main with commit bf7448e Oct 10, 2026
60 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-powerpc O-unix stable-nominated This PR should be considered for cherry-pick to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants