[Frugalware-darcs] pacman: alpm_parse_config(): bugfix for MaxTries

VMiklos vmiklos at frugalware.org
Sat Nov 11 14:18:47 CET 2006


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=darcs_commitdiff;h=20061111131804-e2957-e774d287c744d31b7e2fa05438c28bbdcb6a9f3e.gz;

[alpm_parse_config(): bugfix for MaxTries
VMiklos <vmiklos at frugalware.org>**20061111131804] {
hunk ./lib/libalpm/alpm.c 1369
+						}
+					} else if (!strcmp(key, "MAXTRIES")) {
+						if(alpm_set_option(PM_OPT_MAXTRIES, (long)atoi(ptr)) == -1) {
+							/* pm_errno is set by alpm_set_option */
+							return(-1);
}


More information about the Frugalware-darcs mailing list