Skip to content

Commit b6ad135

Browse files
snoggetgross35
authored andcommitted
gnu: Correct struct stat64 for sparc
Struct stat and stat64 needs to match when gnu_file_offset_bits64 is set. (backport <rust-lang#4345>) (cherry picked from commit 22ac02c)
1 parent 4c67438 commit b6ad135

File tree

1 file changed

+2
-1
lines changed
  • src/unix/linux_like/linux/gnu/b32/sparc

1 file changed

+2
-1
lines changed

src/unix/linux_like/linux/gnu/b32/sparc/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ s! {
102102
pub st_mtime_nsec: c_long,
103103
pub st_ctime: crate::time_t,
104104
pub st_ctime_nsec: c_long,
105-
__reserved: [c_long; 2],
105+
__glibc_reserved4: c_ulong,
106+
__glibc_reserved5: c_ulong,
106107
}
107108

108109
pub struct statfs64 {

0 commit comments

Comments
 (0)