Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Use gdbm_errno with gdbm_open
- X-seq: zsh-workers 40900
- From: Sebastian Gniazdowski <psprint@xxxxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxx
- Subject: Re: [PATCH] Use gdbm_errno with gdbm_open
- Date: Sat, 25 Mar 2017 14:52:52 +0100
- In-reply-to: <20170325101225.GA3785@fujitsu.shahaf.local2>
- 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: <etPan.58d6147a.643c9869.17199@MacMini.local> <20170325101225.GA3785@fujitsu.shahaf.local2>
On 25 marca 2017 at 11:18:13, Daniel Shahaf (d.s@xxxxxxxxxxxxxxxxxx) wrote:
> How about
> "error opening database file '%s'; gdbm error: %s"
> ?
>
> That is: add quotes, avoid parentheses around pertinent information, and
> sign gdbm's error message. (I'd have used %q as in printf(1), but
> I don't think zerrmsg() supports that yet.)
I think it's typical what I've done, cannot give examples but this is how messages are passed around in many applications
--
Sebastian Gniazdowski
psprint [at] zdharma.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author