Changeset 187
- Timestamp:
- Feb 12, 2017, 11:42:05 PM (8 years ago)
- Location:
- trunk/src/ufat32
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/ufat32/chkdsk.c ¶
r186 r187 80 80 USHORT MakeDirEntry(PCDINFO pCD, ULONG ulDirCluster, PDIRENTRY pNew, PSZ pszName); 81 81 BOOL DeleteFatChain(PCDINFO pCD, ULONG ulCluster); 82 BOOL LoadTranslateTable( VOID);82 BOOL LoadTranslateTable(BOOL fSilent); 83 83 VOID GetFirstInfo( PBOOL pFirstInfo ); 84 84 VOID GetCaseConversion( PUCHAR pCase ); … … 180 180 f32Parms.fEAS = TRUE; 181 181 182 LoadTranslateTable();183 184 TranslateInitDBCSEnv();185 186 CaseConversionInit();187 188 fToFile = OutputToFile();189 190 182 pCD = (PCDINFO)malloc(sizeof(CDINFO)); 191 183 if (!pCD) 192 184 return ERROR_NOT_ENOUGH_MEMORY; 193 185 memset(pCD, 0, sizeof (CDINFO)); 194 195 printf("(UFAT32.DLL version %s compiled on " __DATE__ ")\n", FAT32_VERSION);196 186 197 187 for (iArg = 1; iArg < iArgc; iArg++) … … 232 222 } 233 223 224 LoadTranslateTable(pCD->fAutoCheck); 225 226 TranslateInitDBCSEnv(); 227 228 CaseConversionInit(); 229 230 fToFile = OutputToFile(); 231 234 232 ulDataSize = sizeof(f32Parms); 235 233 //rc = DosFSCtl( … … 661 659 p--; 662 660 *p = 0; 663 if( p > szString ) 664 show_message("The volume label is %s.", 1375, 1, TYPE_STRING, szString); 665 666 sprintf(szString, "%4.4X-%4.4X", 667 HIUSHORT(pCD->BootSect.ulVolSerial), LOUSHORT(pCD->BootSect.ulVolSerial)); 668 show_message("The Volume Serial Number is %s.", 1243, 1, TYPE_STRING, szString); 661 669 662 if (pCD->BootSect.bpb.MediaDescriptor != 0xF8) 670 663 { … … 675 668 676 669 pCD->fCleanOnBoot = GetDiskStatus(pCD); 670 671 if (! pCD->fAutoCheck || ! pCD->fCleanOnBoot) 672 { 673 printf("(UFAT32.DLL version %s compiled on " __DATE__ ")\n", FAT32_VERSION); 674 675 if( p > szString ) 676 show_message("The volume label is %s.", 1375, 1, TYPE_STRING, szString); 677 678 sprintf(szString, "%4.4X-%4.4X", 679 HIUSHORT(pCD->BootSect.ulVolSerial), LOUSHORT(pCD->BootSect.ulVolSerial)); 680 show_message("The Volume Serial Number is %s.", 1243, 1, TYPE_STRING, szString); 681 } 677 682 678 683 if (pCD->fAutoRecover && pCD->fCleanOnBoot) -
TabularUnified trunk/src/ufat32/fatfunc.c ¶
r185 r187 152 152 VOID GetFirstInfo( PBOOL pFirstInfo ); 153 153 VOID SetUni2NLS( USHORT usPage, USHORT usChar, USHORT usCode ); 154 BOOL LoadTranslateTable( VOID);154 BOOL LoadTranslateTable(BOOL fSilent); 155 155 VOID GetCaseConversion( PUCHAR pCase ); 156 156 BOOL UpdateFSInfo(PCDINFO pCD); … … 2129 2129 * 2130 2130 ******************************************************************/ 2131 BOOL LoadTranslateTable( VOID)2131 BOOL LoadTranslateTable(BOOL fSilent) 2132 2132 { 2133 2133 APIRET rc; … … 2404 2404 2405 2405 f32Parms.ulCurCP = rgCP[0]; 2406 //if( !fSilent )2406 if( ! fSilent ) 2407 2407 printf("FAT32: Unicode translate table for CP %lu loaded.\n", rgCP[0]); 2408 2408 rc = TRUE; -
TabularUnified trunk/src/ufat32/format.c ¶
r186 r187 486 486 " ... \n" 487 487 " 128 - use 128 sectors per cluster (64K clusters)\n" 488 "/P is specified by PM fromtends\n" 488 489 "/V:<volume label>\n" 489 490 "/R:<reserved sectors>\n" -
TabularUnified trunk/src/ufat32/recover.c ¶
r186 r187 18 18 ULONG FindPathCluster(PCDINFO pCD, ULONG ulCluster, PSZ pszPath, PDIRENTRY pDirEntry, PSZ pszFullName); 19 19 USHORT RecoverChain2(PCDINFO pCD, ULONG ulCluster, PBYTE pData, USHORT cbData); 20 BOOL LoadTranslateTable( VOID);20 BOOL LoadTranslateTable(BOOL fSilent); 21 21 22 22 BOOL DoRecover(PCDINFO pCD, char *pszFilename); … … 38 38 int i; 39 39 40 LoadTranslateTable( );40 LoadTranslateTable(0); 41 41 42 42 pCD = (PCDINFO)malloc(sizeof(CDINFO));
Note:
See TracChangeset
for help on using the changeset viewer.