Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37896757
en ru br
ALT Linux repos
S:1.11.23-alt9
5.0: 1.11.23-alt1
4.1: 1.11.22-alt3
4.0: 1.11.22-alt2
+updates:1.11.22-alt2
3.0: 1.11.20-alt1

Group :: Development/Other
RPM: cvs

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: cvs-1.11.23-deb-normalize_cvsroot.patch
Download


--- cvs-1.11.23/src/login.c
+++ cvs-1.11.23/src/login.c
@@ -201,11 +201,21 @@ password_entry_parseline (cvsroot_canonical, warn, linenumber, linebuf)
 	    return NULL;
 	}
 	*p = ' ';
-	tmp_root_canonical = normalize_cvsroot (tmp_root);
-	if (strcmp (cvsroot_canonical, tmp_root_canonical) == 0)
-	    password = p + 1;
-
-	free (tmp_root_canonical);
+        switch (tmp_root->method)
+        {
+	    case gserver_method:
+	    case pserver_method:
+#ifdef HAVE_KERBEROS
+	    case kserver_method:
+#endif
+	        tmp_root_canonical = normalize_cvsroot (tmp_root);
+		if (strcmp (cvsroot_canonical, tmp_root_canonical) == 0)
+		    password = p + 1;
+		free (tmp_root_canonical);
+		break;
+	    default:
+	        break;
+        }
 	free_cvsroot_t (tmp_root);
     }
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin