The NetBSD Project

CVS log for src/include/stdio.h

[BACK] Up to [] / src / include

Request diff between arbitrary revisions

Default branch: MAIN
Current tag: netbsd-4

Revision / (download) - annotate - [select for diffs], Fri Aug 24 20:07:38 2007 UTC (11 years, 8 months ago) by liamjfoy
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0
Changes since +3 -1 lines
Diff to previous (colored) to branchpoint 1.66 (colored) next main 1.67 (colored)

Pull up following revision(s) (requested by kristerw in ticket #833):
	include/unistd.h: revision 1.112
	lib/libc/ssp/snprintf_chk.c: revision 1.4
	lib/libc/ssp/sprintf_chk.c: revision 1.4
	lib/libc/ssp/vsprintf_chk.c: revision 1.4
	lib/libc/ssp/gets_chk.c: revision 1.4
	include/stdio.h: revision 1.70
	lib/libc/ssp/vsnprintf_chk.c: revision 1.4
	lib/libc/ssp/fgets_chk.c: revision 1.4
	include/strings.h: revision 1.12
	include/string.h: revision 1.33
Do not include SSP files unless _FORTIFY_SOURCE > 0.
Update includes so that this builds for USE_FORT=no too.

Revision / (download) - annotate - [select for diffs], Sun Jul 22 18:44:38 2007 UTC (11 years, 10 months ago) by liamjfoy
Branch: netbsd-4
Changes since +3 -1 lines
Diff to previous (colored) to branchpoint 1.66 (colored)

Pull up to netbsd-4 (requested by christos in ticket #773):

Move libssp to libc.

Revision / (download) - annotate - [select for diffs], Mon May 7 19:49:10 2007 UTC (12 years ago) by pavel
Branch: netbsd-4
Branch point for: wrstuden-fixsa
Changes since 1.66: +2 -5 lines
Diff to previous 1.66 (colored)

Pull up following revision(s) (requested by manu in ticket #607):
	lib/libc/arch/i386/gen/isnanl.c: revision 1.6
	lib/libc/gdtoa/gdtoa.c: revision 1.2-1.3
	lib/libc/arch/x86_64/gen/isnanl.c: revision 1.6
	lib/libc/gdtoa/gdtoaimp.h: revision 1.6
	sys/arch/m68k/include/ieee.h: revision 1.13
	usr.bin/xlint/lint1/scan.l: revision 1.36-1.37
	lib/libc/stdio/snprintf_ss.c: revision 1.4
	lib/libc/arch/i386/gen/isfinitel.c: revision 1.2
	lib/libc/stdio/vfscanf.c: revision 1.38
	sys/arch/sparc/include/ieee.h: revision 1.11-1.12
	lib/libc/gdtoa/dtoa.c: revision 1.4
	lib/libc/stdio/ revision 1.35
	lib/libc/stdio/fvwrite.c: revision 1.17
	lib/libc/arch/m68k/gen/fpclassifyl.c: revision 1.2
	lib/libc/arch/i386/gen/isinfl.c: revision 1.6
	lib/libc/arch/x86_64/gen/isinfl.c: revision 1.6
	lib/libc/arch/x86_64/gen/isfinitel.c: revision 1.2
	lib/libc/stdio/vfprintf.c: revision 1.55-1.57
	lib/libc/stdio/vsnprintf_ss.c: revision 1.3
	lib/libc/stdio/vfwprintf.c: revision 1.10
	sys/arch/x86/include/ieee.h: revision 1.10
	lib/libc/gdtoa/dmisc.c: revision 1.3
	lib/libc/gdtoa/ revision 1.5
	sys/arch/hppa/include/ieee.h: revision 1.10
	lib/libc/arch/x86_64/gen/fpclassifyl.c: revision 1.3
	lib/libc/arch/i386/gen/fpclassifyl.c: revision 1.2
	sys/sys/ieee754.h: revision 1.7
	lib/libc/gdtoa/gdtoa.h: revision 1.7
	include/stdio.h: revision 1.67-1.68
	lib/libc/gdtoa/hdtoa.c: revision 1.1-1.4
	lib/libc/gdtoa/ldtoa.c: revision 1.1-1.4
defined(_NETBSD_SOURCE) is equivalent to (!defined(_ANSI_SOURCE) &&
!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)), so there's no
need to check both of them.
Fix for issue reported in PR lib/35401 as well as related overflow bugs.
deal with hex doubles.
Instead of abusing stdio to get a signal-safe version of sprintf, provide one.
remove __SAFE
add long double and hex double support from freebsd.
make this compile.
add new prototypes.
add the new files to the build. Note I am not bumping libc now, because
these are not used yet.
Merge the int bit with the high fraction bit. Add constants/macros
needed by gdtoa.
add constants used by gdtoa
since the int bit is merged, do the explicit math.
ext_int bit is no more.
ext_int bit is no more.
- merge change from freebsd
- add support for building as vfprintf.c
- XXX: we strdup to simplify the freeing logic. This should be fixed for
  efficiency in the vfprintf case.
use vfwprintf.c
enable wide doubles.
some int -> size_t
deal with sparc64 that has 112 bits of mantissa.
make extended precision gdtoa friendly.
int/size_t changes
make this gdtoa friendly.
remove dup definition
use dtoa() instead of returning empty when we don't have extended precision
Fix previous, add forgotten pointer dereference in the call to dtoa().
Add a cheesy workaround marked XXX for the situation where the
strtod() implementation available in the environment does not
handle hex floats.
Discussed with and suggested by christos
From Christos:  gdtoa fixes for m68k.  M68k ports should build now, but
printing extended precision is a little off.
vax does not have <machine/ieee.h> or long double
It would be nice if the compiler provided something like __IEEE_MATH__
bring in FreeBSD's vfscanf() to gain multi-byte/collation support.
Unfortunately it is too difficult to make vfwscanf and this share
the same code like I did with printf, because for string parsing
the code is too different.

Revision 1.66 / (download) - annotate - [select for diffs], Wed Nov 22 17:23:24 2006 UTC (12 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: netbsd-4
Changes since 1.65: +1 -8 lines
Diff to previous 1.65 (colored)

Don't expose _ss functions for 4.0. Requested by core.

This form allows you to request diff's 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.

CVSweb <>