diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index a95c5f567..54af60a48 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2007-02-26 Corinna Vinschen + + * fhandler.cc (fhandler_base::fstat): Set all file times to arbitrary + fixed value. + 2007-02-26 Corinna Vinschen * fhandler_registry.cc (registry_listing): Drop name of HKEY_DYN_DATA. diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index 2a92d63dd..864a4e66e 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -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; }