The NetBSD Project

CVS log for src/include/stdio.h

[BACK] Up to [cvs.NetBSD.org] / src / include

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.97 / (download) - annotate - [select for diffs], Thu Mar 17 00:42:49 2016 UTC (3 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, HEAD
Changes since 1.96: +2 -2 lines
Diff to previous 1.96 (colored) to selected 1.41.2.4 (colored)

gcc 5, my patience is waning.

Revision 1.91.2.1 / (download) - annotate - [select for diffs], Wed Mar 25 17:15:54 2015 UTC (4 years ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.91: +3 -3 lines
Diff to previous 1.91 (colored) next main 1.92 (colored) to selected 1.41.2.4 (colored)

Pull up following revision(s) (requested by wiz in ticket #642):
	include/stdio.h: revision 1.96
	include/unistd.h: revision 1.145
Put fseeko, ftello, pread, and pwrite in the POSIX 2001 namespace.
Ok christos, apb, martin

Revision 1.96 / (download) - annotate - [select for diffs], Tue Mar 24 07:44:52 2015 UTC (4 years ago) by wiz
Branch: MAIN
Changes since 1.95: +3 -3 lines
Diff to previous 1.95 (colored) to selected 1.41.2.4 (colored)

Put fseeko, ftello, pread, and pwrite in the POSIX 2001 namespace.
Ok christos, apb, martin

Revision 1.95 / (download) - annotate - [select for diffs], Thu Mar 5 03:29:02 2015 UTC (4 years, 1 month ago) by dholland
Branch: MAIN
Changes since 1.94: +1 -3 lines
Diff to previous 1.94 (colored) to selected 1.41.2.4 (colored)

One vscanf_l is ample.

Revision 1.94 / (download) - annotate - [select for diffs], Wed Mar 4 13:33:19 2015 UTC (4 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.93: +3 -1 lines
Diff to previous 1.93 (colored) to selected 1.41.2.4 (colored)

PR/49715: Henning Petersen: Missing _*_DECLS in stdio.h around popenve.

Revision 1.93 / (download) - annotate - [select for diffs], Tue Jan 20 17:29:00 2015 UTC (4 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.92: +4 -1 lines
Diff to previous 1.92 (colored) to selected 1.41.2.4 (colored)

add popenve().

Revision 1.92 / (download) - annotate - [select for diffs], Mon Oct 13 00:47:03 2014 UTC (4 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.91: +2 -1 lines
Diff to previous 1.91 (colored) to selected 1.41.2.4 (colored)

add open_{,w}memstream

Revision 1.82.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:05 2014 UTC (4 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.82.2.1: +9 -5 lines
Diff to previous 1.82.2.1 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored) to selected 1.41.2.4 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.88.4.1 / (download) - annotate - [select for diffs], Sun Aug 10 07:03:53 2014 UTC (4 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.88: +10 -6 lines
Diff to previous 1.88 (colored) next main 1.89 (colored) to selected 1.41.2.4 (colored)

Rebase.

Revision 1.91 / (download) - annotate - [select for diffs], Thu Aug 7 17:24:03 2014 UTC (4 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.90: +3 -3 lines
Diff to previous 1.90 (colored) to selected 1.41.2.4 (colored)

cast to LHS type and minor KNF.

Revision 1.80.2.1 / (download) - annotate - [select for diffs], Tue Jun 3 13:55:44 2014 UTC (4 years, 10 months ago) by msaitoh
Branch: netbsd-6
Changes since 1.80: +8 -4 lines
Diff to previous 1.80 (colored) next main 1.81 (colored) to selected 1.41.2.4 (colored)

Pull up following revision(s) (requested by kleink in ticket #1066):
	src/include/stdio.h			1.89-1.90

Move declarations of getdelim() and getline() from the (incorrect) ANSI C
section to POSIX-2008.  From Jarmo Jaakkola in PR standards/48788.

Revision 1.90 / (download) - annotate - [select for diffs], Fri May 23 16:48:52 2014 UTC (4 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.89: +5 -1 lines
Diff to previous 1.89 (colored) to selected 1.41.2.4 (colored)

Fix use of getline and friends in C++ code.

Revision 1.79.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:36:35 2014 UTC (4 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.79.2.2: +66 -8 lines
Diff to previous 1.79.2.2 (colored) to branchpoint 1.79 (colored) next main 1.80 (colored) to selected 1.41.2.4 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.89 / (download) - annotate - [select for diffs], Mon May 19 16:04:10 2014 UTC (4 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.88: +4 -4 lines
Diff to previous 1.88 (colored) to selected 1.41.2.4 (colored)

Move declarations of getdelim() and getline() from the (incorrect) ANSI C
section to POSIX-2008.  From Jarmo Jaakkola in PR standards/48788.

Revision 1.82.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:28:49 2013 UTC (5 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.82: +66 -8 lines
Diff to previous 1.82 (colored) to selected 1.41.2.4 (colored)

resync from head

Revision 1.88 / (download) - annotate - [select for diffs], Sat May 4 18:30:14 2013 UTC (5 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: tls-earlyentropy
Changes since 1.87: +7 -1 lines
Diff to previous 1.87 (colored) to selected 1.41.2.4 (colored)

add the signal safe prototypes

Revision 1.87 / (download) - annotate - [select for diffs], Fri Apr 26 17:37:06 2013 UTC (5 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.86: +8 -7 lines
Diff to previous 1.86 (colored) to selected 1.41.2.4 (colored)

Don't pollute the name space with the various stdio macros for C++.

Revision 1.86 / (download) - annotate - [select for diffs], Fri Apr 19 23:42:26 2013 UTC (6 years ago) by joerg
Branch: MAIN
Changes since 1.85: +3 -1 lines
Diff to previous 1.85 (colored) to selected 1.41.2.4 (colored)

Add missing __BEGIN_DECLS/__END_DECLS.

Revision 1.85 / (download) - annotate - [select for diffs], Fri Apr 19 23:32:16 2013 UTC (6 years ago) by joerg
Branch: MAIN
Changes since 1.84: +16 -1 lines
Diff to previous 1.84 (colored) to selected 1.41.2.4 (colored)

Add scanf_l and wscanf_l families.

Revision 1.84 / (download) - annotate - [select for diffs], Fri Apr 19 15:22:24 2013 UTC (6 years ago) by joerg
Branch: MAIN
Changes since 1.83: +35 -1 lines
Diff to previous 1.83 (colored) to selected 1.41.2.4 (colored)

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.

Revision 1.83 / (download) - annotate - [select for diffs], Wed Apr 17 09:07:32 2013 UTC (6 years ago) by joerg
Branch: MAIN
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (colored) to selected 1.41.2.4 (colored)

White space

Revision 1.79.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:07:30 2012 UTC (6 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.79.2.1: +2 -2 lines
Diff to previous 1.79.2.1 (colored) to branchpoint 1.79 (colored) to selected 1.41.2.4 (colored)

sync with head.

Revision 1.82 / (download) - annotate - [select for diffs], Wed Apr 18 19:30:15 2012 UTC (7 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored) to selected 1.41.2.4 (colored)

specify size of the array to help -fmudflap

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:11 2012 UTC (7 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.79: +24 -16 lines
Diff to previous 1.79 (colored) to selected 1.41.2.4 (colored)

sync with head

Revision 1.81 / (download) - annotate - [select for diffs], Tue Mar 27 15:06:01 2012 UTC (7 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base4
Changes since 1.80: +17 -8 lines
Diff to previous 1.80 (colored) to selected 1.41.2.4 (colored)

funopen2()

Revision 1.80 / (download) - annotate - [select for diffs], Sun Jan 22 18:36:16 2012 UTC (7 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: netbsd-6
Changes since 1.79: +9 -10 lines
Diff to previous 1.79 (colored) to selected 1.41.2.4 (colored)

From tnozaki@: make fpos_t a complex object that keeps track of the parse
state of the stream. Change argument of the seek function to funopen() from
fpos_t to off_t. Make f{g,s}etpos() use the new fpos_t struct, while providing
backwards compatible entry points. Approved by releng@

Revision 1.79 / (download) - annotate - [select for diffs], Sun Jul 17 20:54:34 2011 UTC (7 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.78: +17 -11 lines
Diff to previous 1.78 (colored) to selected 1.41.2.4 (colored)

Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.

Revision 1.75.2.2 / (download) - annotate - [select for diffs], Fri Oct 22 07:11:52 2010 UTC (8 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.75.2.1: +12 -0 lines
Diff to previous 1.75.2.1 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored) to selected 1.41.2.4 (colored)

Sync with HEAD (-D20101022).

Revision 1.78 / (download) - annotate - [select for diffs], Fri Sep 24 09:21:53 2010 UTC (8 years, 6 months ago) by tnozaki
Branch: MAIN
CVS Tags: uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.77: +6 -1 lines
Diff to previous 1.77 (colored) to selected 1.41.2.4 (colored)

add fmemopen(3) derrived from POSIX:2008.
libc minor bump.

Revision 1.77 / (download) - annotate - [select for diffs], Mon Sep 6 14:52:26 2010 UTC (8 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.76: +8 -1 lines
Diff to previous 1.76 (colored) to selected 1.41.2.4 (colored)

Add dprintf and vdprintf. XXX: Might ifdef it if too many things break.

Revision 1.75.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:36:18 2010 UTC (8 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.75: +18 -18 lines
Diff to previous 1.75 (colored) to selected 1.41.2.4 (colored)

Sync with HEAD.

Revision 1.76 / (download) - annotate - [select for diffs], Thu Feb 25 18:37:12 2010 UTC (9 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: uebayasi-xip-base2, uebayasi-xip-base1
Changes since 1.75: +18 -18 lines
Diff to previous 1.75 (colored) to selected 1.41.2.4 (colored)

Consistently use __printflike and __scanflike.

Revision 1.75 / (download) - annotate - [select for diffs], Mon Jan 11 20:39:29 2010 UTC (9 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.74: +3 -3 lines
Diff to previous 1.74 (colored) to selected 1.41.2.4 (colored)

Use a proper char */size_t pair in __sfileext to keep track of the line
buffer for fgetln and fgetwln. Simplifies code by dropping the INT_MAX
related logic. Drop conditionals around FREELB, free(NULL) is valid.

Revision 1.74 / (download) - annotate - [select for diffs], Mon Jul 13 22:19:24 2009 UTC (9 years, 9 months ago) by roy
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.73: +8 -1 lines
Diff to previous 1.73 (colored) to selected 1.41.2.4 (colored)

Add implementations for getdelim(3) and getline(3).

Revision 1.73.6.2 / (download) - annotate - [select for diffs], Sun Sep 21 16:59:47 2008 UTC (10 years, 6 months ago) by christos
Branch: christos-time_t
Changes since 1.73.6.1: +501 -0 lines
Diff to previous 1.73.6.1 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored) to selected 1.41.2.4 (colored)

add missing attributes to the remaining calls, even the ones that gcc has
builtin attributes for (for symmetry and consistency). In the future this
might change to use compiler-neutral macros. On the other hand I don't
know of any other compiler that provides other macros with similar
functionality, so why bother?

Revision 1.73.6.1, Sun Sep 21 16:59:46 2008 UTC (10 years, 6 months ago) by christos
Branch: christos-time_t
Changes since 1.73: +0 -501 lines
FILE REMOVED

file stdio.h was added on branch christos-time_t on 2008-09-21 16:59:47 +0000

Revision 1.73 / (download) - annotate - [select for diffs], Sun Sep 21 16:59:46 2008 UTC (10 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, christos-time_t-nbase, christos-time_t-base
Branch point for: christos-time_t
Changes since 1.72: +29 -20 lines
Diff to previous 1.72 (colored) to selected 1.41.2.4 (colored)

add missing attributes to the remaining calls, even the ones that gcc has
builtin attributes for (for symmetry and consistency). In the future this
might change to use compiler-neutral macros. On the other hand I don't
know of any other compiler that provides other macros with similar
functionality, so why bother?

Revision 1.71.4.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:39:55 2008 UTC (10 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.71: +17 -9 lines
Diff to previous 1.71 (colored) next main 1.72 (colored) to selected 1.41.2.4 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.72 / (download) - annotate - [select for diffs], Mon Aug 4 17:08:49 2008 UTC (10 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Changes since 1.71: +17 -9 lines
Diff to previous 1.71 (colored) to selected 1.41.2.4 (colored)

Add _POSIX_HOST_NAME_MAX and _POSIX_SYMLOOP_MAX to <limits.h> and add some
references to them in <sys/param.h>
in <stdio.h> also export v*scanf when _ISOC99_SOURCE is defined

From andy dot shevchenko at gmail dot com.

Revision 1.70.6.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:14:43 2008 UTC (11 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.70: +3 -2 lines
Diff to previous 1.70 (colored) next main 1.71 (colored) to selected 1.41.2.4 (colored)

sync with head.

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Sun Mar 23 00:26:45 2008 UTC (11 years ago) by matt
Branch: matt-armv6
Changes since 1.70: +3 -2 lines
Diff to previous 1.70 (colored) next main 1.71 (colored) to selected 1.41.2.4 (colored)

sync with HEAD

Revision 1.71 / (download) - annotate - [select for diffs], Thu Mar 13 15:40:00 2008 UTC (11 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, matt-armv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.70: +3 -2 lines
Diff to previous 1.70 (colored) to selected 1.41.2.4 (colored)

Since _file is a short, check that the fd fits in it, otherwise bail with
EMFILE. We treat _file as an unsigned short to double our range, with a
special case for -1 (closed). Make a note of what we should do about stdio
if we ever bump libc. We could change _file in the future compatibly to an
int by putting it in the extension space but for now we don't bother.

Revision 1.66.2.1.2.1 / (download) - annotate - [select for diffs], Mon Sep 3 07:01:08 2007 UTC (11 years, 7 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.66.2.1: +5 -1 lines
Diff to previous 1.66.2.1 (colored) next main 1.66.2.2 (colored) to selected 1.41.2.4 (colored)

Sync w/ NetBSD-4-RC_1

Revision 1.66.2.3 / (download) - annotate - [select for diffs], Fri Aug 24 20:07:38 2007 UTC (11 years, 7 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 1.66.2.2: +3 -1 lines
Diff to previous 1.66.2.2 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored) to selected 1.41.2.4 (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 1.70.8.2 / (download) - annotate - [select for diffs], Thu Aug 2 21:49:10 2007 UTC (11 years, 8 months ago) by kristerw
Branch: matt-mips64
Changes since 1.70.8.1: +483 -0 lines
Diff to previous 1.70.8.1 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored) to selected 1.41.2.4 (colored)

Do not include SSP files unless _FORTIFY_SOURCE > 0.

Revision 1.70.8.1, Thu Aug 2 21:49:09 2007 UTC (11 years, 8 months ago) by kristerw
Branch: matt-mips64
Changes since 1.70: +0 -483 lines
FILE REMOVED

file stdio.h was added on branch matt-mips64 on 2007-08-02 21:49:10 +0000

Revision 1.70 / (download) - annotate - [select for diffs], Thu Aug 2 21:49:09 2007 UTC (11 years, 8 months ago) by kristerw
Branch: MAIN
CVS Tags: matt-mips64-base, matt-armv6-prevmlocking, matt-armv6-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf
Branch point for: matt-mips64, matt-armv6, keiichi-mipv6
Changes since 1.69: +3 -1 lines
Diff to previous 1.69 (colored) to selected 1.41.2.4 (colored)

Do not include SSP files unless _FORTIFY_SOURCE > 0.

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

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

Move libssp to libc.

Revision 1.69 / (download) - annotate - [select for diffs], Wed May 30 21:14:37 2007 UTC (11 years, 10 months ago) by tls
Branch: MAIN
CVS Tags: hpcarm-cleanup
Changes since 1.68: +3 -1 lines
Diff to previous 1.68 (colored) to selected 1.41.2.4 (colored)

Match usage of FORTIFY_SOURCE on other platforms by not requiring special
include path: the normal header files now include the "SSP" ones (which one
should note are not really named right: SSP and FORTIFY_SOURCE are independent
features).

Disable USE_SSP on targets where the compiler doesn't support it at all
(mips, alpha) or it's known broken (sh3).  But enable FORTIFY_SOURCE,
without SSP, on those platforms -- tested on mipsel.

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Mon May 7 19:49:10 2007 UTC (11 years, 11 months ago) by pavel
Branch: netbsd-4
Branch point for: wrstuden-fixsa
Changes since 1.66: +2 -5 lines
Diff to previous 1.66 (colored) to selected 1.41.2.4 (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/Makefile.inc: 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/Makefile.inc: 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
information.
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.68 / (download) - annotate - [select for diffs], Fri Feb 2 23:00:53 2007 UTC (12 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.67: +1 -2 lines
Diff to previous 1.67 (colored) to selected 1.41.2.4 (colored)

remove __SAFE

Revision 1.67 / (download) - annotate - [select for diffs], Sat Dec 9 19:33:42 2006 UTC (12 years, 4 months ago) by bjh21
Branch: MAIN
Changes since 1.66: +2 -4 lines
Diff to previous 1.66 (colored) to selected 1.41.2.4 (colored)

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.

Revision 1.66 / (download) - annotate - [select for diffs], Wed Nov 22 17:23:24 2006 UTC (12 years, 4 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) to selected 1.41.2.4 (colored)

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

Revision 1.65 / (download) - annotate - [select for diffs], Fri Oct 27 20:03:21 2006 UTC (12 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.64: +10 -2 lines
Diff to previous 1.64 (colored) to selected 1.41.2.4 (colored)

- flags should be unsigned short instead of short.
- add __SAFE flag, to indicate that we want async-signal-safe functionality
  only.
- add snprintf_ss, and vsnprintf_ss; these are undocumented on purpose.

Revision 1.64 / (download) - annotate - [select for diffs], Wed May 10 21:09:45 2006 UTC (12 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.63: +3 -1 lines
Diff to previous 1.63 (colored) to selected 1.41.2.4 (colored)

add __BEGIN_DECLS/__END_DECLS around snprintf() & vsnprintf() prototypes.

Revision 1.63 / (download) - annotate - [select for diffs], Tue Dec 27 17:21:28 2005 UTC (13 years, 3 months ago) by perry
Branch: MAIN
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored) to selected 1.41.2.4 (colored)

inline -> __inline for selected things (specifically, the header
file is POSIX visible and the usage isn't #ifdef _KERNEL)

Discussed with core. I may need to go farther than this but for now
compilations done with gcc -ansi (i.e. firefox) will be okay.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Dec 24 19:16:02 2005 UTC (13 years, 3 months ago) by perry
Branch: MAIN
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored) to selected 1.41.2.4 (colored)

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

Revision 1.53.2.1.2.2 / (download) - annotate - [select for diffs], Sun May 29 23:41:31 2005 UTC (13 years, 10 months ago) by riz
Branch: netbsd-2
CVS Tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1
Changes since 1.53.2.1.2.1: +18 -6 lines
Diff to previous 1.53.2.1.2.1 (colored) to branchpoint 1.53.2.1 (colored) next main 1.54 (colored) to selected 1.41.2.4 (colored)

Pull up revision 1.60 via patch (requested by kleink in ticket #1556):
Belatedly move snprintf() and vnsnprintf() into the XPG4.2/C99 section.

Revision 1.53.2.1.2.1 / (download) - annotate - [select for diffs], Sun May 29 23:38:25 2005 UTC (13 years, 10 months ago) by riz
Branch: netbsd-2
Changes since 1.53.2.1: +2 -3 lines
Diff to previous 1.53.2.1 (colored) to selected 1.41.2.4 (colored)

Pull up revision 1.61 (requested by kleink in ticket #1555):
Include <sys/ansi.h> after <sys/cdefs.h>; from Neil Booth in PR lib/30072.

Revision 1.58.2.3 / (download) - annotate - [select for diffs], Sat May 28 13:51:31 2005 UTC (13 years, 10 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.58.2.2: +18 -6 lines
Diff to previous 1.58.2.2 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored) to selected 1.41.2.4 (colored)

Pull up revision 1.60 (requested by kleink in ticket #348):
Belatedly move snprintf() and vnsnprintf() into the XPG4.2/C99 section.

Revision 1.58.2.2 / (download) - annotate - [select for diffs], Sat May 28 13:46:17 2005 UTC (13 years, 10 months ago) by tron
Branch: netbsd-3
Changes since 1.58.2.1: +2 -3 lines
Diff to previous 1.58.2.1 (colored) to branchpoint 1.58 (colored) to selected 1.41.2.4 (colored)

Pull up revision 1.61 (requested by kleink in ticket #346):
Include <sys/ansi.h> after <sys/cdefs.h>; from Neil Booth in PR lib/30072.

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Sat May 28 13:39:25 2005 UTC (13 years, 10 months ago) by tron
Branch: netbsd-3
Changes since 1.58: +4 -3 lines
Diff to previous 1.58 (colored) to selected 1.41.2.4 (colored)

Pull up revision 1.59 (requested by kleink in ticket #344):
Add restrict qualifiers to fopen()/freopen() arguments.

Revision 1.61 / (download) - annotate - [select for diffs], Wed May 25 20:45:38 2005 UTC (13 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.60: +2 -3 lines
Diff to previous 1.60 (colored) to selected 1.41.2.4 (colored)

Include <sys/ansi.h> after <sys/cdefs.h>; from Neil Booth in PR lib/30072.

Revision 1.60 / (download) - annotate - [select for diffs], Wed May 25 19:35:07 2005 UTC (13 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.59: +18 -6 lines
Diff to previous 1.59 (colored) to selected 1.41.2.4 (colored)

Belatedly move snprintf() and vnsnprintf() into the XPG4.2/C99 section.

Revision 1.59 / (download) - annotate - [select for diffs], Wed May 25 16:01:24 2005 UTC (13 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.58: +4 -3 lines
Diff to previous 1.58 (colored) to selected 1.41.2.4 (colored)

Add restrict qualifiers to fopen()/freopen() arguments.

Revision 1.58 / (download) - annotate - [select for diffs], Wed Feb 9 21:35:46 2005 UTC (14 years, 2 months ago) by kleink
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.57: +1 -3 lines
Diff to previous 1.57 (colored) to selected 1.41.2.4 (colored)

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.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Feb 3 04:39:32 2005 UTC (14 years, 2 months ago) by perry
Branch: MAIN
Changes since 1.56: +88 -90 lines
Diff to previous 1.56 (colored) to selected 1.41.2.4 (colored)

de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Fri Jul 2 18:13:45 2004 UTC (14 years, 9 months ago) by he
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE
Branch point for: netbsd-2
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored) next main 1.54 (colored) to selected 1.41.2.4 (colored)

Pull up revision 1.56 (requested by kleink in ticket #580):
  Tidy up the namespace: lint -> __lint__.

Revision 1.56 / (download) - annotate - [select for diffs], Thu Jul 1 22:31:28 2004 UTC (14 years, 9 months ago) by kleink
Branch: MAIN
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored) to selected 1.41.2.4 (colored)

Tidy up the namespace: lint -> __lint__.

Revision 1.55 / (download) - annotate - [select for diffs], Mon May 10 16:53:56 2004 UTC (14 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.54: +1 -2 lines
Diff to previous 1.54 (colored) to selected 1.41.2.4 (colored)

remove fgetstr() from public sight

Revision 1.54 / (download) - annotate - [select for diffs], Wed Apr 21 00:05:05 2004 UTC (15 years ago) by christos
Branch: MAIN
Changes since 1.53: +2 -1 lines
Diff to previous 1.53 (colored) to selected 1.41.2.4 (colored)

add fgetstr

Revision 1.53 / (download) - annotate - [select for diffs], Thu Aug 7 09:44:11 2003 UTC (15 years, 8 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.52: +2 -6 lines
Diff to previous 1.52 (colored) to selected 1.41.2.4 (colored)

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

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

Revision 1.52 / (download) - annotate - [select for diffs], Thu Jun 5 17:51:10 2003 UTC (15 years, 10 months ago) by bjh21
Branch: MAIN
Changes since 1.51: +2 -3 lines
Diff to previous 1.51 (colored) to selected 1.41.2.4 (colored)

P_tmpdir isn't in POSIX, so only define it for _XOPEN_SOURCE and
_NETBSD_SOURCE.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Apr 28 23:16:14 2003 UTC (15 years, 11 months ago) by bjh21
Branch: MAIN
Changes since 1.50: +21 -23 lines
Diff to previous 1.50 (colored) to selected 1.41.2.4 (colored)

Add a new feature-test macro, _NETBSD_SOURCE.  If this is defined
by the application, all NetBSD interfaces are made visible, even
if some other feature-test macro (like _POSIX_C_SOURCE) is defined.
<sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE,
_POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve
existing behaviour.

This has two major advantages:
+ Programs that require non-POSIX facilities but define _POSIX_C_SOURCE
  can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS.
+ It makes most of the #ifs simpler, in that they're all now ORs of the
  various macros, rather than having checks for (!defined(_ANSI_SOURCE) ||
  !defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place.

I've tried not to change the semantics of the headers in any case where
_NETBSD_SOURCE wasn't defined, but there were some places where the
current semantics were clearly mad, and retaining them was harder than
correcting them.  In particular, I've mostly normalised things so that
_ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE,
_XOPEN_SOURCE and _NETBSD_SOURCE in that order.

Tested by building for vax, encouraged by thorpej, and uncontested in
tech-userlevel for a week.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Feb 27 15:56:04 2003 UTC (16 years, 1 month ago) by kleink
Branch: MAIN
Changes since 1.49: +5 -5 lines
Diff to previous 1.49 (colored) to selected 1.41.2.4 (colored)

As with _REENTRANT, don't provide simple non-locking macro versions of
several functions when _PTHREADS is defined (usually via cc -pthread).

Revision 1.49 / (download) - annotate - [select for diffs], Sat Jan 18 17:10:17 2003 UTC (16 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.48: +5 -2 lines
Diff to previous 1.48 (colored) to selected 1.41.2.4 (colored)

avoid TMP_MAX redefinition

Revision 1.48 / (download) - annotate - [select for diffs], Sat Jan 18 10:32:11 2003 UTC (16 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored) to selected 1.41.2.4 (colored)

Merge the nathanw_sa branch.

Revision 1.41.2.7 / (download) - annotate - [select for diffs], Sun Dec 29 23:12:16 2002 UTC (16 years, 3 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.41.2.6: +2 -2 lines
Diff to previous 1.41.2.6 (colored) next main 1.42 (colored) to selected 1.41.2.4 (colored)

Sync with HEAD.

Revision 1.47 / (download) - annotate - [select for diffs], Fri Dec 20 20:59:22 2002 UTC (16 years, 4 months ago) by atatat
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored) to selected 1.41.2.4 (colored)

Spelling police.  "__resitrct" was not spelled cirectly enough.

Revision 1.41.2.6 / (download) - annotate - [select for diffs], Tue Dec 10 06:42:45 2002 UTC (16 years, 4 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.41.2.5: +9 -1 lines
Diff to previous 1.41.2.5 (colored) to selected 1.41.2.4 (colored)

Sync with HEAD.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Nov 30 03:04:44 2002 UTC (16 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.45: +9 -1 lines
Diff to previous 1.45 (colored) to selected 1.41.2.4 (colored)

- Migrate fparseln(3) from libutil to libc, where it should have been in
  the first place...
- Bump libutil major (to 7.0) and libc minor (to 12.91).

Revision 1.41.2.5 / (download) - annotate - [select for diffs], Fri Jun 21 18:17:09 2002 UTC (16 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.41.2.4: +4 -12 lines
Diff to previous 1.41.2.4 (colored)

Catch up to -current.

Revision 1.45 / (download) - annotate - [select for diffs], Fri May 24 22:17:20 2002 UTC (16 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.44: +4 -11 lines
Diff to previous 1.44 (colored) to selected 1.41.2.4 (colored)

* Move the prototype of __svfscanf from <stdio.h> to libc/stdio/local.h.
* Add prototype for vfscanf to <stdio.h>.
* Remove #define of vfscanf to __svfscanf from <stdio.h>.
* Include local.h in libc files which need __svfscanf.
* Add vfscanf weak alias to __svfscanf.

Fixes standards/16997.

NOTE: libc minor not bumped -- ride on the bump to 12.84 made by
itojun today.

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Fri May 24 22:05:51 2002 UTC (16 years, 10 months ago) by perry
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.42: +4 -3 lines
Diff to previous 1.42 (colored) next main 1.43 (colored) to selected 1.41.2.4 (colored)

resolve 1.6 pullup tickets #12 and #20, submitted by thorpej.
This change pulls up revisions 1.43 and 1.44

Original messages:

> Add a scanf format attribute to __svfscanf().

and

> Parameterize the vfscanf macro's arguments.  Without them, 3rd party
> software can become greatly confused.
>
> This fixes 4 GCC 3.2 testsuite failures.
>
> This is a stop-gap measure which can be easily applied to the 1.6
> release branch.  A different fix for the trunk is forthcoming.

Revision 1.44 / (download) - annotate - [select for diffs], Fri May 24 21:07:44 2002 UTC (16 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored) to selected 1.41.2.4 (colored)

Parameterize the vfscanf macro's arguments.  Without them, 3rd party
software can become greatly confused.

This fixes 4 GCC 3.2 testsuite failures.

This is a stop-gap measure which can be easily applied to the 1.6
release branch.  A different fix for the trunk is forthcoming.

Revision 1.43 / (download) - annotate - [select for diffs], Fri May 24 06:17:29 2002 UTC (16 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.42: +3 -2 lines
Diff to previous 1.42 (colored) to selected 1.41.2.4 (colored)

Add a scanf format attribute to __svfscanf().

Revision 1.41.2.4 / (download) - annotate - [selected], Thu May 2 17:02:32 2002 UTC (16 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.41.2.3: +5 -1 lines
Diff to previous 1.41.2.3 (colored)

Add prototypes for vfprintf_unlocked() and __svfscanf_unlocked().

Revision 1.41.2.3 / (download) - annotate - [select for diffs], Mon Jan 28 21:27:19 2002 UTC (17 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.41.2.2: +1 -1 lines
Diff to previous 1.41.2.2 (colored) to selected 1.41.2.4 (colored)

Catch up to -current.

Revision 1.41.2.2 / (download) - annotate - [select for diffs], Mon Jan 14 21:37:09 2002 UTC (17 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.41.2.1: +4 -2 lines
Diff to previous 1.41.2.1 (colored) to selected 1.41.2.4 (colored)

Catch up to -current.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Dec 7 11:47:40 2001 UTC (17 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Changes since 1.41: +4 -2 lines
Diff to previous 1.41 (colored) to selected 1.41.2.4 (colored)

- 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.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Fri Nov 16 02:56:15 2001 UTC (17 years, 5 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.41: +1 -3 lines
Diff to previous 1.41 (colored) to selected 1.41.2.4 (colored)

Enable the flockfile()/funlockfile()/ftrylockfile() prototypes.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Dec 29 15:22:48 2000 UTC (18 years, 3 months ago) by kleink
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.40: +36 -29 lines
Diff to previous 1.40 (colored) to selected 1.41.2.4 (colored)

Sprinkle some __restrict into stdio.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Dec 18 21:22:00 2000 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.39: +5 -1 lines
Diff to previous 1.39 (colored) to selected 1.41.2.4 (colored)

protect against multiple declarations.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Nov 15 15:44:05 2000 UTC (18 years, 5 months ago) by briggs
Branch: MAIN
Changes since 1.38: +3 -1 lines
Diff to previous 1.38 (colored) to selected 1.41.2.4 (colored)

Move fmtcheck() prototype to stdio.h.  It makes more sense to declare it
with the formatting functions with which it is meant to be used.  Thanks
to Klaus Klein for "encouraging" me to make this change.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Jul 28 09:38:15 2000 UTC (18 years, 8 months ago) by kleink
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored) to selected 1.41.2.4 (colored)

Avoid recursion with traditional cpp.

Revision 1.37 / (download) - annotate - [select for diffs], Sun Jul 23 19:25:58 2000 UTC (18 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored) to selected 1.41.2.4 (colored)

This is a HACK so that libc can compile with -ansi.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Jul 16 12:46:17 2000 UTC (18 years, 9 months ago) by enami
Branch: MAIN
Changes since 1.35: +5 -3 lines
Diff to previous 1.35 (colored) to selected 1.41.2.4 (colored)

- Fix couple of typos.
- Protect some func. decls. added recently with __{BEGIN,END}_DECLS.

Revision 1.35 / (download) - annotate - [select for diffs], Sat Jul 15 18:04:38 2000 UTC (18 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored) to selected 1.41.2.4 (colored)

fix obvious typo

Revision 1.34 / (download) - annotate - [select for diffs], Sat Jul 8 13:46:33 2000 UTC (18 years, 9 months ago) by kleink
Branch: MAIN
Changes since 1.33: +15 -1 lines
Diff to previous 1.33 (colored) to selected 1.41.2.4 (colored)

XCU5: Add fseeko() and ftello() functions which provide the functionality of
fseek() and ftell(), respectively, but operate on file offsets of type off_t.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Jun 26 15:52:36 2000 UTC (18 years, 9 months ago) by kleink
Branch: MAIN
Changes since 1.32: +4 -6 lines
Diff to previous 1.32 (colored) to selected 1.41.2.4 (colored)

Get rid of the inclusion of <sys/types.h> and define fpos_t using __off_t.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Jan 10 16:58:38 2000 UTC (19 years, 3 months ago) by kleink
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored) to selected 1.41.2.4 (colored)

Move <null.h> to <sys/null.h> for the purpose of avoiding conflicts due to
std C headers including it, and a kernel module written in C++ would benfit
as well.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Dec 22 21:26:18 1999 UTC (19 years, 4 months ago) by kleink
Branch: MAIN
Changes since 1.30: +2 -4 lines
Diff to previous 1.30 (colored) to selected 1.41.2.4 (colored)

For the benefit of G++'s null pointer constant implementation, #define NULL
as __null with egcs 1.0 (GCC 2.90) and above.  As several headers are affected
by this change, move the definition into a new header file, <null.h>, to ease
maintenance.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Nov 20 14:39:38 1998 UTC (20 years, 5 months ago) by kleink
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.29: +10 -4 lines
Diff to previous 1.29 (colored) to selected 1.41.2.4 (colored)

* Bring *_unlocked() declarations in scope if _REENTRANT is defined, too; add
  similar protection for the definitions of the macro versions.
* Don't define a macro version of fileno() in a _REENTRANT environment.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Sep 28 17:47:58 1998 UTC (20 years, 6 months ago) by kleink
Branch: MAIN
Changes since 1.28: +24 -14 lines
Diff to previous 1.28 (colored) to selected 1.41.2.4 (colored)

Move 1003.1c-1995 declarations inside the appropriate name space protection
wrapper, and make sure we won't use these decl's as such with C++ linkage(!).
Also, make _XOPEN_SOURCE protection of popen()/pclose() decl's a bit more
restrictive.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Aug 28 22:55:50 1998 UTC (20 years, 7 months ago) by tv
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored) to selected 1.41.2.4 (colored)

Use __format__, __printf__ for consistency

Revision 1.27 / (download) - annotate - [select for diffs], Fri Aug 28 21:37:12 1998 UTC (20 years, 7 months ago) by perry
Branch: MAIN
Changes since 1.26: +6 -1 lines
Diff to previous 1.26 (colored) to selected 1.41.2.4 (colored)

add asprintf and vasprintf, originally written by Todd Miller for OpenBSD

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jul 30 00:44:16 1998 UTC (20 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.25: +5 -5 lines
Diff to previous 1.25 (colored) to selected 1.41.2.4 (colored)

__Namespace__ __protection__.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Jul 27 13:35:00 1998 UTC (20 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored) to selected 1.41.2.4 (colored)

Nuke tmpnam() as well.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jul 27 09:58:49 1998 UTC (20 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.23: +10 -4 lines
Diff to previous 1.23 (colored) to selected 1.41.2.4 (colored)

If __AUDIT__ is defined, remove some traditional interfaces: gets, sprintf,
vsprintf, tempnam, mktemp, getwd.

Revision 1.23 / (download) - annotate - [select for diffs], Mon May 11 15:49:15 1998 UTC (20 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored) to selected 1.41.2.4 (colored)

add missing backslash

Revision 1.22 / (download) - annotate - [select for diffs], Mon May 11 12:00:27 1998 UTC (20 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.21: +28 -8 lines
Diff to previous 1.21 (colored) to selected 1.41.2.4 (colored)

Reorganize name space protection.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Feb 14 20:33:21 1998 UTC (21 years, 2 months ago) by kleink
Branch: MAIN
Changes since 1.20: +8 -2 lines
Diff to previous 1.20 (colored) to selected 1.41.2.4 (colored)

If standards-compliance is requested by defining the preprocessor symbols
_POSIX_SOURCE or _XOPEN_SOURCE at compile time, use __RENAME() to call
__posix_rename() instead of rename() in order to remove the requirement of
linking against libposix.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Feb 2 21:07:52 1998 UTC (21 years, 2 months ago) by perry
Branch: MAIN
Changes since 1.19: +10 -7 lines
Diff to previous 1.19 (colored) to selected 1.41.2.4 (colored)

merge lite-2

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Mon Feb 2 07:23:01 1998 UTC (21 years, 2 months ago) by perry
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +53 -28 lines
Diff to previous 1.1.1.1 (colored) to selected 1.41.2.4 (colored)

import lite-2

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jan 19 07:35:06 1998 UTC (21 years, 3 months ago) by jtc
Branch: MAIN
Changes since 1.18: +25 -6 lines
Diff to previous 1.18 (colored) to selected 1.41.2.4 (colored)

Added function declarations for flockfile(), ftrylockfile(), funlockfile(),
getc_unlocked(), getchar_unlocked(), putc_unlocked(), & putchar_unlocked().
Added macro definitions for the latter four functions.

Changed so that getc(), putc(), clearerr(), feof() and ferror() macros
are not defined if _REENTRANT is defined so that thread-safe function
versions will be used instead.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Apr 25 18:29:21 1996 UTC (22 years, 11 months ago) by jtc
Branch: MAIN
CVS Tags: nsswitch, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) to selected 1.41.2.4 (colored)

Fix typo, __STRICT_ANSI_ -> __STRICT_ANSI__

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jan 20 01:36:30 1996 UTC (23 years, 3 months ago) by jtc
Branch: MAIN
Changes since 1.16: +1 -5 lines
Diff to previous 1.16 (colored) to selected 1.41.2.4 (colored)

Removed declarations for sys_nerr & sys_errlist (moved to errno.h)

Revision 1.16 / (download) - annotate - [select for diffs], Sat Mar 25 02:51:02 1995 UTC (24 years, 1 month ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) to selected 1.41.2.4 (colored)

change second arg of fgets() from size_t to int

Revision 1.15 / (download) - annotate - [select for diffs], Wed Mar 22 18:17:24 1995 UTC (24 years, 1 month ago) by jtc
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) to selected 1.41.2.4 (colored)

Removed const qualifier from ftell's FILE * argument.  It's not ANSI,
and the recent change to flush output causes it to be changed.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Oct 26 00:56:28 1994 UTC (24 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored) to selected 1.41.2.4 (colored)

new RCS ID format.

Revision 1.13 / (download) - annotate - [select for diffs], Sun May 22 23:14:10 1994 UTC (24 years, 11 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.12: +8 -8 lines
Diff to previous 1.12 (colored) to selected 1.41.2.4 (colored)

_VA_LIST_ -> _BSD_VA_LIST_

Revision 1.12 / (download) - annotate - [select for diffs], Sat May 21 09:42:20 1994 UTC (24 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored) to selected 1.41.2.4 (colored)

add _BSD's to ansi types

Revision 1.11 / (download) - annotate - [select for diffs], Sun Apr 3 01:26:42 1994 UTC (25 years ago) by cgd
Branch: MAIN
Changes since 1.10: +18 -3 lines
Diff to previous 1.10 (colored) to selected 1.41.2.4 (colored)

fpos_t is now a 64-bit quantity

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jan 4 05:14:14 1994 UTC (25 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored) to selected 1.41.2.4 (colored)

rename fgetline() and sharpen axe for bostic...

Revision 1.9 / (download) - annotate - [select for diffs], Thu Dec 2 04:45:32 1993 UTC (25 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) to selected 1.41.2.4 (colored)

Add `const's to sys_errlist decl to match 4.4.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Dec 1 23:59:29 1993 UTC (25 years, 4 months ago) by jtc
Branch: MAIN
Changes since 1.7: +9 -5 lines
Diff to previous 1.7 (colored) to selected 1.41.2.4 (colored)

Use GCC's format attribute (for bug detection with -Wformat).

Revision 1.7 / (download) - annotate - [select for diffs], Mon Oct 11 18:01:45 1993 UTC (25 years, 6 months ago) by jtc
Branch: MAIN
Changes since 1.6: +3 -1 lines
Diff to previous 1.6 (colored) to selected 1.41.2.4 (colored)

Restore define for L_cuserid and add cuserid prototype.
It was provided, but not documented.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Oct 6 18:41:55 1993 UTC (25 years, 6 months ago) by jtc
Branch: MAIN
Changes since 1.5: +1 -2 lines
Diff to previous 1.5 (colored) to selected 1.41.2.4 (colored)

cuserid() was removed by 1990's revision of 1003.1, and we never provided it
so don't define the L_cuserid constant.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 4 18:50:23 1993 UTC (25 years, 6 months ago) by jtc
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored) to selected 1.41.2.4 (colored)

fread and fwrite both return size_t, not int.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Oct 4 04:49:17 1993 UTC (25 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored) to selected 1.41.2.4 (colored)

sscanf takes a const char * as the first arg; the man page was (already)
correct.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 1 18:45:17 1993 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored) to selected 1.41.2.4 (colored)

Add RCS identifiers.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Apr 17 02:13:22 1993 UTC (26 years ago) by sef
Branch: MAIN
CVS Tags: netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored) to selected 1.41.2.4 (colored)

`inline' is not present in gcc when -ansi is given; use __inline instead.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (26 years, 1 month ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.41.2.4 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (26 years, 1 month ago) by cgd
Branch: MAIN
Diff to selected 1.41.2.4 (colored)

Initial revision

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 <webmaster@jp.NetBSD.org>