File kdeutils-3.5.8-alt-ark-rar-password.patch of Package kdeutils3

--- kdeutils-3.5.8/ark/rar.cpp~	2007-10-17 20:32:52 +0400
+++ kdeutils-3.5.8/ark/rar.cpp	2007-10-31 14:53:05 +0300
@@ -275,7 +275,7 @@ void RarArch::unarchFileInternal()
 
 bool RarArch::passwordRequired()
 {
-    return m_lastShellOutput.findRev("password incorrect ?)")+1;
+    return m_lastShellOutput.find("Enter password") >= 0;
 }
 
 void RarArch::remove( QStringList *list )
openSUSE Build Service is sponsored by