From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13942 invoked by alias); 25 Mar 2017 13:53:04 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 40900 Received: (qmail 18763 invoked from network); 25 Mar 2017 13:53:04 -0000 X-Qmail-Scanner-Diagnostics: from aok120.rev.netart.pl by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(85.128.245.120):SA:0(0.0/5.0):. Processed in 3.262862 secs); 25 Mar 2017 13:53:04 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: psprint@zdharma.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at zdharma.org does not designate permitted sender hosts) X-Virus-Scanned: by amavisd-new using ClamAV (17) Date: Sat, 25 Mar 2017 14:52:52 +0100 From: Sebastian Gniazdowski To: Daniel Shahaf , zsh-workers@zsh.org Message-ID: In-Reply-To: <20170325101225.GA3785@fujitsu.shahaf.local2> References: <20170325101225.GA3785@fujitsu.shahaf.local2> Subject: Re: [PATCH] Use gdbm_errno with gdbm_open X-Mailer: Airmail (231) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 25 marca 2017 at 11:18:13, Daniel Shahaf (d.s=40daniel.shahaf.name) wr= ote: > How about > =22error opening database file '%s'; gdbm error: %s=22 > =3F > =20 > That is: add quotes, avoid parentheses around pertinent information, an= d > 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 --=C2=A0 Sebastian Gniazdowski psprint =5Bat=5D zdharma.org