Commit 016dea7
hurd: fix definition of utsname struct
- 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)1 parent 8ca43c6 commit 016dea7
1 file changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
873 | 873 | | |
874 | 874 | | |
875 | 875 | | |
876 | | - | |
877 | | - | |
878 | | - | |
879 | | - | |
880 | | - | |
881 | | - | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
882 | 881 | | |
883 | 882 | | |
884 | 883 | | |
| |||
3437 | 3436 | | |
3438 | 3437 | | |
3439 | 3438 | | |
| 3439 | + | |
| 3440 | + | |
| 3441 | + | |
3440 | 3442 | | |
3441 | 3443 | | |
3442 | 3444 | | |
| |||
0 commit comments