Hello community, here is the log from the commit of package unrar for openSUSE:Factory:NonFree checked in at 2015-08-05 06:52:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory:NonFree/unrar (Old) and /work/SRC/openSUSE:Factory:NonFree/.unrar.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "unrar" Changes: -------- --- /work/SRC/openSUSE:Factory:NonFree/unrar/unrar.changes 2015-07-21 13:29:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory:NonFree/.unrar.new/unrar.changes 2015-08-05 06:52:14.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Aug 4 11:56:36 UTC 2015 - idon...@suse.com + +- Update to 5.3.2 + * No changelog available. + +------------------------------------------------------------------- Old: ---- unrarsrc-5.3.1.tar.gz New: ---- unrarsrc-5.3.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ unrar.spec ++++++ --- /var/tmp/diff_new_pack.T2lR1Q/_old 2015-08-05 06:52:15.000000000 +0200 +++ /var/tmp/diff_new_pack.T2lR1Q/_new 2015-08-05 06:52:15.000000000 +0200 @@ -18,10 +18,10 @@ # majorversion should match the major version number. %define majorversion 5 -%define libsuffix 5_3_1 +%define libsuffix 5_3_2 Name: unrar -Version: 5.3.1 +Version: 5.3.2 Release: 0 Summary: A program to extract, test, and view RAR archives License: SUSE-NonFree ++++++ unrarsrc-5.3.1.tar.gz -> unrarsrc-5.3.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/dll.cpp new/unrar/dll.cpp --- old/unrar/dll.cpp 2015-07-19 09:59:15.000000000 +0200 +++ new/unrar/dll.cpp 2015-08-04 12:22:40.000000000 +0200 @@ -74,7 +74,7 @@ delete Data; return NULL; } - if (!Data->Arc.IsArchive(false)) + if (!Data->Arc.IsArchive(true)) { if (Data->Cmd.DllError!=0) r->OpenResult=Data->Cmd.DllError; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/dll.rc new/unrar/dll.rc --- old/unrar/dll.rc 2015-07-19 09:55:28.000000000 +0200 +++ new/unrar/dll.rc 2015-08-04 11:51:02.000000000 +0200 @@ -2,8 +2,8 @@ #include <commctrl.h> VS_VERSION_INFO VERSIONINFO -FILEVERSION 5, 30, 1, 1663 -PRODUCTVERSION 5, 30, 1, 1663 +FILEVERSION 5, 30, 2, 1679 +PRODUCTVERSION 5, 30, 2, 1679 FILEOS VOS__WINDOWS32 FILETYPE VFT_APP { @@ -14,8 +14,8 @@ VALUE "CompanyName", "Alexander Roshal\0" VALUE "ProductName", "RAR decompression library\0" VALUE "FileDescription", "RAR decompression library\0" - VALUE "FileVersion", "5.30.1\0" - VALUE "ProductVersion", "5.30.1\0" + VALUE "FileVersion", "5.30.2\0" + VALUE "ProductVersion", "5.30.2\0" VALUE "LegalCopyright", "Copyright � Alexander Roshal 1993-2015\0" VALUE "OriginalFilename", "Unrar.dll\0" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/extract.cpp new/unrar/extract.cpp --- old/unrar/extract.cpp 2015-07-19 09:59:15.000000000 +0200 +++ new/unrar/extract.cpp 2015-08-04 12:22:40.000000000 +0200 @@ -790,12 +790,17 @@ { wcsncpyz(DestName,Cmd->ExtrPath,DestSize); - // We need IsPathDiv check here to correctly handle Unix forward slash - // in the end of destination path in Windows: rar x arc dest/ - if (*Cmd->ExtrPath!=0 && !IsPathDiv(*PointToLastChar(Cmd->ExtrPath))) + if (*Cmd->ExtrPath!=0) { - // Destination path can be without trailing slash if it come from GUI shell. - AddEndSlash(DestName,DestSize); + wchar LastChar=*PointToLastChar(Cmd->ExtrPath); + // We need IsPathDiv check here to correctly handle Unix forward slash + // in the end of destination path in Windows: rar x arc dest/ + // IsDriveDiv is needed for current drive dir: rar x arc d: + if (!IsPathDiv(LastChar) && !IsDriveDiv(LastChar)) + { + // Destination path can be without trailing slash if it come from GUI shell. + AddEndSlash(DestName,DestSize); + } } #ifndef SFX_MODULE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/isnt.cpp new/unrar/isnt.cpp --- old/unrar/isnt.cpp 2015-07-19 09:59:15.000000000 +0200 +++ new/unrar/isnt.cpp 2015-08-04 12:22:40.000000000 +0200 @@ -19,6 +19,6 @@ Result=dwMajorVersion*0x100+dwMinorVersion; - return(Result); + return Result; } #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/list.cpp new/unrar/list.cpp --- old/unrar/list.cpp 2015-07-19 09:59:15.000000000 +0200 +++ new/unrar/list.cpp 2015-08-04 12:22:40.000000000 +0200 @@ -435,13 +435,13 @@ { case HSYS_WINDOWS: swprintf(AttrStr,AttrSize,L"%c%c%c%c%c%c%c", - (A & 0x2000) ? 'I' : '.', // Not content indexed. - (A & 0x0800) ? 'C' : '.', // Compressed. - (A & 0x0020) ? 'A' : '.', // Archive. - (A & 0x0010) ? 'D' : '.', // Directory. - (A & 0x0004) ? 'S' : '.', // System. - (A & 0x0002) ? 'H' : '.', // Hidden. - (A & 0x0001) ? 'R' : '.'); // Read-only. + (A & 0x2000)!=0 ? 'I' : '.', // Not content indexed. + (A & 0x0800)!=0 ? 'C' : '.', // Compressed. + (A & 0x0020)!=0 ? 'A' : '.', // Archive. + (A & 0x0010)!=0 ? 'D' : '.', // Directory. + (A & 0x0004)!=0 ? 'S' : '.', // System. + (A & 0x0002)!=0 ? 'H' : '.', // Hidden. + (A & 0x0001)!=0 ? 'R' : '.'); // Read-only. break; case HSYS_UNIX: switch (A & 0xF000) @@ -459,13 +459,13 @@ swprintf(AttrStr+1,AttrSize-1,L"%c%c%c%c%c%c%c%c%c", (A & 0x0100) ? 'r' : '-', (A & 0x0080) ? 'w' : '-', - (A & 0x0040) ? ((A & 0x0800) ? 's':'x'):((A & 0x0800) ? 'S':'-'), + (A & 0x0040) ? ((A & 0x0800)!=0 ? 's':'x'):((A & 0x0800)!=0 ? 'S':'-'), (A & 0x0020) ? 'r' : '-', (A & 0x0010) ? 'w' : '-', - (A & 0x0008) ? ((A & 0x0400) ? 's':'x'):((A & 0x0400) ? 'S':'-'), + (A & 0x0008) ? ((A & 0x0400)!=0 ? 's':'x'):((A & 0x0400)!=0 ? 'S':'-'), (A & 0x0004) ? 'r' : '-', (A & 0x0002) ? 'w' : '-', - (A & 0x0001) ? 'x' : '-'); + (A & 0x0001) ? ((A & 0x200)!=0 ? 't' : 'x') : '-'); break; case HSYS_UNKNOWN: wcscpy(AttrStr,L"?"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/scantree.cpp new/unrar/scantree.cpp --- old/unrar/scantree.cpp 2015-07-19 09:59:15.000000000 +0200 +++ new/unrar/scantree.cpp 2015-08-04 12:22:40.000000000 +0200 @@ -107,6 +107,13 @@ // SlashPos might point or not point to path separator for masks like 'dir*', '\dir*' or 'd:dir*' wchar *WildName=IsPathDiv(CurMask[SlashPos]) || IsDriveDiv(CurMask[SlashPos]) ? CurMask+SlashPos+1 : CurMask+SlashPos; wcsncatz(Filter,WildName,ASIZE(Filter)); + + // Treat dir*\* or dir*\*.* as dir\, so empty 'dir' is also matched + // by such mask. Skipping empty dir with dir*\*.* confused some users. + wchar *LastMask=PointToName(Filter); + if (wcscmp(LastMask,L"*")==0 || wcscmp(LastMask,L"*.*")==0) + *LastMask=0; + FilterList.AddString(Filter); bool RelativeDrive=IsDriveDiv(CurMask[SlashPos]); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/version.hpp new/unrar/version.hpp --- old/unrar/version.hpp 2015-07-19 09:59:15.000000000 +0200 +++ new/unrar/version.hpp 2015-08-04 12:22:40.000000000 +0200 @@ -1,6 +1,6 @@ #define RARVER_MAJOR 5 #define RARVER_MINOR 30 -#define RARVER_BETA 1 -#define RARVER_DAY 19 -#define RARVER_MONTH 7 +#define RARVER_BETA 2 +#define RARVER_DAY 4 +#define RARVER_MONTH 8 #define RARVER_YEAR 2015