Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Test Fails While Compiling
- X-seq: zsh-workers 40854
- From: Sebastian Gniazdowski <psprint3@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Test Fails While Compiling
- Date: Wed, 15 Mar 2017 11:50:41 -0700
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=Y7PxKJdqvIrkZBQpOG7JU2R4V9 I=; b=bpkkbY+mBQGSkIFp7EBlPTqLOAc7sChb0w0N0OIMcx0iPUbS2oZh0EvdlV oNqSZPPplZez8Cyr5ZNDER7o/vOnrTzZN/Zzqexq4BaY3eQjbITdZtB8ihpS339w yHk/0fOiEuGDTgY649JvBXuzJa3RUTBx6PuGysXdrnpZlu5/c=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=smtpout; bh=Y7 PxKJdqvIrkZBQpOG7JU2R4V9I=; b=NZKeHNQ1bv1oH8M+9nAY4mkBMZwJMQjP+z bfZXrM1+QAPWMN2tYeJCGD82f+5uqtKUbeC6mHrh0S2wmiz8gPA7/kzE17w3Jmi8 XhbuNFsPFzaaGxzGxz3FdKKYj6VJ6iqX7lAz2NO6jnnFzSqpdHspCstk6GM9nxgs TunJgqAEU=
- In-reply-to: <CALJ0=Af5-x+dkC6hepySc8QkCemjpaC=Uz181_xc5kApKRU3uQ@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CALJ0=Af5-x+dkC6hepySc8QkCemjpaC=Uz181_xc5kApKRU3uQ@mail.gmail.com>
Can you try with attached patch?
It uses `gdbm_strerror(gdbm_errno)`, we would see exact error reason.
--
Sebastian Gniazdowski
psprint3@xxxxxxxxxxxx
diff --git a/Src/Modules/db_gdbm.c b/Src/Modules/db_gdbm.c
index 596a8ae..f812360 100644
--- a/Src/Modules/db_gdbm.c
+++ b/Src/Modules/db_gdbm.c
@@ -159,7 +159,7 @@ bin_ztie(char *nam, char **args, Options ops, UNUSED(int func))
addmodulefd(gdbm_fdesc(dbf), FDT_MODULE);
append_tied_name(pmname);
} else {
- zwarnnam(nam, "error opening database file %s", resource_name);
+ zwarnnam(nam, "error opening database file %s (error: %s)", resource_name, gdbm_strerror(gdbm_errno));
return 1;
}
Messages sorted by:
Reverse Date,
Date,
Thread,
Author