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

2009-09-01 Thread Nagy Gabor
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. typo: "foo conflicts with bar (foo)" Fixed in my working branch: h

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

2009-08-31 Thread Nagy Gabor
> 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. typo: "foo conflicts with bar (foo)"

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

2009-08-31 Thread Nagy Gabor
> + if(!strcmp(package2, reason)) { > + printf(_(":: %s: conflicts with > %s\n"), package1, package2); > + } else { > + printf(_(":: %s: c

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

2009-08-31 Thread Nagy Gabor
>From 841439f2d5d8c8e750d7abe186a22f53f7f87729 Mon Sep 17 00:00:00 2001 From: Nagy Gabor Date: Mon, 31 Aug 2009 16:20:18 +0200 Subject: [PATCH] Add a new reason field to pmconflict_t struct Sometimes "foo conflicts with bar" information is not enough, see this thread: http://bbs.archlinux.org/vie