History log of /netbsd-src/lib/libc/gen/fmtcheck.c (Results 1 – 16 of 16)
Revision Date Author Comments
# fd569112 13-Dec-2017 rin <rin@NetBSD.org>

Revert change made by rev 1.11; now, fmtcheck(3) does not complain about
unused trailing arguments as before.

See also discussion on tech-userland:
http://mail-index.netbsd.org/tech-userlevel/2017/1

Revert change made by rev 1.11; now, fmtcheck(3) does not complain about
unused trailing arguments as before.

See also discussion on tech-userland:
http://mail-index.netbsd.org/tech-userlevel/2017/12/07/msg011019.html

show more ...


# d2b4f0d1 06-Dec-2017 rin <rin@NetBSD.org>

Fix possible use of uninitialized variable in case of WIN32 && !_WIN64.


# c084bfdf 06-Dec-2017 rin <rin@NetBSD.org>

Teach fmtcheck(3) about wint_t, intmax_t, char *, intmax_t *, and wide string
arguments. Taken from FreeBSD:
https://svnweb.freebsd.org/base/head/lib/libc/gen/fmtcheck.c#rev181154


# 41130f53 06-Dec-2017 rin <rin@NetBSD.org>

Teach fmtcheck(3) about the ' (thousands separator) flag. Taken from FreeBSD:
https://svnweb.freebsd.org/base/head/lib/libc/gen/fmtcheck.c#rev143905


# efd7892a 06-Dec-2017 rin <rin@NetBSD.org>

Teach fmtcheck(3) about the flags a, A, F, G, t, and z. Taken from FreeBSD:
https://svnweb.freebsd.org/base/head/lib/libc/gen/fmtcheck.c#rev117014


# 75399b3d 06-Dec-2017 rin <rin@NetBSD.org>

Correct oversight of wrong format string with fewer number of arguments than
default format string has.


# 801bf996 20-Jan-2016 christos <christos@NetBSD.org>

Add support for Windows I{32,64} formats from Jason Hood via file(1).


# e72cca96 14-Jun-2014 apb <apb@NetBSD.org>

Teach fmtcheck(3) that a pointer and a long are not the same.


# ce099b40 28-Apr-2008 martin <martin@NetBSD.org>

Remove clause 3 and 4 from TNF licenses


# 4e11af46 24-Dec-2005 perry <perry@NetBSD.org>

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.


# 1793b7dd 28-Oct-2004 dsl <dsl@NetBSD.org>

Use (unsigned char) cast to sanitise arguments to ctype functions.


# d349cd67 27-Oct-2004 dsl <dsl@NetBSD.org>

Fix a load of international alphabet problems with isxxx() and toupper()
Change isspace(*char_ptr) to isspace(*char_ptr & 0xff) so that the correct
piece of memory is looked at for the bit mask.
gcc

Fix a load of international alphabet problems with isxxx() and toupper()
Change isspace(*char_ptr) to isspace(*char_ptr & 0xff) so that the correct
piece of memory is looked at for the bit mask.
gcc optimises out the '& 0xff' (on i386 at least).
Fixes problems found by gcc when the splurious (int) cast is removed
from the #defines in ctype.h

show more ...


# 4d91dcef 10-Feb-2001 briggs <briggs@NetBSD.org>

Remove extra #include.


# f1ac0dd6 16-Nov-2000 matt <matt@NetBSD.org>

The prototype for fmtcheck is in <stdio.h> so we'd better include it.


# 2c5b1650 01-Nov-2000 briggs <briggs@NetBSD.org>

fmtcheck() should be declared as fmtcheck(), not __fmtcheck().
The weak_alias is __fmtcheck(). matt@3am-software.com pointed this out
as a problem when trying to build on a vax.


# d00ebb12 20-Oct-2000 briggs <briggs@NetBSD.org>

Add {__,}fmtcheck(), a function specified by Bill Sommerfeld to check
a user-supplied format string against a fallback format string to ensure
that they will consume arguments of the same type.

libc

Add {__,}fmtcheck(), a function specified by Bill Sommerfeld to check
a user-supplied format string against a fallback format string to ensure
that they will consume arguments of the same type.

libc minor bump for new API entry point.

show more ...