zsh-workers
 help / color / mirror / code / Atom feed
From: "Jun T." <takimoto-j@kba.biglobe.ne.jp>
To: zsh-workers@zsh.org
Subject: Re: [RFC PATCH] Allow grouping of thousands in format string
Date: Sun, 5 Apr 2015 15:19:07 +0900	[thread overview]
Message-ID: <7EDEF535-0ADA-48E6-93EA-E5FBA874F412@kba.biglobe.ne.jp> (raw)
In-Reply-To: <15444.1428145871@quattro>


2015/04/04 20:11, Oliver Kiddle <okiddle@yahoo.co.uk> wrote:

> Anyone have an OpenBSD system they can verify with? Even if it
> doesn't support the flag, it'd be good to know if it is just ignored or
> causes printf to fail. The flag is locale dependent anyway so being
> ignored is quite reasonable for zsh's printf.

On OpenBSD 5.6, the ' flag (grouping) is silently ignored.
It has no effect but causes no error.

BTW, if we are going to use the patch by Øystein Walle, the array flags[]
defined at

builtin.c:3736:    int flags[5], *len;

must be flags[6]. (or allocate it by using sizeof(int)*strlen(flagch))


      reply	other threads:[~2015-04-05  6:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-03 13:52 Øystein Walle
2015-04-04 11:11 ` Oliver Kiddle
2015-04-05  6:19   ` Jun T. [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=7EDEF535-0ADA-48E6-93EA-E5FBA874F412@kba.biglobe.ne.jp \
    --to=takimoto-j@kba.biglobe.ne.jp \
    --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).