From: Sebastian Gniazdowski <psprint3@fastmail.com>
To: zsh-workers@zsh.org
Subject: Re: Test Fails While Compiling
Date: Wed, 15 Mar 2017 11:50:41 -0700 [thread overview]
Message-ID: <1489603841.2869693.912504200.1EF591CD@webmail.messagingengine.com> (raw)
In-Reply-To: <CALJ0=Af5-x+dkC6hepySc8QkCemjpaC=Uz181_xc5kApKRU3uQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 157 bytes --]
Can you try with attached patch?
It uses `gdbm_strerror(gdbm_errno)`, we would see exact error reason.
--
Sebastian Gniazdowski
psprint3@fastmail.com
[-- Attachment #2: gdbm_errno.diff --]
[-- Type: text/plain, Size: 514 bytes --]
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;
}
prev parent reply other threads:[~2017-03-15 18:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-15 17:22 shoober420
2017-03-15 18:50 ` Sebastian Gniazdowski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1489603841.2869693.912504200.1EF591CD@webmail.messagingengine.com \
--to=psprint3@fastmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).