History log of /netbsd-src/lib/libc/stdio/vfwprintf.c (Results 1 – 25 of 41)
Revision Date Author Comments
# ace5b9b5 20-Jan-2024 christos <christos@NetBSD.org>

Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.


# c41e4692 04-Apr-2023 christos <christos@NetBSD.org>

PR/57250: Martin Husemann: dtoa mishandles infinite doubles on 32bit big
endian machines. When long double support was added, the old code was kept
for the regular double code. This code was never us

PR/57250: Martin Husemann: dtoa mishandles infinite doubles on 32bit big
endian machines. When long double support was added, the old code was kept
for the regular double code. This code was never used because WIDE_DOUBLE
was always defined in the Makefile. Remove that old code, and conditionalize
the WIDE_DOUBLE code based on if long doubles are different than doubles on
the specific platform.

show more ...


# 388550b0 19-Apr-2022 rillig <rillig@NetBSD.org>

lib: remove CONSTCOND comment

Since 2021-01-31, lint doesn't need it anymore for the common pattern of
'do ... while (0)'.


# 3249d3dc 12-Mar-2022 christos <christos@NetBSD.org>

reallocarr returns errno. preserve it.


# a2c387ce 12-Mar-2022 nia <nia@NetBSD.org>

vfwprintf(3): use reallocarr


# b22c29c1 11-Jul-2017 perseant <perseant@NetBSD.org>

A more correct fix for PR standards/52282.


# 9648a4c2 10-Jul-2017 perseant <perseant@NetBSD.org>

Do not use thousands grouping when none is specified by the locale.
Fixes PR standards/52282.


# 01364496 20-Jan-2014 yamt <yamt@NetBSD.org>

vfwprintf: fix error propagation
PR/47660 (Julio Merino)


# f42f5177 23-Sep-2013 pooka <pooka@NetBSD.org>

Make compile with -DNO_FLOATING_POINT


# e0ac190e 17-May-2013 joerg <joerg@NetBSD.org>

Provide explicit LC_C_LOCALE accessor and drop the various NULL checks.
Provide LC_GLOBAL_LOCALE in a way that works with all locale functions.
Merge constant data used by the initial global locale a

Provide explicit LC_C_LOCALE accessor and drop the various NULL checks.
Provide LC_GLOBAL_LOCALE in a way that works with all locale functions.
Merge constant data used by the initial global locale and the C locale.
Drop function call layer for _current_locale() and directly return the
locale reference, not a pointer to it. Use protected access for global
variables, so that libc references can avoid the GOT overhead.

show more ...


# 2561b634 19-Apr-2013 joerg <joerg@NetBSD.org>

Add explicit locale versions for the printf family. Replace asprintf,
snprintf and sprintf with simple wrappers around the corresponding
va_list functions to reduce code duplication.


# de001ba2 27-Mar-2012 christos <christos@NetBSD.org>

- widen the internal read and write calls to match the syscalls
- add funopen2() which provides access to flush() and the wider calls.
- make use of the new flush call in fmemopen()


# d9285aa4 21-Mar-2012 christos <christos@NetBSD.org>

unsigned char portability casts


# 526d9427 15-Mar-2012 christos <christos@NetBSD.org>

- ansify, knf.
- no functional changes


# c5e820ca 13-Mar-2012 christos <christos@NetBSD.org>

PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values t

PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@

show more ...


# be2404a7 17-Feb-2012 christos <christos@NetBSD.org>

remove unused variable


# f325545b 17-Feb-2012 christos <christos@NetBSD.org>

Fix: CVE-2012-0864 fprintf() positional argument abuse.
Described in: http://www.phrack.org/issues.html?issue=67&id=9#article
Reported by Stefan Cornelius / Red Hat Security Response Team

- convert

Fix: CVE-2012-0864 fprintf() positional argument abuse.
Described in: http://www.phrack.org/issues.html?issue=67&id=9#article
Reported by Stefan Cornelius / Red Hat Security Response Team

- convert internal positional arguments bookkeeping from int to size_t
- provide overflow protection in positional argument spec
- convert loops to memset
- fix memory leaks
- limit positional argument stack offset to the number of arguments required
by the printf to avoid coredump from va_arg() exhaustion.

show more ...


# 01fb81a6 17-Aug-2011 christos <christos@NetBSD.org>

fix the rest of libc mi gcc-4.5 hacks. portmasters should fix the md ones.


# 3d3c5d42 16-Dec-2010 wiz <wiz@NetBSD.org>

Observe the following spelling:
- wide character (noun)
- wide-character (adjective)

Inspired by jmc@OpenBSD.


# b0f3f04a 19-Nov-2010 christos <christos@NetBSD.org>

PR/44113: Nicolas Joly: printf(3) should ignore zero padding for nan/inf


# 9731566d 31-Jul-2010 tnozaki <tnozaki@NetBSD.org>

initialize fake FILE, not fp.


# e4086817 31-Jul-2010 christos <christos@NetBSD.org>

undo unrelated diff.


# 8c1984cd 31-Jul-2010 tnozaki <tnozaki@NetBSD.org>

fix coredump vfwprintf(stderr) reported in current-user@
rework rev1.9, _FILEEXT_SETUP() doesn't care wcio_data. so initialize it.


# cfbb35ed 25-Oct-2009 christos <christos@NetBSD.org>

revert some of dsl's changes to make things build on i386; he can undo what
he wants when he comes back.


# 0b807be8 24-Oct-2009 dsl <dsl@NetBSD.org>

Remove a load of pointless casts - one that even lint doesn't bleat about.


12