The NetBSD Project

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

[BACK] Up to [cvs.NetBSD.org] / src / lib / libc / stdio

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.47 / (download) - annotate - [select for diffs], Tue May 24 06:27:59 2022 UTC (22 months ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored) to selected 1.36 (colored)

fix various typos in comments, docs and log messages.

Revision 1.46 / (download) - annotate - [select for diffs], Tue Apr 19 20:32:15 2022 UTC (23 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored) to selected 1.36 (colored)

lib: remove CONSTCOND comment

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

Revision 1.41.6.2 / (download) - annotate - [select for diffs], Thu May 22 11:36:54 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.41.6.1: +55 -43 lines
Diff to previous 1.41.6.1 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored) to selected 1.36 (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.43.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:21:06 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.43: +55 -43 lines
Diff to previous 1.43 (colored) next main 1.44 (colored) to selected 1.36 (colored)

resync from head

Revision 1.45 / (download) - annotate - [select for diffs], Fri May 17 12:55:57 2013 UTC (10 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, 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, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, 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-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored) to selected 1.36 (colored)

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.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Apr 19 23:32:17 2013 UTC (10 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.43: +55 -43 lines
Diff to previous 1.43 (colored) to selected 1.36 (colored)

Add scanf_l and wscanf_l families.

Revision 1.41.6.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:25 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.41: +23 -23 lines
Diff to previous 1.41 (colored) to selected 1.36 (colored)

sync with head

Revision 1.43 / (download) - annotate - [select for diffs], Thu Mar 15 18:22:30 2012 UTC (12 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.42: +14 -16 lines
Diff to previous 1.42 (colored) to selected 1.36 (colored)

- ansify, knf.
- no functional changes

Revision 1.42 / (download) - annotate - [select for diffs], Tue Mar 13 21:13:46 2012 UTC (12 years ago) by christos
Branch: MAIN
Changes since 1.41: +11 -9 lines
Diff to previous 1.41 (colored) to selected 1.36 (colored)

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@

Revision 1.41 / (download) - annotate - [select for diffs], Thu Dec 16 17:42:27 2010 UTC (13 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, 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, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored) to selected 1.36 (colored)

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

Inspired by jmc@OpenBSD.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Jan 30 23:48:36 2009 UTC (15 years, 1 month ago) by lukem
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored) to selected 1.36 (colored)

sign-compare fix

Revision 1.38.12.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:39:22 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.38: +9 -2 lines
Diff to previous 1.38 (colored) next main 1.39 (colored) to selected 1.36 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.39.6.2 / (download) - annotate - [select for diffs], Thu Aug 28 16:41:22 2008 UTC (15 years, 7 months ago) by christos
Branch: christos-time_t
Changes since 1.39.6.1: +1098 -0 lines
Diff to previous 1.39.6.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored) to selected 1.36 (colored)

Ignore whitespace in format string from Andy Shevchenko

Revision 1.39.6.1, Thu Aug 28 16:41:21 2008 UTC (15 years, 7 months ago) by christos
Branch: christos-time_t
Changes since 1.39: +0 -1098 lines
FILE REMOVED

file vfscanf.c was added on branch christos-time_t on 2008-08-28 16:41:22 +0000

Revision 1.39 / (download) - annotate - [select for diffs], Thu Aug 28 16:41:21 2008 UTC (15 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, 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, christos-time_t-nbase, christos-time_t-base
Branch point for: christos-time_t
Changes since 1.38: +9 -2 lines
Diff to previous 1.38 (colored) to selected 1.36 (colored)

Ignore whitespace in format string from Andy Shevchenko

Revision 1.37.4.1 / (download) - annotate - [select for diffs], Mon May 7 19:49:08 2007 UTC (16 years, 10 months ago) by pavel
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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.37: +486 -245 lines
Diff to previous 1.37 (colored) next main 1.38 (colored) to selected 1.36 (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.38 / (download) - annotate - [select for diffs], Sun Apr 1 19:23:55 2007 UTC (17 years 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, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: wrstuden-revivesa
Changes since 1.37: +486 -245 lines
Diff to previous 1.37 (colored) to selected 1.36 (colored)

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.37 / (download) - annotate - [select for diffs], Thu Feb 16 23:26:19 2006 UTC (18 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: netbsd-4-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: netbsd-4
Changes since 1.36: +6 -6 lines
Diff to previous 1.36 (colored)

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

Revision 1.36 / (download) - annotate - [selected], Tue Dec 30 22:10:20 2003 UTC (20 years, 3 months ago) by martin
Branch: MAIN
CVS Tags: netbsd-3-base, 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, netbsd-3, netbsd-2-base, 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, netbsd-2-0-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, netbsd-2-0, netbsd-2
Changes since 1.35: +22 -12 lines
Diff to previous 1.35 (colored)

Add support for scanf "hh" format modifiers - we use it in int_fmtio.h
for SCNd8 and friends - so we should support it properly (and not only
by pure luck on alignment blind little endian archs - it used the
"h" code path, storing a 16bit int via a byte pointer).

This makes sparc64 pass regress/lib/libc/int_fmtio.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Aug 7 16:43:34 2003 UTC (20 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.34: +3 -7 lines
Diff to previous 1.34 (colored) to selected 1.36 (colored)

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

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

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Thu Jun 19 01:31:00 2003 UTC (20 years, 9 months ago) by grant
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.30: +15 -9 lines
Diff to previous 1.30 (colored) next main 1.31 (colored) to selected 1.36 (colored)

Pull up revision 1.34 (requested by thorpej in ticket #1298):

Fix handing of -ve hexadecimal numbers in the %i format.  Fixes
PR lib/21691.  Patch from Simon Burge.

Revision 1.34 / (download) - annotate - [select for diffs], Tue May 27 14:32:29 2003 UTC (20 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.33: +15 -9 lines
Diff to previous 1.33 (colored) to selected 1.36 (colored)

Fix handing of -ve hexadecimal numbers in the %i format.  Fixes
PR lib/21691.  Patch from Simon Burge.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Jan 18 11:29:59 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.32: +19 -9 lines
Diff to previous 1.32 (colored) to selected 1.36 (colored)

Merge the nathanw_sa branch.

Revision 1.27.6.5 / (download) - annotate - [select for diffs], Fri Jun 21 18:18:22 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.27.6.4: +12 -7 lines
Diff to previous 1.27.6.4 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored) to selected 1.36 (colored)

Catch up to -current.

Revision 1.32 / (download) - annotate - [select for diffs], Sun May 26 14:44:00 2002 UTC (21 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.31: +3 -7 lines
Diff to previous 1.31 (colored) to selected 1.36 (colored)

__STDC__ is always defined on NetBSD.

Revision 1.31 / (download) - annotate - [select for diffs], Fri May 24 22:17:20 2002 UTC (21 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.30: +11 -2 lines
Diff to previous 1.30 (colored) to selected 1.36 (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.27.6.4 / (download) - annotate - [select for diffs], Thu May 2 17:04:55 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.27.6.3: +18 -8 lines
Diff to previous 1.27.6.3 (colored) to branchpoint 1.27 (colored) to selected 1.36 (colored)

Remove calls to FLOCKFILE() and FUNLOCKFILE() from vfprintf() and __svfscanf(),
rename those routines to vfprintf_unlocked() and __svfscanf_unlocked(),
and implement vfprintf() and __svfscanf() as small routines that do
FLOCKFILE()/foo_unlocked()/FUNLOCKFILE().

Revision 1.27.6.3 / (download) - annotate - [select for diffs], Wed Feb 6 23:18:51 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.27.6.2: +3 -3 lines
Diff to previous 1.27.6.2 (colored) to branchpoint 1.27 (colored) to selected 1.36 (colored)

#include "reentrant.h" before "local.h" so that the thread types used
in fileext.h are avaliable.

Revision 1.27.6.2 / (download) - annotate - [select for diffs], Mon Jan 28 20:51:13 2002 UTC (22 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.27.6.1: +4 -2 lines
Diff to previous 1.27.6.1 (colored) to branchpoint 1.27 (colored) to selected 1.36 (colored)

Catch up to -current.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Dec 7 11:47:45 2001 UTC (22 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Branch point for: netbsd-1-6
Changes since 1.29: +3 -2 lines
Diff to previous 1.29 (colored) to selected 1.36 (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.29 / (download) - annotate - [select for diffs], Sun Dec 2 20:53:49 2001 UTC (22 years, 4 months ago) by kleink
Branch: MAIN
Changes since 1.28: +3 -2 lines
Diff to previous 1.28 (colored) to selected 1.36 (colored)

C99: Recognize %F here, too.

Revision 1.27.6.1 / (download) - annotate - [select for diffs], Mon Oct 8 20:20:59 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.27: +61 -34 lines
Diff to previous 1.27 (colored) to selected 1.36 (colored)

Catch up to -current.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Apr 28 15:41:29 2001 UTC (22 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.27: +61 -34 lines
Diff to previous 1.27 (colored) to selected 1.36 (colored)

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

Revision 1.27 / (download) - annotate - [select for diffs], Wed Mar 8 19:33:47 2000 UTC (24 years 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
Branch point for: nathanw_sa
Changes since 1.26: +30 -21 lines
Diff to previous 1.26 (colored) to selected 1.36 (colored)

Replace internal use of strto{,u}q() with strto{,u}ll().

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jan 21 23:12:33 2000 UTC (24 years, 2 months ago) by wrstuden
Branch: MAIN
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored) to selected 1.36 (colored)

Need to include "reentrant.h" for FLOCKFILE macros.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jan 21 19:56:07 2000 UTC (24 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.24: +10 -3 lines
Diff to previous 1.24 (colored) to selected 1.36 (colored)

Do file locking.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Sep 20 04:39:34 1999 UTC (24 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.23: +2 -12 lines
Diff to previous 1.23 (colored) to selected 1.36 (colored)

back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Sep 16 11:45:31 1999 UTC (24 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.22: +22 -2 lines
Diff to previous 1.22 (colored) to selected 1.36 (colored)

* use _DIAGASSERT() to check pointer arguments against NULL and file
  descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
  and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

		_DIAGASSERT(path != NULL)
	#ifdef _DIAGNOSTIC
		if (path == NULL) {
			errno = EFAULT;
			return (-1);
		}
	#endif

Revision 1.22 / (download) - annotate - [select for diffs], Sun Nov 15 17:19:53 1998 UTC (25 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Changes since 1.21: +6 -6 lines
Diff to previous 1.21 (colored) to selected 1.36 (colored)

delint

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Fri Nov 6 21:45:25 1998 UTC (25 years, 4 months ago) by cgd
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003
Changes since 1.16: +4 -8 lines
Diff to previous 1.16 (colored) next main 1.17 (colored) to selected 1.36 (colored)

pull up rev 1.21 from trunk (kleink)

Revision 1.21 / (download) - annotate - [select for diffs], Sun Oct 25 18:25:43 1998 UTC (25 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.20: +4 -8 lines
Diff to previous 1.20 (colored) to selected 1.36 (colored)

Don't return immediately if EOF encountered while matching format string white
space in the input stream since there may be `conversion' specifiers following
the (format string) white space that do not operate on the input stream,
i.e. %n; from Chris Torek.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jul 27 14:12:36 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.19: +10 -10 lines
Diff to previous 1.19 (colored) to selected 1.36 (colored)

Delint (partially).

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jul 26 12:31:39 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored) to selected 1.36 (colored)

const poisoning.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Feb 3 18:41:24 1998 UTC (26 years, 1 month ago) by perry
Branch: MAIN
Changes since 1.17: +13 -13 lines
Diff to previous 1.17 (colored) to selected 1.36 (colored)

remove obsolete register declarations

Revision 1.17 / (download) - annotate - [select for diffs], Fri Dec 19 14:08:45 1997 UTC (26 years, 3 months ago) by kleink
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) to selected 1.36 (colored)

Change several functions to return -1 instead of EOF, which was semantically
wrong.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jul 13 20:15:35 1997 UTC (26 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Branch point for: netbsd-1-3
Changes since 1.15: +11 -7 lines
Diff to previous 1.15 (colored) to selected 1.36 (colored)

Fix RCSID's
Fix gcc warnings.
Add prototypes for functions that were declared in more than one place
to local.h or extern.h and use that instead.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Mon Sep 16 18:40:58 1996 UTC (27 years, 6 months ago) by jtc
Branch: ivory_soap2
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored) next main 1.16 (colored) to selected 1.36 (colored)

snapshot namespace cleanup

Revision 1.15 / (download) - annotate - [select for diffs], Fri Mar 29 23:29:28 1996 UTC (28 years ago) by jtc
Branch: MAIN
CVS Tags: nsswitch, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Branch point for: ivory_soap2
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored) to selected 1.36 (colored)

Add explict function return types

Revision 1.14 / (download) - annotate - [select for diffs], Wed Mar 22 00:57:02 1995 UTC (29 years 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.13: +8 -3 lines
Diff to previous 1.13 (colored) to selected 1.36 (colored)

Added "long long" support %ll{d,x,o,i}.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Feb 25 07:02:16 1995 UTC (29 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.12: +4 -3 lines
Diff to previous 1.12 (colored) to selected 1.36 (colored)

when you have a quad and want to assign to a pointer, you must say:
	ptr = (ptr_type)(long)quad;
to quiet the compiler.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Fri Feb 17 11:00:53 1995 UTC (29 years, 1 month ago) by jtc
Branch: ivory_soap
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored) next main 1.13 (colored) to selected 1.36 (colored)

Make namespace safe by using "namespace.h".

Revision 1.12 / (download) - annotate - [select for diffs], Thu Feb 2 02:10:49 1995 UTC (29 years, 2 months ago) by jtc
Branch: MAIN
Branch point for: ivory_soap
Changes since 1.11: +8 -4 lines
Diff to previous 1.11 (colored) to selected 1.36 (colored)

Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Thu Feb 2 00:59:19 1995 UTC (29 years, 2 months ago) by jtc
Branch: WFJ-920714, CSRG
CVS Tags: lite-2, lite-1
Changes since 1.1.1.1: +5 -9 lines
Diff to previous 1.1.1.1 (colored) to selected 1.36 (colored)

imported from 44lite

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jan 30 00:46:01 1995 UTC (29 years, 2 months ago) by jtc
Branch: MAIN
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored) to selected 1.36 (colored)

Handle long doubles.

Like Plauger's implementation in "The Standard C Library", we use strtod(),
which will limit the range of values that can be converter properly if
long double has greater precision or range than double.

We will need a string to long double function to handle this properly, but
this change is better than the previous behavior of ignoring the existance
of long doubles.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jan 27 15:20:26 1995 UTC (29 years, 2 months ago) by jtc
Branch: MAIN
Changes since 1.9: +33 -27 lines
Diff to previous 1.9 (colored) to selected 1.36 (colored)

Added support for quad_t and u_quad_t's with the 'q' flag.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jan 26 01:34:45 1995 UTC (29 years, 2 months ago) by jtc
Branch: MAIN
Changes since 1.8: +7 -9 lines
Diff to previous 1.8 (colored) to selected 1.36 (colored)

Removed conflicting "backwards compatibility" code to make scanf
ANSI compliant.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Sep 19 04:43:05 1994 UTC (29 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.7: +4 -3 lines
Diff to previous 1.7 (colored) to selected 1.36 (colored)

Move FLOATING_POINT definition into Makefile.inc.

Revision 1.7 / (download) - annotate - [select for diffs], Sun May 22 23:21:44 1994 UTC (29 years, 10 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.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.36 (colored)

_VA_LIST_ -> _BSD_VA_LIST_

Revision 1.6 / (download) - annotate - [select for diffs], Thu Aug 26 00:47:35 1993 UTC (30 years, 7 months ago) by jtc
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored) to selected 1.36 (colored)

Declare rcsid strings so they are stored in text segment.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Aug 1 18:38:16 1993 UTC (30 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored) to selected 1.36 (colored)

Add RCS identifiers.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jul 12 02:09:32 1993 UTC (30 years, 8 months ago) by mycroft
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.3: +1 -1 lines
Diff to previous 1.3 (colored) to selected 1.36 (colored)

Make declarations match prototypes.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jul 9 09:40:10 1993 UTC (30 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.2: +4 -8 lines
Diff to previous 1.2 (colored) to selected 1.36 (colored)

update for better FP routines, from AT&T & elsewhere

Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 18 09:20:02 1993 UTC (30 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored) to selected 1.36 (colored)

Make arguments match prototypes.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (31 years 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.36 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (31 years ago) by cgd
Branch: MAIN
Diff to selected 1.36 (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>