Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[0.2] Backports #4005

Merged
merged 5 commits into from
Nov 6, 2024
Merged

[0.2] Backports #4005

merged 5 commits into from
Nov 6, 2024

Conversation

sthibaul and others added 5 commits November 6, 2024 13:47
Currently struct stat and struct stat64 are not coherent: struct stat is
using st_dev, and struct stat64 is using st_fsid.

st_dev is the more commonly-known name, already used by e.g. ~45 rust
software in Debian, so better fix st_fsid into st_dev, rather than having to
uselessly spend time hand-patching all these software.

(backport <rust-lang#3785>)
(cherry picked from commit 043043f)
(backport <rust-lang#3989>)
(cherry picked from commit c096cdb)
- drop the "domainname" field, as it is not actually used
- add a private "_UTSNAME_LENGTH" constant matching the helper libc one,
  to ease declaring the struct
- bump the size of the other fields to "_UTSNAME_LENGTH"

(backport <rust-lang#3992>)
(cherry picked from commit 158cd30)
@rustbot
Copy link
Collaborator

rustbot commented Nov 6, 2024

r? @JohnTitor

rustbot has assigned @JohnTitor.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot
Copy link
Collaborator

rustbot commented Nov 6, 2024

Some changes occurred in solarish module

cc @jclulow, @pfmooney

@tgross35 tgross35 enabled auto-merge November 6, 2024 19:54
@tgross35 tgross35 added this pull request to the merge queue Nov 6, 2024
Merged via the queue into rust-lang:libc-0.2 with commit 6bddf09 Nov 6, 2024
52 checks passed
@tgross35 tgross35 deleted the backport-kale branch November 6, 2024 21:28
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants