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

--- kdeutils-3.5.8/ark/zip.cpp~	2007-11-15 20:39:36 +0300
+++ kdeutils-3.5.8/ark/zip.cpp	2007-11-15 20:43:53 +0300
@@ -251,7 +251,7 @@ void ZipArch::unarchFileInternal()
 
 bool ZipArch::passwordRequired()
 {
-    return m_lastShellOutput.findRev("unable to get password\n")!=-1 || m_lastShellOutput.endsWith("password inflating\n") || m_lastShellOutput.findRev("password incorrect--reenter:")!=-1 || m_lastShellOutput.endsWith("incorrect password\n");
+    return m_lastShellOutput.findRev("password:") >= 0 || m_lastShellOutput.findRev("unable to get password\n")!=-1 || m_lastShellOutput.endsWith("password inflating\n") || m_lastShellOutput.findRev("password incorrect--reenter:")!=-1 || m_lastShellOutput.endsWith("incorrect password\n");
 }
 
 void ZipArch::remove( QStringList *list )
openSUSE Build Service is sponsored by