Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2009 04:29:02 +0000 (UTC)
From:      David Schultz <das@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/lib/libc/stdio printfcommon.h vfprintf.c vfwprintf.c
Message-ID:  <200901150436.n0F4a35e064321@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
das         2009-01-15 04:29:02 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdio       vfprintf.c vfwprintf.c 
  Added files:
    lib/libc/stdio       printfcommon.h 
  Log:
  SVN rev 187277 on 2009-01-15 04:29:02Z by das
  
  Convert the insidious macros that handle printf()'s buffering into
  slightly less evil inline functions, and move the buffering state into
  a struct. This will make it possible for helper routines to produce
  output for printf() directly, making it possible to untangle the code
  somewhat.
  
  In wprintf(), use the same buffering mechanism to reduce diffs to
  printf(). This has the side-effect of causing wprintf() to catch write
  errors that it previously ignored.
  
  Revision  Changes    Path
  1.1       +130 -0    src/lib/libc/stdio/printfcommon.h (new)
  1.84      +16 -48    src/lib/libc/stdio/vfprintf.c
  1.35      +58 -38    src/lib/libc/stdio/vfwprintf.c



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