"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "zlib/zlib/contrib/minizip/miniunz.c" between
muscle7.61.zip and muscle7.62.zip

About: MUSCLE (Multi User Server Client Linking Environment) is a messaging server and networking API. The included server program ("muscled") lets its clients message each other, and/or store information in its serverside hierarchical database.

miniunz.c  (muscle7.61):miniunz.c  (muscle7.62)
skipping to change at line 97 skipping to change at line 97
FILETIME ftm,ftLocal,ftCreate,ftLastAcc,ftLastWrite; FILETIME ftm,ftLocal,ftCreate,ftLastAcc,ftLastWrite;
hFile = CreateFileA(filename,GENERIC_READ | GENERIC_WRITE, hFile = CreateFileA(filename,GENERIC_READ | GENERIC_WRITE,
0,NULL,OPEN_EXISTING,0,NULL); 0,NULL,OPEN_EXISTING,0,NULL);
GetFileTime(hFile,&ftCreate,&ftLastAcc,&ftLastWrite); GetFileTime(hFile,&ftCreate,&ftLastAcc,&ftLastWrite);
DosDateTimeToFileTime((WORD)(dosdate>>16),(WORD)dosdate,&ftLocal); DosDateTimeToFileTime((WORD)(dosdate>>16),(WORD)dosdate,&ftLocal);
LocalFileTimeToFileTime(&ftLocal,&ftm); LocalFileTimeToFileTime(&ftLocal,&ftm);
SetFileTime(hFile,&ftm,&ftLastAcc,&ftm); SetFileTime(hFile,&ftm,&ftLastAcc,&ftm);
CloseHandle(hFile); CloseHandle(hFile);
#else #else
#if defined(unix) || defined(__APPLE__) #ifdef unix || __APPLE__
struct utimbuf ut; struct utimbuf ut;
struct tm newdate; struct tm newdate;
newdate.tm_sec = tmu_date.tm_sec; newdate.tm_sec = tmu_date.tm_sec;
newdate.tm_min=tmu_date.tm_min; newdate.tm_min=tmu_date.tm_min;
newdate.tm_hour=tmu_date.tm_hour; newdate.tm_hour=tmu_date.tm_hour;
newdate.tm_mday=tmu_date.tm_mday; newdate.tm_mday=tmu_date.tm_mday;
newdate.tm_mon=tmu_date.tm_mon; newdate.tm_mon=tmu_date.tm_mon;
if (tmu_date.tm_year > 1900) if (tmu_date.tm_year > 1900)
newdate.tm_year=tmu_date.tm_year - 1900; newdate.tm_year=tmu_date.tm_year - 1900;
else else
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)