[pacman-dev] [PATCH] Add a new reason field to pmconflict_t struct

Nagy Gabor ngaba at bibl.u-szeged.hu
Mon Aug 31 22:47:07 UTC 2009


> +					if(!strcmp(package2, reason)) {
> +						printf(_(":: %s: conflicts with %s\n"), package1, package2);
> +					} else {
> +						printf(_(":: %s: conflicts with %s (%s)\n"), package1, package2, reason);
> +					}

Hm. The concept is wrong, sorry. alpm/conflict.c may swap the
conflicting targets, so it can happen that this prints "foo conflicts
with bar (bar)", which is odd. I will rework this soon (if I can), atm
this patch is revoked.

Bye




More information about the pacman-dev mailing list