Sophie

Sophie

distrib > Altlinux > 4.1 > i586 > media > core-src > by-pkgid > d0795971d430fca48245910ae9206e46 > files > 16

kdeutils-3.5.10-alt2.M41.1.src.rpm

--- 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 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 )