[pacman-dev] [PATCH] Some variables were forgotten in update

Denis A. Altoé Falqueto denisfalqueto at gmail.com
Wed Mar 30 21:19:17 EDT 2011

The variables pkgpath and pkgdata were renamed, but some references
were forgotten and the code doesn't compile anymore.

Signed-off-by: Denis A. Altoé Falqueto <denisfalqueto at gmail.com>

Hi guys,

It seems that gpg branch from Allan's repo is broken. Some variables were
renamed in commit 5f9c29a4, but these lines were left behind.

 lib/libalpm/signing.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/libalpm/signing.c b/lib/libalpm/signing.c
index 2a0994c..8013d52 100644
--- a/lib/libalpm/signing.c
+++ b/lib/libalpm/signing.c
@@ -120,11 +120,11 @@ int _alpm_gpgme_checksig(const char *path, const pmpgpsig_t *sig)
 		return -1;
-	_alpm_log(PM_LOG_DEBUG, "checking package signature for %s\n", pkgpath);
+	_alpm_log(PM_LOG_DEBUG, "checking package signature for %s\n", path);
 	memset(&ctx, 0, sizeof(ctx));
 	memset(&sigdata, 0, sizeof(sigdata));
-	memset(&pkgdata, 0, sizeof(pkgdata));
+	memset(&filedata, 0, sizeof(filedata));
 	err = gpgme_new(&ctx);

More information about the pacman-dev mailing list