Code synced between ports

This commit is contained in:
pagefault
2001-07-31 05:27:07 +00:00
parent 662e3a2d7d
commit a54d834138
2 changed files with 9 additions and 10 deletions

View File

@@ -228,12 +228,12 @@ DWORD ZFileDelete()
DWORD ZFileGetFTime()
{
struct _stat buf;
struct _stat filestat;
ZFTime=0;
if (_stat(ZFFTimeFName, &buf) < 0) ZFDate=0;
else ZFDate = buf.st_mtime;
if (_stat(ZFFTimeFName, &filestat) < 0) ZFDate=0;
else ZFDate = filestat.st_mtime;
return 0;
}