libxbps: improve debug messages again.

This commit is contained in:
Juan RP 2015-01-21 11:39:45 +01:00
parent f11dc1a7b1
commit cbf1cfe0f5
3 changed files with 3 additions and 5 deletions

View File

@ -255,8 +255,6 @@ vpkg_user_conf(struct xbps_handle *xhp, const char *vpkg)
} }
} }
free(vpkgname); free(vpkgname);
xbps_dbg_printf(xhp, "matched vpkg `%s' with `%s (provides %s)`\n",
vpkg, pkg, vpkg_conf);
found = true; found = true;
break; break;
} }

View File

@ -200,7 +200,7 @@ find_repo_deps(struct xbps_handle *xhp,
} }
free(pkgname); free(pkgname);
/* Required dependency not installed */ /* Required dependency not installed */
xbps_dbg_printf_append(xhp, "not installed "); xbps_dbg_printf_append(xhp, "not installed.\n");
reason = "install"; reason = "install";
state = XBPS_PKG_STATE_NOT_INSTALLED; state = XBPS_PKG_STATE_NOT_INSTALLED;
} else { } else {

View File

@ -1,5 +1,5 @@
/*- /*-
* Copyright (c) 2014 Juan Romero Pardines. * Copyright (c) 2014-2015 Juan Romero Pardines.
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -69,7 +69,7 @@ xbps_transaction_store(struct xbps_handle *xhp, xbps_array_t pkgs,
if (!xbps_array_add(pkgs, pkgd)) if (!xbps_array_add(pkgs, pkgd))
return EINVAL; return EINVAL;
xbps_dbg_printf_append(xhp, " (added %s)\n", pkgver); xbps_dbg_printf(xhp, "Added `%s' into the dependency list\n", pkgver);
return 0; return 0;
} }