Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jun 2008 21:01:27 +0000 (UTC)
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 vfwprintf.c
Message-ID:  <200806292101.m5TL1ieH017339@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
das         2008-06-29 21:01:27 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdio       vfprintf.c vfwprintf.c 
  Log:
  SVN rev 180102 on 2008-06-29 21:01:27Z by das
  
  Begin de-spaghettifying the code that handles positional arguments.
  In particular, encapsulate the state of the type table in a struct,
  and add inline functions to initialize, free, and manipulate that
  state. This replaces some ugly macros that made proper error handling
  impossible.
  
  While here, remove an unneeded test for NULL and a variable that is
  initialized (many times!) but never used. The compiler didn't catch
  these because of rampant use of the same variable to mean different
  things in different places.
  
  This commit should not cause any changes in functionality.
  
  Revision  Changes    Path
  1.79      +153 -94   src/lib/libc/stdio/vfprintf.c
  1.30      +153 -94   src/lib/libc/stdio/vfwprintf.c



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