DragonFly BSD

CVS log for src/lib/libc/stdio/vsnprintf.c

[BACK] Up to [DragonFly] / src / lib / libc / stdio

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.8.8.1: download - view: text, markup, annotated - select for diffs
Thu May 22 07:19:33 2008 UTC (6 years, 5 months ago) by hasso
Branches: DragonFly_RELEASE_1_12
Diff to: previous 1.8: preferred, unified; next MAIN 1.9: preferred, unified
Changes since revision 1.8: +4 -2 lines
MFC rev 1.9

The char dummy must be dummy[2] to accomodate a nul terminator when dealing
with a degenerate buffer size.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu May 15 03:59:59 2008 UTC (6 years, 5 months ago) by dillon
Branches: MAIN
CVS tags: HEAD, DragonFly_RELEASE_2_0_Slip, DragonFly_RELEASE_2_0, DragonFly_Preview
Diff to: previous 1.8: preferred, unified
Changes since revision 1.8: +4 -2 lines
The char dummy must be dummy[2] to accomodate a nul terminator when dealing
with a degenerate buffer size.

Submitted-by: Johannes Hofmann <Johannes.Hofmann@gmx.de>
Taken-from: FreeBSD

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Thu Mar 2 18:09:09 2006 UTC (8 years, 8 months ago) by joerg
Branches: DragonFly_RELEASE_1_4
CVS tags: DragonFly_RELEASE_1_4_Slip
Diff to: previous 1.7: preferred, unified; next MAIN 1.8: preferred, unified
Changes since revision 1.7: +1 -0 lines
MFC asprintf.c, rev 1.8; findfp.c, rev 1.11; snprintf.c, rev 1.7;
  sprintf.c, rev 1.7; sscanf.c, rev 1.9; vasprintf.c, rev 1.8;
  vfprintf.c, rev 1.15; vfwprintf.c, rev 1.3; vsnprintf.c, rev 1.7;
  vsprintf.c, rev 1.8; vsscanf.c, rev 1.10; vswprintf.c, rev 1.2;
  vswscanf.c, rev 1.3
Fix initialisation of wide char part in FILE.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Mar 2 18:05:30 2006 UTC (8 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_8_Slip, DragonFly_RELEASE_1_8, DragonFly_RELEASE_1_6_Slip, DragonFly_RELEASE_1_6, DragonFly_RELEASE_1_12_Slip, DragonFly_RELEASE_1_10_Slip, DragonFly_RELEASE_1_10
Branch point for: DragonFly_RELEASE_1_12
Diff to: previous 1.7: preferred, unified
Changes since revision 1.7: +1 -0 lines
Fix initialisation of wide char support in FILE. Problem reported
on #dragonflybsd.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jul 23 23:14:44 2005 UTC (9 years, 3 months ago) by joerg
Branches: MAIN
Branch point for: DragonFly_RELEASE_1_4
Diff to: previous 1.6: preferred, unified
Changes since revision 1.6: +4 -3 lines
Merge __sFILEX into __FILE. Let __fpending handle the ungetc buffer
correctly.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Jul 23 20:23:06 2005 UTC (9 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.5: preferred, unified
Changes since revision 1.5: +7 -5 lines
First step to cleaning up stdio. This breaks the libc ABI, all programs
have to be recompiled.

Make FILE an opaque type for normal operation (anything outside libc).
This means programs have to use the exported interface, they can neither
make static instances on the heap or access fields of their own.

Introduce a new type __FILE_public, which contains the fields accessed
by the various macros. It is placed first in the real FILE and the
macros cast the given FILE * to __FILE_public for access. To allow
better argument checks, all macros have been converted to inline
functions instead.

Merge the various stdio helper headers into a single priv_stdio.h. The
license from the original files has been kept, the third clause is gone
as part of the UCB copyright addendum. They haven't been changed in
FreeBSD at all.

Add two new helper functions, fcookie and __fpending to read parts of
the hidden state. The former is handy for funopen users, the latter
exists on other systems as well.

Cleanup some minor warnings on the way and hide some local functions
with static.

Adept libftpio and CVS to the chanced API.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon May 9 12:43:40 2005 UTC (9 years, 5 months ago) by davidxu
Branches: MAIN
Diff to: previous 1.4: preferred, unified
Changes since revision 1.4: +3 -0 lines
Add locking for FILE.

Obtained from: FreeBSD

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jan 31 22:29:40 2005 UTC (9 years, 9 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_Stable, DragonFly_RELEASE_1_2_Slip, DragonFly_RELEASE_1_2
Diff to: previous 1.3: preferred, unified
Changes since revision 1.3: +2 -1 lines
Remove _THREAD_SAFE depenendancies.  Create weakly associated stubs for
posix threading calls used by libc and weak associations for procedures that
a threading library would otherwise have to override.  This allows a program
to be linked with libc, or linked with libc + a threading library.  libc_r
will be deprecated over time.

Traditionally libc_r had to be linked against a threading library rather then
libc.  Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe
libc or a thread-capable libc.  The threading capability is accomplished by
making the appropriate thread locking calls and providing weakly referenced
dummy stub functions for the case where a threading library is not linked in.
Certain third party software, namely XFree/XOrg, also assume threading
stubs in libc.

This is precursor work to a port of David Xu's 1:1 threading library and is
also intended as a basis to allow DragonFly to support multiple threading
libraries.

Ported-by: David Rhodus <sdrhodus@gmail.com>
Primarily-ported-from: FreeBSD
Testing and bug fixes by David Xu and Matt Dillon

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Nov 9 02:34:02 2003 UTC (10 years, 11 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_Snap29Sep2004, DragonFly_Snap13Sep2004, DragonFly_1_0_REL, DragonFly_1_0_RC1, DragonFly_1_0A_REL
Diff to: previous 1.2: preferred, unified
Changes since revision 1.2: +3 -6 lines
Core integer types header file reorganization stage 2/2:

Adjust main source files to reflect stdint.h and other changes.  Primarily
this means getting rid of the _BSD_XXX type useage but in some cases,
such as for tar, it means getting rid of #define overrides for intmax_t
and uintmax_t.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 04:26:46 2003 UTC (11 years, 4 months ago) by dillon
Branches: MAIN
Diff to: previous 1.1: preferred, unified
Changes since revision 1.1: +4 -8 lines
Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids.  Most
ids have been removed from !lint sections and moved into comment sections.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Jun 17 02:51:05 2003 UTC (11 years, 4 months ago) by dillon
Branches: MAIN
CVS tags: FREEBSD_4_FORK
import from FreeBSD RELENG_4 1.12.2.1

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options