Skip to content

Commit

Permalink
Added unrar 4.0.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
cataphract committed Feb 17, 2011
1 parent 479c373 commit 1e2e912
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
6 changes: 4 additions & 2 deletions unrar/arcread.cpp
Expand Up @@ -579,13 +579,15 @@ void Archive::ConvertAttributes()
#endif
#ifdef _UNIX
// umask defines which permission bits must not be set by default
// when creating a file or directory.
// when creating a file or directory. The typical default value
// for the process umask is S_IWGRP | S_IWOTH (octal 022),
// resulting in 0644 mode for new files.
static mode_t mask = (mode_t) -1;

if (mask == (mode_t) -1)
{
// umask call returns the current umask value. Argument (022) is not
// important here.
// really important here.
mask = umask(022);

// Restore the original umask value, which was changed to 022 above.
Expand Down
1 change: 1 addition & 0 deletions unrar/cmddata.cpp
Expand Up @@ -124,6 +124,7 @@ void CommandData::ParseArg(char *Arg,wchar *ArgW)

wchar *WideArgName=(ArgW!=NULL && *ArgW!=0 ? ArgW+1:NULL);
ReadTextFile(Arg+1,WideArgName,FileArgs,false,true,Charset,true,true,true);

}
else
if (Found && FileData.IsDir && Extract && *ExtrPath==0 && *ExtrPathW==0)
Expand Down
8 changes: 5 additions & 3 deletions unrar/dll.rc
Expand Up @@ -2,8 +2,8 @@
#include <commctrl.h>

VS_VERSION_INFO VERSIONINFO
FILEVERSION 4, 0, 5, 22
PRODUCTVERSION 4, 0, 5, 22
FILEVERSION 4, 0, 6, 36
PRODUCTVERSION 4, 0, 6, 36
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
{
Expand All @@ -14,7 +14,9 @@ FILETYPE VFT_APP
VALUE "CompanyName", "Alexander Roshal\0"
VALUE "ProductName", "RAR decompression library\0"
VALUE "FileDescription", "RAR decompression library\0"
VALUE "FileVersion", "4.0.5\0"
VALUE "FileVersion", "4.0.6\0"
VALUE "ProductVersion", "4.0.6\0"
VALUE "LegalCopyright", "Copyright � Alexander Roshal 1993-2011\0"
VALUE "OriginalFilename", "Unrar.dll\0"
}
}
Expand Down
6 changes: 3 additions & 3 deletions unrar/version.hpp
@@ -1,6 +1,6 @@
#define RARVER_MAJOR 4
#define RARVER_MINOR 0
#define RARVER_BETA 5
#define RARVER_DAY 23
#define RARVER_MONTH 1
#define RARVER_BETA 6
#define RARVER_DAY 6
#define RARVER_MONTH 2
#define RARVER_YEAR 2011

0 comments on commit 1e2e912

Please sign in to comment.