DASH Shell discussions
 help / color / mirror / Atom feed
From: Jonathan Nieder <jrnieder@gmail.com>
To: Roy <roytam@gmail.com>
Cc: dash@vger.kernel.org, Brian Koropoff <bkoropoff@gmail.com>
Subject: Re: [PATCH] printf: use %ll instead of %j
Date: Mon, 3 Dec 2012 06:32:58 -0800	[thread overview]
Message-ID: <20121203143258.GA992@elie.Belkin> (raw)
In-Reply-To: <op.woqc1kj2dyj81a@2fprep>

Hi Roy,

Roy wrote:

> MSYS libc does not support %j[dXx] format, only %ll[dXx] is supported.

Are you sure that using the 'll' modifier here is more portable
than 'j'?

FWIW there was a patch posted to use PRIdMAX before, which would be a
more conservative thing to do and I think should work well.

  http://thread.gmane.org/gmane.comp.shells.dash/564/focus=605

Hope that helps,
Jonathan

  reply	other threads:[~2012-12-03 14:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-03  7:42 [PATCH] printf: use %ll instead of %j Roy
2012-12-03 14:32 ` Jonathan Nieder [this message]
     [not found] ` <50BCDA80.8000705@gigawatt.nl>
2012-12-03 17:58   ` Harald van Dijk
2012-12-04  6:38     ` Jonathan Nieder
2013-08-23 10:30       ` Herbert Xu

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=20121203143258.GA992@elie.Belkin \
    --to=jrnieder@gmail.com \
    --cc=bkoropoff@gmail.com \
    --cc=dash@vger.kernel.org \
    --cc=roytam@gmail.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox