Added unrar 4.1.2

This commit is contained in:
Gustavo Lopes
2011-11-02 11:11:44 +00:00
parent 6907905144
commit 1e542a4db3
3 changed files with 7 additions and 62 deletions

View File

@@ -798,62 +798,7 @@ void CommandData::ProcessSwitch(const char *Switch,const wchar *SwitchW)
VolSize=0;
break;
default:
{
int64 NewVolSize=atoil(&Switch[1]);
if (NewVolSize==0)
NewVolSize=INT64NDF; // Autodetecting volume size.
else
switch (Switch[strlen(Switch)-1])
{
case 'f':
case 'F':
switch(NewVolSize)
{
case 360:
NewVolSize=362496;
break;
case 720:
NewVolSize=730112;
break;
case 1200:
NewVolSize=1213952;
break;
case 1440:
NewVolSize=1457664;
break;
case 2880:
NewVolSize=2915328;
break;
}
break;
case 'k':
NewVolSize*=1024;
break;
case 'm':
NewVolSize*=1024*1024;
break;
case 'M':
NewVolSize*=1000*1000;
break;
case 'g':
NewVolSize*=1024*1024*1024;
break;
case 'G':
NewVolSize*=1000*1000*1000;
break;
case 'b':
case 'B':
break;
default:
NewVolSize*=1000;
break;
}
if (VolSize==0)
VolSize=NewVolSize;
else
NextVolSizes.Push(NewVolSize);
}
VolSize=INT64NDF; // UnRAR -v switch for list command.
break;
}
break;

View File

@@ -2,8 +2,8 @@
#include <commctrl.h>
VS_VERSION_INFO VERSIONINFO
FILEVERSION 4, 10, 1, 275
PRODUCTVERSION 4, 10, 1, 275
FILEVERSION 4, 10, 2, 292
PRODUCTVERSION 4, 10, 2, 292
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
{
@@ -14,8 +14,8 @@ FILETYPE VFT_APP
VALUE "CompanyName", "Alexander Roshal\0"
VALUE "ProductName", "RAR decompression library\0"
VALUE "FileDescription", "RAR decompression library\0"
VALUE "FileVersion", "4.10.1\0"
VALUE "ProductVersion", "4.10.1\0"
VALUE "FileVersion", "4.10.2\0"
VALUE "ProductVersion", "4.10.2\0"
VALUE "LegalCopyright", "Copyright © Alexander Roshal 1993-2011\0"
VALUE "OriginalFilename", "Unrar.dll\0"
}

View File

@@ -1,6 +1,6 @@
#define RARVER_MAJOR 4
#define RARVER_MINOR 10
#define RARVER_BETA 1
#define RARVER_DAY 3
#define RARVER_BETA 2
#define RARVER_DAY 20
#define RARVER_MONTH 10
#define RARVER_YEAR 2011