public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Fix regression in visium caused by sys/stat.h change
@ 2019-08-20 16:16 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2019-08-20 16:16 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=d0651704411d674a29a2af158388a22ef7355d53

commit d0651704411d674a29a2af158388a22ef7355d53
Author: Jeff Law <law@redhat.com>
Date:   Tue Aug 20 09:26:10 2019 -0600

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

Diff:
---
 libgloss/visium/io-gdb.c | 6 +++---
 libgloss/visium/io.h     | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/libgloss/visium/io-gdb.c b/libgloss/visium/io-gdb.c
index 4f16b2f..e662226 100644
--- a/libgloss/visium/io-gdb.c
+++ b/libgloss/visium/io-gdb.c
@@ -94,9 +94,9 @@ __hosted_from_gdb_stat (const struct gdb_stat *gs,
   s->st_size = gs->st_size;
   s->st_blksize = gs->st_blksize;
   s->st_blocks = gs->st_blocks;
-  s->st_atime = gs->st_atime;
-  s->st_mtime = gs->st_mtime;
-  s->st_ctime = gs->st_ctime;
+  s->st_atime = gs->st_atim;
+  s->st_mtime = gs->st_mtim;
+  s->st_ctime = gs->st_ctim;
 }
 
 void
diff --git a/libgloss/visium/io.h b/libgloss/visium/io.h
index a1bb879..9cb76ea 100644
--- a/libgloss/visium/io.h
+++ b/libgloss/visium/io.h
@@ -57,9 +57,9 @@ struct gdb_stat {
   uint64_t    st_size;    /* total size, in bytes */
   uint64_t    st_blksize; /* blocksize for filesystem I/O */
   uint64_t    st_blocks;  /* number of blocks allocated */
-  gdb_time_t  st_atime;   /* time of last access */
-  gdb_time_t  st_mtime;   /* time of last modification */
-  gdb_time_t  st_ctime;   /* time of last change */
+  gdb_time_t  st_atim;   /* time of last access */
+  gdb_time_t  st_mtim;   /* time of last modification */
+  gdb_time_t  st_ctim;   /* time of last change */
 };
 
 struct gdb_timeval {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-20 16:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-20 16:16 [newlib-cygwin] Fix regression in visium caused by sys/stat.h change Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).