History log of /freebsd-10.1-release/lib/libstand/printf.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 209949 12-Jul-2010 jkim

Use type-specific inline function imax() instead of deprecated macro MAX().

Prodded by: bde


# 209842 09-Jul-2010 jkim

Fix build by defining MAX() macro here.


# 209837 08-Jul-2010 jkim

Sync. printf() of libstand(3) with sys/kern/subr_prf.c.

CVS r1.94 jhb:
Cast the integer read as the first argument for %b to an unsigned integer
so it's value is not sign extended when assigned to the uintmax_t variable
used internally by printf. For example, if bit 31 is set in the cpuid
feature word, then %b would print out the initial value as a 16 character
hexadecimal value. Now it only prints out an 8 character value.

CVS r1.109 njl:
Add support for 'h' and 'hh' modifiers for printf(9).

CVS r1.117 phk:
If we ignore an unknown % sequence, we must stop interpreting the remaining
% arguments because the varargs are now out of sync and there is a risk that
we might for instance dereference an integer in a %s argument.

SVN r209836 jkim:
Implement optional 'precision' for numbers. Previously, it was parsed but
ignored. Some third-party modules (e.g., APCICA) prefer this format over
zero padding flag '0'.


# 185037 17-Nov-2008 delphij

Obey signedness flag in %z case.

MFC after: 2 months


# 165906 08-Jan-2007 imp

Remove California Regent's clause 3, per letter


# 156518 09-Mar-2006 jkim

Implement printf 'X' conversion for both libstand and kernel.


# 113159 06-Apr-2003 peter

Sync up with kern/subr_prf.c. This adds %ll, %j, %q, %z, etc.


# 103949 25-Sep-2002 mike

Use the standardized CHAR_BIT constant instead of NBBY in userland.


# 92913 21-Mar-2002 obrien

Remove 'register' keyword.


# 84221 30-Sep-2001 dillon

Add __FBSDID()s to libstand


# 55137 27-Dec-1999 peter

Tidy up some loose ends. nullfs_read/write were returning the wrong value.
Fix some ctype problems - isascii() caused a warning if fed an unsigned
char - it's always > 0 and libstand is compiled with -Wall.
Missing prototype/include in printf.c


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 40805 01-Nov-1998 msmith

Add:
assert()
setjmp()/longjmp()
vsprintf()


# 38452 20-Aug-1998 msmith

This commit was generated by cvs2svn to compensate for changes in r38451,
which included commits to RCS files with non-trunk default branches.


# 38451 20-Aug-1998 msmith

This is libstand; a support library for standalone executables (eg. bootstrap
modules).
Obtained from: NetBSD, with some architectural changes and many additions.