zsh-workers
 help / color / mirror / code / Atom feed
From: Sebastian Gniazdowski <psprint@zdharma.org>
To: Daniel Shahaf <d.s@daniel.shahaf.name>, zsh-workers@zsh.org
Subject: Re: [PATCH] Use gdbm_errno with gdbm_open
Date: Sat, 25 Mar 2017 14:52:52 +0100	[thread overview]
Message-ID: <etPan.58d67634.238e1f29.17199@MacMini.local> (raw)
In-Reply-To: <20170325101225.GA3785@fujitsu.shahaf.local2>

On 25 marca 2017 at 11:18:13, Daniel Shahaf (d.s@daniel.shahaf.name) 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


      reply	other threads:[~2017-03-25 13:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-25  6:55 Sebastian Gniazdowski
2017-03-25 10:12 ` Daniel Shahaf
2017-03-25 13:52   ` 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=etPan.58d67634.238e1f29.17199@MacMini.local \
    --to=psprint@zdharma.org \
    --cc=d.s@daniel.shahaf.name \
    --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).