Fix regression in visium caused by sys/stat.h change

This commit is contained in:
Jeff Law 2019-08-20 09:26:10 -06:00 committed by Ken Brown
parent 412965ab98
commit d90a69b953
2 changed files with 6 additions and 6 deletions

View File

@ -94,9 +94,9 @@ __hosted_from_gdb_stat (const struct gdb_stat *gs,
s->st_size = gs->st_size; s->st_size = gs->st_size;
s->st_blksize = gs->st_blksize; s->st_blksize = gs->st_blksize;
s->st_blocks = gs->st_blocks; s->st_blocks = gs->st_blocks;
s->st_atime = gs->st_atime; s->st_atime = gs->st_atim;
s->st_mtime = gs->st_mtime; s->st_mtime = gs->st_mtim;
s->st_ctime = gs->st_ctime; s->st_ctime = gs->st_ctim;
} }
void void

View File

@ -57,9 +57,9 @@ struct gdb_stat {
uint64_t st_size; /* total size, in bytes */ uint64_t st_size; /* total size, in bytes */
uint64_t st_blksize; /* blocksize for filesystem I/O */ uint64_t st_blksize; /* blocksize for filesystem I/O */
uint64_t st_blocks; /* number of blocks allocated */ uint64_t st_blocks; /* number of blocks allocated */
gdb_time_t st_atime; /* time of last access */ gdb_time_t st_atim; /* time of last access */
gdb_time_t st_mtime; /* time of last modification */ gdb_time_t st_mtim; /* time of last modification */
gdb_time_t st_ctime; /* time of last change */ gdb_time_t st_ctim; /* time of last change */
}; };
struct gdb_timeval { struct gdb_timeval {