Skip to content

fix NO_C99_FORMAT on 64-bit systems

Jonathan Nieder git 1 version In review

Get series with b4
b4 am 20110316051232.GA1932@elie

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mktag: avoid %td in format stringbuiltin/mktag.c+22 -261 reply
2/2unbreak and eliminate NO_C99_FORMATMakefile alloc.c config.mak.in +2 more+4 -550 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] fix NO_C99_FORMAT on 64-bit systems

Hi,

Quoted 2 lines · Jason Riedy

There are no direct
C99 translations for other uses of NO_C99_FORMAT in git, alas.

So here's an indirect one. :)

The goal of this series is to unbreak "make CC=c89 NO_C99_FORMAT=yeah" on my amd64 machine. Side-effects include uglifying mktag a little and eliminating the NO_C99_FORMAT knob.

Thoughts welcome, as always.

Jonathan Nieder (2):
mktag: avoid %td in format string
unbreak and eliminate NO_C99_FORMAT

 Makefile        |   14 --------------
 alloc.c         |   11 ++---------
 builtin/mktag.c |   48 ++++++++++++++++++++++--------------------------
 config.mak.in   |    1 -
 configure.ac    |   24 ------------------------
 sha1_file.c     |    9 ++-------
 6 files changed, 26 insertions(+), 81 deletions(-)