* fhandler.cc (fhandler_base::fstat): Set all file times to arbitrary

fixed value.
This commit is contained in:
Corinna Vinschen 2007-02-26 14:19:00 +00:00
parent 14e06cca26
commit 139654836c
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-02-26 Corinna Vinschen <corinna@vinschen.de>
* fhandler.cc (fhandler_base::fstat): Set all file times to arbitrary
fixed value.
2007-02-26 Corinna Vinschen <corinna@vinschen.de>
* fhandler_registry.cc (registry_listing): Drop name of HKEY_DYN_DATA.

View File

@ -1138,7 +1138,8 @@ fhandler_base::fstat (struct __stat64 *buf)
buf->st_gid = getegid32 ();
buf->st_nlink = 1;
buf->st_blksize = PREFERRED_IO_BLKSIZE;
time_as_timestruc_t (&buf->st_ctim);
buf->st_ctim.tv_sec = 1164931200L; /* Arbitrary value: 2006-12-01 */
buf->st_ctim.tv_nsec = 0L;
buf->st_atim = buf->st_mtim = buf->st_ctim;
return 0;
}