Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Mar 17, 2011

  1. jrn

    unbreak and eliminate NO_C99_FORMAT

    In the spirit of v1.5.0.2~21 (Check for PRIuMAX rather than
    NO_C99_FORMAT in fast-import.c, 2007-02-20), use PRIuMAX from
    git-compat-util.h on all platforms instead of C99-specific formats
    like %zu with dangerous fallbacks to %u or %lu.
    So now C99-challenged platforms can build git without provoking
    warnings or errors from printf, even if pointers do not have the same
    size as an int or long.
    The need for a fallback PRIuMAX is detected in git-compat-util.h with
    "#ifndef PRIuMAX".  So while at it, simplify the Makefile and configure
    script by eliminating the NO_C99_FORMAT knob altogether.
    Signed-off-by: Jonathan Nieder <>
    Signed-off-by: Junio C Hamano <>
    authored March 16, 2011 gitster committed March 17, 2011

Aug 19, 2010

  1. jrn

    autoconf: don't use platform regex if it lacks REG_STARTEND

    If the platform regex cannot match null bytes, we might as well
    use the glibc version instead.
    Cc: Ævar Arnfjörð Bjarmason <>
    Cc: René Scharfe <>
    Signed-off-by: Jonathan Nieder <>
    Tested-by: Ævar Arnfjörð Bjarmason <>
    Signed-off-by: Junio C Hamano <>
    authored August 17, 2010 gitster committed August 19, 2010

Aug 15, 2010

  1. jrn

    compat: add strtok_r()

    Windows does not have strtok_r (and while it does have an identical
    strtok_s, but it is not obvious how to use it).  Grab an
    implementation from glibc.
    The svn-fe tool uses strtok_r to parse paths.
    Acked-by: Johannes Sixt <>
    Helped-by: Jakub Narebski <>
    Signed-off-by: Jonathan Nieder <>
    Signed-off-by: Junio C Hamano <>
    authored August 13, 2010 gitster committed August 14, 2010
Something went wrong with that request. Please try again.