diff options
author | Egor Bychin <e.bychin@drweb.com> | 2021-10-11 13:56:43 +0300 |
---|---|---|
committer | Egor Bychin <e.bychin@drweb.com> | 2021-10-11 13:56:43 +0300 |
commit | 5a032f32ea77d81c012841dde88b070f55037f25 (patch) | |
tree | eed4fd9b5e4fcd105e4ad37ae01de62b32c4ed9e /gio/glocalfileinfo.c | |
parent | 16ce10eb3c0bde78a86546454c7dc24e7a0b41eb (diff) | |
download | glib-5a032f32ea77d81c012841dde88b070f55037f25.tar.gz |
glocalfileinfo: Fix atime/mtime mix due to bad copy/paste
Diffstat (limited to 'gio/glocalfileinfo.c')
-rw-r--r-- | gio/glocalfileinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/glocalfileinfo.c b/gio/glocalfileinfo.c index 3867ca684..d3b327a19 100644 --- a/gio/glocalfileinfo.c +++ b/gio/glocalfileinfo.c @@ -2650,7 +2650,7 @@ set_mtime_atime (char *filename, { if (lazy_stat (filename, &statbuf, &got_stat) == 0) { - times[0].tv_sec = statbuf.st_mtime; + times[0].tv_sec = statbuf.st_atime; #if defined (HAVE_STRUCT_STAT_ST_ATIMENSEC) times[0].tv_usec = statbuf.st_atimensec / 1000; #elif defined (HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC) |