Skip to content

Commit 8b98b81

Browse files
committed
Merge branch 'i686-musl-stat' of https://github.com/japaric/libc into merge
2 parents 735863a + 689fee5 commit 8b98b81

File tree

3 files changed

+36
-18
lines changed

3 files changed

+36
-18
lines changed

src/unix/notbsd/linux/musl/b32/arm.rs

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,12 @@ s! {
236236
pub st_size: ::off_t,
237237
pub st_blksize: ::blksize_t,
238238
pub st_blocks: ::blkcnt_t,
239-
pub st_atim: ::timespec,
240-
pub st_mtim: ::timespec,
241-
pub st_ctim: ::timespec,
239+
pub st_atime: ::time_t,
240+
pub st_atime_nsec: ::c_long,
241+
pub st_mtime: ::time_t,
242+
pub st_mtime_nsec: ::c_long,
243+
pub st_ctime: ::time_t,
244+
pub st_ctime_nsec: ::c_long,
242245
pub st_ino: ::ino_t,
243246
}
244247

@@ -255,9 +258,12 @@ s! {
255258
pub st_size: ::off_t,
256259
pub st_blksize: ::blksize_t,
257260
pub st_blocks: ::blkcnt_t,
258-
pub st_atim: ::timespec,
259-
pub st_mtim: ::timespec,
260-
pub st_ctim: ::timespec,
261+
pub st_atime: ::time_t,
262+
pub st_atime_nsec: ::c_long,
263+
pub st_mtime: ::time_t,
264+
pub st_mtime_nsec: ::c_long,
265+
pub st_ctime: ::time_t,
266+
pub st_ctime_nsec: ::c_long,
261267
pub st_ino: ::ino_t,
262268
}
263269

src/unix/notbsd/linux/musl/b32/asmjs.rs

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,12 @@ s! {
236236
pub st_size: ::off_t,
237237
pub st_blksize: ::blksize_t,
238238
pub st_blocks: ::blkcnt_t,
239-
pub st_atim: ::timespec,
240-
pub st_mtim: ::timespec,
241-
pub st_ctim: ::timespec,
239+
pub st_atime: ::time_t,
240+
pub st_atime_nsec: ::c_long,
241+
pub st_mtime: ::time_t,
242+
pub st_mtime_nsec: ::c_long,
243+
pub st_ctime: ::time_t,
244+
pub st_ctime_nsec: ::c_long,
242245
pub st_ino: ::ino_t,
243246
}
244247

@@ -255,9 +258,12 @@ s! {
255258
pub st_size: ::off_t,
256259
pub st_blksize: ::blksize_t,
257260
pub st_blocks: ::blkcnt_t,
258-
pub st_atim: ::timespec,
259-
pub st_mtim: ::timespec,
260-
pub st_ctim: ::timespec,
261+
pub st_atime: ::time_t,
262+
pub st_atime_nsec: ::c_long,
263+
pub st_mtime: ::time_t,
264+
pub st_mtime_nsec: ::c_long,
265+
pub st_ctime: ::time_t,
266+
pub st_ctime_nsec: ::c_long,
261267
pub st_ino: ::ino_t,
262268
}
263269

src/unix/notbsd/linux/musl/b32/x86.rs

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,12 @@ s! {
236236
pub st_size: ::off_t,
237237
pub st_blksize: ::blksize_t,
238238
pub st_blocks: ::blkcnt_t,
239-
pub st_atim: ::timespec,
240-
pub st_mtim: ::timespec,
241-
pub st_ctim: ::timespec,
239+
pub st_atime: ::time_t,
240+
pub st_atime_nsec: ::c_long,
241+
pub st_mtime: ::time_t,
242+
pub st_mtime_nsec: ::c_long,
243+
pub st_ctime: ::time_t,
244+
pub st_ctime_nsec: ::c_long,
242245
pub st_ino: ::ino_t,
243246
}
244247

@@ -255,9 +258,12 @@ s! {
255258
pub st_size: ::off_t,
256259
pub st_blksize: ::blksize_t,
257260
pub st_blocks: ::blkcnt_t,
258-
pub st_atim: ::timespec,
259-
pub st_mtim: ::timespec,
260-
pub st_ctim: ::timespec,
261+
pub st_atime: ::time_t,
262+
pub st_atime_nsec: ::c_long,
263+
pub st_mtime: ::time_t,
264+
pub st_mtime_nsec: ::c_long,
265+
pub st_ctime: ::time_t,
266+
pub st_ctime_nsec: ::c_long,
261267
pub st_ino: ::ino_t,
262268
}
263269

0 commit comments

Comments
 (0)