Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2003 04:24:53 -0700 (PDT)
From:      David Schultz <das@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/stdio vfprintf.c
Message-ID:  <200304141124.h3EBOsDs014240@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
das         2003/04/14 04:24:53 PDT

  FreeBSD src repository

  Modified files:
    lib/libc/stdio       vfprintf.c 
  Log:
  Fix a bug where printf was erroneously printing a decimal point for
  %f and sufficiently short %g specifiers where the precision was
  explicitly zero, no '#' flag was specified, and the floating point
  argument was > 0 and <= 0.5.  While at it, add some comments to better
  explain the relevant bits of code.
  
  Noticed by:     Christoph Kukulies <kuku@physik.rwth-aachen.de>
  
  Revision  Changes    Path
  1.58      +10 -8     src/lib/libc/stdio/vfprintf.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304141124.h3EBOsDs014240>