aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/mach/hurd/xstatconv.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7de622f414..1e674044d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-06 Mark Kettenis <kettenis@gnu.org>
+
+ * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
+ copy st_atime member.
+
2001-01-05 Ulrich Drepper <drepper@redhat.com>
* io/ftw.c (ftw_dir): Don't add a second slash at the beginning
diff --git a/sysdeps/mach/hurd/xstatconv.c b/sysdeps/mach/hurd/xstatconv.c
index 51e5b53b8c..a592a73762 100644
--- a/sysdeps/mach/hurd/xstatconv.c
+++ b/sysdeps/mach/hurd/xstatconv.c
@@ -1,5 +1,5 @@
/* Convert between `struct stat' format, and `struct stat64' format.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -35,6 +35,7 @@ xstat64_conv (struct stat *buf, struct stat64 *buf64)
buf64->st_uid = buf->st_uid;
buf64->st_gid = buf->st_gid;
buf64->st_size = buf->st_size;
+ buf64->st_atime = buf->st_atime;
buf64->st_atime_usec = buf->st_atime_usec;
buf64->st_mtime = buf->st_mtime;
buf64->st_mtime_usec = buf->st_mtime_usec;