Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] Use gdbm_errno with gdbm_open



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