summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-01-10 11:12:52 +0000
committerCorinna Vinschen <corinna@vinschen.de>2010-01-10 11:12:52 +0000
commitf1817d368a9242d2e6473da9003f4a4a908cf1e7 (patch)
treedd94f72eb489d061605f135a3f0263fddcf264ec /winsup/cygwin/fhandler.h
parent7bc1f6c6c18974e86ee8fe57c04f6a2558f69bb5 (diff)
downloadcygnal-f1817d368a9242d2e6473da9003f4a4a908cf1e7.tar.gz
cygnal-f1817d368a9242d2e6473da9003f4a4a908cf1e7.tar.bz2
cygnal-f1817d368a9242d2e6473da9003f4a4a908cf1e7.zip
* fhandler.h (fhandler_base::fstat_helper): Declare timestamps as
PLARGE_INTEGER. * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Accommodate fstat_helper change of timestamp arguments. (fhandler_base::fstat_by_name): Ditto. (fhandler_base::fstat_helper): Define with timestamps as PLARGE_INTEGER. Accommodate in call to to_timestruc_t.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 0974e61c6..60fe5fbf4 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -1,7 +1,7 @@
/* fhandler.h
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
- 2005, 2006, 2007, 2008, 2009 Red Hat, Inc.
+ 2005, 2006, 2007, 2008, 2009, 2010 Red Hat, Inc.
This file is part of Cygwin.
@@ -280,10 +280,10 @@ class fhandler_base
virtual int __stdcall fstat (struct __stat64 *buf) __attribute__ ((regparm (2)));
int __stdcall fstat_fs (struct __stat64 *buf) __attribute__ ((regparm (2)));
int __stdcall fstat_helper (struct __stat64 *buf,
- FILETIME ftChangeTime,
- FILETIME ftLastAccessTime,
- FILETIME ftLastWriteTime,
- FILETIME ftCreationTime,
+ PLARGE_INTEGER ChangeTime,
+ PLARGE_INTEGER LastAccessTime,
+ PLARGE_INTEGER LastWriteTime,
+ PLARGE_INTEGER CreationTime,
DWORD dwVolumeSerialNumber,
ULONGLONG nFileSize,
LONGLONG nAllocSize,