Commit 54c7267
committed
musl: mips64: Fix type of nlink_t
musl defines nlink_t to be an unsigned 32-bit integer on mips64,
therefore changing the size of stat64 from 216 bytes to 208.
The current definition in the libc crate does not match this and
therefore defines stat64 wrong on mips64 musl, which results in bogus
readings of fields following st_nlink.
See
https://git.musl-libc.org/cgit/musl/tree/arch/mips64/bits/alltypes.h.in#n22
for the musl definition of nlink_t.
Signed-off-by: Jens Reidel <[email protected]>1 parent 9ba4f41 commit 54c7267
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments