Hello community,
here is the log from the commit of package unrar for openSUSE:Factory:NonFree
checked in at 2014-10-17 11:30:58
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 2014-09-29
12:57:41.0 +0200
+++ /work/SRC/openSUSE:Factory:NonFree/.unrar.new/unrar.changes 2014-10-17
11:30:59.0 +0200
@@ -1,0 +2,8 @@
+Tue Oct 14 15:57:22 UTC 2014 - lazy.k...@opensuse.org
+
+- Update to 5.2.1.
+ * Based on rar 5.20 beta 1.
+ * File overwrite prompt in unrar displays the size and
+modification time for existing and new files.
+
+---
Old:
unrarsrc-5.1.7.tar.gz
New:
unrarsrc-5.2.1.tar.gz
Other differences:
--
++ unrar.spec ++
--- /var/tmp/diff_new_pack.PpmaZV/_old 2014-10-17 11:31:00.0 +0200
+++ /var/tmp/diff_new_pack.PpmaZV/_new 2014-10-17 11:31:00.0 +0200
@@ -18,10 +18,10 @@
# majorversion should match the major version number.
%define majorversion 5
-%define libsuffix 5_1_7
+%define libsuffix 5_2_1
Name: unrar
-Version:5.1.7
+Version:5.2.1
Release:0
License:SUSE-NonFree
Summary:A program to extract, test, and view RAR archives
++ unrarsrc-5.1.7.tar.gz -> unrarsrc-5.2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/unrar/arcread.cpp new/unrar/arcread.cpp
--- old/unrar/arcread.cpp 2014-08-06 16:00:14.0 +0200
+++ new/unrar/arcread.cpp 2014-10-05 20:17:48.0 +0200
@@ -893,6 +893,7 @@
ErrHandler.Exit(RARX_USERBREAK);
}
#endif
+Cmd->ManualPassword=true;
}
}
#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/unrar/cmddata.cpp new/unrar/cmddata.cpp
--- old/unrar/cmddata.cpp 2014-08-06 16:00:15.0 +0200
+++ new/unrar/cmddata.cpp 2014-10-05 20:17:48.0 +0200
@@ -13,7 +13,6 @@
*Command=0;
*ArcName=0;
FileLists=false;
- NoMoreSwitches=false;
ListMode=RCLM_AUTO;
@@ -47,6 +46,8 @@
#if !defined(SFX_MODULE) && !defined(_ANDROID)
void CommandData::ParseCommandLine(bool Preprocess,int argc, char *argv[])
{
+ *Command=0;
+ NoMoreSwitches=false;
#ifdef CUSTOM_CMDLINE_PARSER
// In Windows we may prefer to implement our own command line parser
// to avoid replacing \" by " in standard parser. Such replacing corrupts
@@ -58,15 +59,12 @@
{
if ((CmdLine=AllocCmdParam(CmdLine,&Par))==NULL)
break;
-bool Code=true;
if (!FirstParam) // First parameter is the executable name.
if (Preprocess)
-Code=PreprocessSwitch(Par);
+PreprocessArg(Par);
else
ParseArg(Par);
free(Par);
-if (Preprocess && !Code)
- break;
}
#else
Array Arg;
@@ -75,10 +73,7 @@
Arg.Alloc(strlen(argv[I])+1);
CharToWide(argv[I],&Arg[0],Arg.Size());
if (Preprocess)
-{
- if (!PreprocessSwitch(&Arg[0]))
-break;
-}
+ PreprocessArg(&Arg[0]);
else
ParseArg(&Arg[0]);
}
@@ -93,7 +88,7 @@
void CommandData::ParseArg(wchar *Arg)
{
if (IsSwitch(*Arg) && !NoMoreSwitches)
-if (Arg[1]=='-')
+if (Arg[1]=='-' && Arg[2]==0)
NoMoreSwitches=true;
else
ProcessSwitch(Arg+1);
@@ -199,37 +194,37 @@
#if !defined(SFX_MODULE) && !defined(_ANDROID)
// Preprocess those parameters, which must be processed before the rest of
// command line. Return 'false' to stop further processing.
-bool CommandData::PreprocessSwitch(const wchar *Switch)
+void CommandData::PreprocessArg(const wchar *Arg)
{
- if (IsSwitch(Switch[0]))
+ if (IsSwitch(Arg[0]) && !NoMoreSwitches)
{
-Switch++;
-char SwitchA[1024];
-WideToChar(Switch,SwitchA,ASIZE(SwitchA));
-if (wcsicomp(Switch,L"-")==0) // Switch "--".
- return false;
-if (wcsicomp(Switch,L"cfg-")==0)
+Arg++;
+if (Arg[0]=='-' && Arg[1]==0) // Switch "--".
+ NoMoreSwitches=true;
+if (wcsicomp(Arg,L"cfg-")==0)
ConfigDisabled=true;
#ifndef GUI
-if (wcsnicomp(Switch,L"ilog",4)==0)
+if (wcsnicomp(Arg,L"ilog",4)==0)
{
// Ensure that correct log file name is already set
// if we need to report an error when processing the command line.
- ProcessSwitch(Switch);
+ ProcessSwitch(Arg);
InitLogOptions(LogName,ErrlogCharset);
}
#endif
-if (wcsnicomp(Switch,L"sc",2)==0)
+if (wcsnicomp(Arg,L"sc",2)==0)
{
// Process -sc before reading any file lists.
- ProcessSwitch(Switch);
+ Proce