Author: mis Date: Tue Jun 19 21:03:37 2007 GMT
Module: poldek Tag: HEAD
---- Log message:
- cut off arch after last dot
---- Files affected:
poldek/poldek:
uninstall.c (1.41 -> 1.42)
---- Diffs:
================================================================
Index: poldek/poldek/uninstall.c
diff -u poldek/poldek/uninstall.c:1.41 poldek/poldek/uninstall.c:1.42
--- poldek/poldek/uninstall.c:1.41 Sun Aug 20 20:14:58 2006
+++ poldek/poldek/uninstall.c Tue Jun 19 23:03:32 2007
@@ -546,7 +546,7 @@
DBGF("try %s => %s (%s, %s, %s)\n", mask, nmask, n, v, r);
matched = resolve_package(uctx, ts, nmask, NULL);
- if (!matched && (p = strchr(r, '.'))) { /* try N-[E:]-V-R.ARCH */
+ if (!matched && (p = strrchr(r, '.'))) { /* try N-[E:]-V-R.ARCH */
*p = '\0';
p++;
================================================================
---- CVS-web:
http://cvs.pld-linux.org/poldek/poldek/uninstall.c?r1=1.41&r2=1.42&f=u
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit