Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Dec 1997 05:47:16 -0800 (PST)
From:      "Andrey A. Chernov" <ache@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG
Subject:   cvs commit: src/lib/libc/stdio vfprintf.c
Message-ID:  <199712241347.FAA19551@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
ache        1997/12/24 05:47:15 PST

  Modified files:
    lib/libc/stdio       vfprintf.c 
  Log:
  Fix snprintf(...%n...)
  to pass not more than buffer size to %n agrument, old variant
  always assume infinite buffer.
  %n is for actually transmitted characters, not for planned ones.
  
  Revision  Changes    Path
  1.14      +9 -5      src/lib/libc/stdio/vfprintf.c



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