about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-01-06 01:52:03 +0000
committerMark Kettenis <kettenis@gnu.org>2001-01-06 01:52:03 +0000
commit74ec0232c2183cff95b12957039cbdceac0ea3ce (patch)
tree10c3ad779108f3f23e0b3ef53ba8e6526bb43395
parent25f227b924443a71ee2e15eff342871864b05d01 (diff)
downloadglibc-74ec0232c2183cff95b12957039cbdceac0ea3ce.tar.gz
glibc-74ec0232c2183cff95b12957039cbdceac0ea3ce.tar.xz
glibc-74ec0232c2183cff95b12957039cbdceac0ea3ce.zip
* sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to copy st_atime member.
2001-01-06  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
	copy st_atime member.
-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;