Add new items to top.
(This summarizes all changes to all files under Src, including Src\Languages.)
+2006-09-22 Kimmo
+ PATCH: [ 1563157 ] Fix coretools.cpp for 64-bit
+ Src/Common: coretools.cpp coretools.h
+
2006-09-21 WinMerge experimental release 2.5.7.1 (SVN revision 3600)
2006-09-21 Kimmo
return FALSE;
}
-long GetFileModTime(LPCTSTR szPath)
+time_t GetFileModTime(LPCTSTR szPath)
{
if (!szPath || !szPath[0]) return 0;
struct _stat mystats;
BOOL FindAnyFile(LPTSTR filespec, LPTSTR name)
{
#ifndef _UNICODE
- struct _finddata_t c_file;
+ struct __finddata64_t c_file;
#else
- struct _wfinddata_t c_file;
+ struct __wfinddata64_t c_file;
#endif
- long hFile;
+ intptr_t hFile;
- if( (hFile = _tfindfirst( filespec, &c_file )) == -1L )
+ if( (hFile = _tfindfirst64( filespec, &c_file )) == -1L )
return FALSE;
_tcscpy(name, c_file.name);
LPSYSTEMTIME pMod,
LPSYSTEMTIME pCreate =NULL,
LPSYSTEMTIME pAccess =NULL);
-long GetFileModTime(LPCTSTR szPath);
+time_t GetFileModTime(LPCTSTR szPath);
DWORD GetFileSizeEx(LPCTSTR szFilename);
CString GetCDPath();
BOOL HaveAdminAccess();