Changeset 1556 for trunk/dll/avl.c
- Timestamp:
- Nov 22, 2010, 12:17:01 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/avl.c
r1546 r1556 46 46 #include <ctype.h> 47 47 #include <share.h> 48 #include <sys/stat.h> 48 49 49 50 #define INCL_DOS … … 86 87 BOOL arcsigsloaded; 87 88 BOOL arcsigsmodified; 89 static struct stat Archiverbb2Stats; 88 90 89 91 #define ARCHIVER_LINE_BYTES 256 … … 378 380 return -1; 379 381 } 382 stat(psz, &Archiverbb2Stats); 380 383 fp = xfsopen(psz, moder, SH_DENYWR, pszSrcFile, __LINE__, TRUE); 381 384 DosReleaseMutexSem(hmtxFM2Globals); … … 783 786 if (!arcsigsloaded) 784 787 load_archivers(); 788 else { 789 struct stat Buffer; 790 791 stat(searchpath(PCSZ_ARCHIVERBB2), &Buffer); 792 if (Archiverbb2Stats.st_size != Buffer.st_size || 793 Archiverbb2Stats.st_mtime != Buffer.st_mtime) 794 if (saymsg(MB_YESNO, 795 hwnd, 796 GetPString(IDS_ADCHANGESONDISKTEXT), 797 GetPString(IDS_ADRELOADMEMTEXT)) == MBID_YES) 798 load_archivers(); 799 } 785 800 if (!(ARC_TYPE **) mp2) { 786 801 Runtime_Error(pszSrcFile, __LINE__, NULL);
Note:
See TracChangeset
for help on using the changeset viewer.