History log of /netbsd-src/lib/libc/stdio/vfprintf.c (Results 1 – 25 of 60)
Revision Date Author Comments
# 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.


# 40f43788 15-Oct-2009 dsl <dsl@NetBSD.org>

Reverse previous, committed by mistake.


# 01a0f8ea 14-Oct-2009 dsl <dsl@NetBSD.org>

Change a while () {} into a do {} while() so that fgets(buf, 1, file)
detects EOF on an empty file.
Fixes most of PR/41992


# f38f9499 03-Feb-2007 christos <christos@NetBSD.org>

use vfwprintf.c


# aa781c37 02-Feb-2007 christos <christos@NetBSD.org>

Instead of abusing stdio to get a signal-safe version of sprintf, provide one.


# 8544bfaf 26-Jan-2007 cbiere <cbiere@NetBSD.org>

Fix for issue reported in PR lib/35401 as well as related overflow bugs.


# f45c81bb 30-Oct-2006 christos <christos@NetBSD.org>

set n properly so that we can terminate.


# 78921a02 28-Oct-2006 christos <christos@NetBSD.org>

Initialize decimal_point.


# f71e448c 28-Oct-2006 christos <christos@NetBSD.org>

initialize floating_point as needed.


# abca035c 27-Oct-2006 christos <christos@NetBSD.org>

Add signal-safe versions of snprintf and vsnprintf


# c975cdc8 16-Feb-2006 christos <christos@NetBSD.org>

- s/notyet/WIDE_DOUBLE/
- Add a little more glue for WIDE_DOUBLE; not done yet.
- s/def FLOATING_POINT/ndef NO_FLOATING_POINT/ to reduce diffs with FreeBSD.
- fix memory leak where each double format

- s/notyet/WIDE_DOUBLE/
- Add a little more glue for WIDE_DOUBLE; not done yet.
- s/def FLOATING_POINT/ndef NO_FLOATING_POINT/ to reduce diffs with FreeBSD.
- fix memory leak where each double formatted leaked 24 by calling __freedtoa()
appropriately. the new gdtoa keeps a list of memory chunks allocated by
malloc(), and it must maintained properly by calling __freedtoa() on the
results of __dtoa() Hi Klaus!
- in vfwprintf() make cvt return char * and convert it using __mbsconv(),
instead of having it return wchar_t *.

This should fix the memory leaks people have been reporting (eg. in top etc.)

show more ...


# 03256c6e 29-Nov-2005 christos <christos@NetBSD.org>

WARNS=4


# fd5cb0ac 09-Feb-2005 kleink <kleink@NetBSD.org>

A little libc namespace housekeeping exercise:
* Make vfprintf_unlocked() an internal function, c.f. __svfscanf_unlocked().
* Add internal names for arc4random(), endnetpath(), fhstatvfs(),
fstatvf

A little libc namespace housekeeping exercise:
* Make vfprintf_unlocked() an internal function, c.f. __svfscanf_unlocked().
* Add internal names for arc4random(), endnetpath(), fhstatvfs(),
fstatvfs(), mkstemp(), shquote(), statvfs(), taddr2uaddr(), uaddr2taddr(),
uuid_create_nil(), uuid_is_nil(), and wcwidth().
* Include namespace.h where supposed to.

show more ...


# 4b9f9bad 02-Jul-2004 christos <christos@NetBSD.org>

remove __UNCONST definition; it is now in <sys/cdefs.h>


# 4634f071 03-Mar-2004 drochner <drochner@NetBSD.org>

Don't zero a floating point variable on entry -- this causes the FPU to
be allocated needlessly by almost every program (at least on i386/amd64).


# eb7c1594 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.


# 3fdac2b8 18-Jan-2003 thorpej <thorpej@NetBSD.org>

Merge the nathanw_sa branch.


# 3fb28eec 26-May-2002 wiz <wiz@NetBSD.org>

__STDC__ is always defined on NetBSD.


# 17f3654a 07-Dec-2001 yamt <yamt@NetBSD.org>

- make FILE structure extensible without breaking binary-compatibility.
- add fputwc, fgetwc, fwide and related functions.
- add hooks needed to maintain the orientation of file stream.


# dcf4ce25 02-Dec-2001 kleink <kleink@NetBSD.org>

C99:
* Recognize %F.
* Convert {Infinity,NaN} to {"inf","nan"} for %[efg], and to
{"INF","NAN"} for %[EFG].


# 80f30d4d 28-Nov-2001 kleink <kleink@NetBSD.org>

Since we're returned the sign of a floating-point number by __dtoa(),
use that to decide whether to include a minus sign in the result.
Fixes printing -0.0, and thus PR lib/3137.


# 0d3aa2aa 27-Nov-2001 augustss <augustss@NetBSD.org>

Ugh, back out last commit. It makes vfprintf depend on -lm.


# a928006f 27-Nov-2001 augustss <augustss@NetBSD.org>

Print sign of -0.0 correctly. Fixes PR 3137 (mine).


# 50f5afd5 04-Nov-2001 lukem <lukem@NetBSD.org>

fix WARNS=2 (-Wshadow) warnings


# fe3c9cea 28-Apr-2001 kleink <kleink@NetBSD.org>

* Move definitions of exact-width integer types from <machine/types.h>
to <sys/types.h> and <sys/stdint.h>.
* Add a new C99 <stdint.h> header, which provides integer types of
explicit width, rela

* Move definitions of exact-width integer types from <machine/types.h>
to <sys/types.h> and <sys/stdint.h>.
* Add a new C99 <stdint.h> header, which provides integer types of
explicit width, related limits and integer constant macros.
* Extend <inttypes.h> to provide <stdint.h> definitions and format
macros for printf() and scanf().
* Add C99 strtoimax() and strtoumax() functions.
* Use the latter within scanf().
* Add C99 %j, %t and %z printf()/scanf() conversions for
intmax_t, pointer-type and size_t arguments.

show more ...


123