From c58ca952a80fd242c92e7a6735639642a457cd39 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 26 Oct 2012 14:22:18 +0200 Subject: [PATCH] unpack: convert printf added in previous to xbps_dbg_printf. --- lib/package_unpack.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/package_unpack.c b/lib/package_unpack.c index a9a40b72..11e55a72 100644 --- a/lib/package_unpack.c +++ b/lib/package_unpack.c @@ -470,7 +470,6 @@ unpack_archive(struct xbps_handle *xhp, p2 = xbps_xasprintf(".%s", tgtlnk); assert(p2); } - printf("p %s tgtlink %s p2 %s\n", p, tgtlnk, p2); buf2 = realpath(p2, NULL); assert(buf2); free(p2); @@ -479,6 +478,9 @@ unpack_archive(struct xbps_handle *xhp, else p2 = buf2; + xbps_dbg_printf(xhp, "[unpack] symlink cur " + "target: %s new target: %s\n", p, p2); + if (strcmp(p, p2) == 0) { xbps_dbg_printf(xhp, "%s-%s: symlink " "%s matched, skipping...\n",