Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-03-06 19:29:40 +0300
committerCorinna Vinschen <corinna@vinschen.de>2007-03-06 19:29:40 +0300
commit7113f5da75cdc2a2cc4a2ee7341cd8f2717ec697 (patch)
tree83dfbe2d3bfc2206c646ec18457733913332e26c /winsup
parent74652ce13eb9f1301a3515384af272da6dd76633 (diff)
Add accidentally missing checkins.
* fhandler.h (fhandler_base::fstat_helper): Add creation time parameter. * glob.cc (stat32_to_stat64): Set st_birthtim to st_mtim.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/fhandler.h1
-rw-r--r--winsup/cygwin/glob.cc1
3 files changed, 7 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index ac3f4008d..99a506cc4 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,10 @@
2007-03-06 Corinna Vinschen <corinna@vinschen.de>
+ * fhandler.h (fhandler_base::fstat_helper): Add creation time parameter.
+ * glob.cc (stat32_to_stat64): Set st_birthtim to st_mtim.
+
+2007-03-06 Corinna Vinschen <corinna@vinschen.de>
+
* include/cygwin/stat.h (S_TYPEISMQ): Define.
(S_TYPEISSEM): Dttio.
(S_TYPEISSHM): Ditto.
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 34b6680c3..839fc4b05 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -268,6 +268,7 @@ class fhandler_base
FILETIME ftChangeTime,
FILETIME ftLastAccessTime,
FILETIME ftLastWriteTime,
+ FILETIME ftCreationTime,
DWORD dwVolumeSerialNumber,
ULONGLONG nFileSize,
LONGLONG nAllocSize,
diff --git a/winsup/cygwin/glob.cc b/winsup/cygwin/glob.cc
index 490608130..b4c512c43 100644
--- a/winsup/cygwin/glob.cc
+++ b/winsup/cygwin/glob.cc
@@ -886,6 +886,7 @@ stat32_to_stat64 (struct __stat32 *src, struct __stat64 *dst)
dst->st_atim = src->st_atim;
dst->st_mtim = src->st_mtim;
dst->st_ctim = src->st_ctim;
+ dst->st_birthtim = src->st_mtim;
dst->st_blksize = src->st_blksize;
dst->st_blocks = src->st_blocks;
}