Hello community,

here is the log from the commit of package unrar for openSUSE:Factory:NonFree 
checked in at 2020-11-12 22:31:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory:NonFree/unrar (Old)
 and      /work/SRC/openSUSE:Factory:NonFree/.unrar.new.24930 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "unrar"

Thu Nov 12 22:31:40 2020 rev:92 rq:848143 version:6.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory:NonFree/unrar/unrar.changes      2020-10-24 
15:12:12.415858590 +0200
+++ /work/SRC/openSUSE:Factory:NonFree/.unrar.new.24930/unrar.changes   
2020-11-12 22:31:41.405699677 +0100
@@ -1,0 +2,6 @@
+Thu Nov 12 15:00:52 UTC 2020 - Ismail Dönmez <[email protected]>
+
+- Update to version 6.0.2
+  * Based on WinRAR 6.00 beta 2
+
+-------------------------------------------------------------------

Old:
----
  unrarsrc-6.0.1.tar.gz

New:
----
  unrarsrc-6.0.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ unrar.spec ++++++
--- /var/tmp/diff_new_pack.0UE1cL/_old  2020-11-12 22:31:42.293700492 +0100
+++ /var/tmp/diff_new_pack.0UE1cL/_new  2020-11-12 22:31:42.297700496 +0100
@@ -18,9 +18,9 @@
 
 # majorversion should match the major version number.
 %define majorversion 5
-%define libsuffix 6_0_1
+%define libsuffix 6_0_2
 Name:           unrar
-Version:        6.0.1
+Version:        6.0.2
 Release:        0
 Summary:        A program to extract, test, and view RAR archives
 License:        NonFree

++++++ unrarsrc-6.0.1.tar.gz -> unrarsrc-6.0.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unrar/consio.cpp new/unrar/consio.cpp
--- old/unrar/consio.cpp        2020-10-22 10:48:21.000000000 +0200
+++ new/unrar/consio.cpp        2020-11-12 12:51:23.000000000 +0100
@@ -164,7 +164,7 @@
     SetConsoleMode(hConIn,ConInMode);
     SetConsoleMode(hConOut,ConOutMode);
 #else
-    char StrA[MAXPASSWORD];
+    char StrA[MAXPASSWORD*4]; // "*4" for multibyte UTF-8 characters.
 #if defined(_EMX) || defined (__VMS)
     fgets(StrA,ASIZE(StrA)-1,stdin);
 #elif defined(__sun)
@@ -248,6 +248,12 @@
       ErrHandler.Exit(RARX_USERBREAK);
     }
     StrA[ReadSize]=0;
+
+    // We expect ANSI encoding here, but "echo text|rar ..." to pipe to RAR,
+    // such as send passwords, we get OEM encoding by default, unless we
+    // use "chcp" in console. But we avoid OEM to ANSI conversion,
+    // because we also want to handle ANSI files redirection correctly,
+    // like "rar ... < ansifile.txt".
     CharToWide(&StrA[0],str,n);
     cleandata(&StrA[0],StrA.Size()); // We can use this function to enter 
passwords.
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unrar/dll.rc new/unrar/dll.rc
--- old/unrar/dll.rc    2020-10-22 00:31:03.000000000 +0200
+++ new/unrar/dll.rc    2020-11-12 12:47:46.000000000 +0100
@@ -2,8 +2,8 @@
 #include <commctrl.h>
 
 VS_VERSION_INFO VERSIONINFO
-FILEVERSION 6, 0, 1, 3589
-PRODUCTVERSION 6, 0, 1, 3589
+FILEVERSION 6, 0, 2, 3610
+PRODUCTVERSION 6, 0, 2, 3610
 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", "6.0.1\0"
-      VALUE "ProductVersion", "6.0.1\0"
+      VALUE "FileVersion", "6.0.2\0"
+      VALUE "ProductVersion", "6.0.2\0"
       VALUE "LegalCopyright", "Copyright � Alexander Roshal 1993-2020\0"
       VALUE "OriginalFilename", "Unrar.dll\0"
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unrar/file.cpp new/unrar/file.cpp
--- old/unrar/file.cpp  2020-10-22 10:48:22.000000000 +0200
+++ new/unrar/file.cpp  2020-11-12 12:51:23.000000000 +0100
@@ -120,12 +120,12 @@
 #ifdef _OSF_SOURCE
   extern "C" int flock(int, int);
 #endif
-
   if (!OpenShared && UpdateMode && handle>=0 && 
flock(handle,LOCK_EX|LOCK_NB)==-1)
   {
     close(handle);
     return false;
   }
+
 #endif
   if (handle==-1)
     hNewFile=FILE_BAD_HANDLE;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unrar/loclang.hpp new/unrar/loclang.hpp
--- old/unrar/loclang.hpp       2020-10-22 10:48:22.000000000 +0200
+++ new/unrar/loclang.hpp       2020-11-12 12:51:24.000000000 +0100
@@ -352,7 +352,7 @@
 #define   MRecVolLimit       L"\nTotal number of usual and recovery volumes 
must not exceed %d"
 #define   MVolumeNumber      L"volume %d"
 #define   MCannotDelete      L"\nCannot delete %s"
-#define   MRecycleFailed     L"\nCannot move some files and folders to Recycle 
Bin"
+#define   MRecycleFailed     L"\nCannot move some files and directories to 
Recycle Bin"
 #define   MCalcCRC           L"\nCalculating the checksum"
 #define   MTooLargeSFXArc    L"\nToo large SFX archive. Windows cannot run the 
executable file exceeding 4 GB."
 #define   MCalcCRCAllVol     L"\nCalculating checksums of all volumes."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unrar/version.hpp new/unrar/version.hpp
--- old/unrar/version.hpp       2020-10-22 10:48:24.000000000 +0200
+++ new/unrar/version.hpp       2020-11-12 12:51:25.000000000 +0100
@@ -1,6 +1,6 @@
 #define RARVER_MAJOR     6
 #define RARVER_MINOR     0
-#define RARVER_BETA      1
-#define RARVER_DAY      22
-#define RARVER_MONTH    10
+#define RARVER_BETA      2
+#define RARVER_DAY      12
+#define RARVER_MONTH    11
 #define RARVER_YEAR   2020
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/[email protected]

Reply via email to