The NetBSD Project

CVS log for src/sys/lib/libsa/subr_prf.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / lib / libsa

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.28.4.1 / (download) - annotate - [select for diffs], Sat Jun 3 14:35:18 2023 UTC (10 months, 2 weeks ago) by martin
Branch: netbsd-9
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored) next main 1.29 (colored) to selected 1.21.12.2 (colored)

Pull up following revision(s) (requested by rin in ticket #1636):

	sys/lib/libsa/subr_prf.c: revision 1.30

libsa/printf: Do not fetch long va_arg as long long.

This does real harm iff all of the following conditions are satisfied:
(1) On ILP32 architectures.
(2) Both LIBSA_PRINTF_LONGLONG_SUPPORT and LIBSA_PRINTF_WIDTH_SUPPORT
    compile-time options are enabled.
(3) Width field is used with 'l' modifier.

This is an implicit-fallthrough bug, but unfortunately, GCC 10.4 cannot
find this out somehow...

Revision 1.29.20.1 / (download) - annotate - [select for diffs], Sat Jun 3 14:33:55 2023 UTC (10 months, 2 weeks ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.21.12.2 (colored)

Pull up following revision(s) (requested by rin in ticket #185):

	sys/lib/libsa/subr_prf.c: revision 1.30

libsa/printf: Do not fetch long va_arg as long long.

This does real harm iff all of the following conditions are satisfied:
(1) On ILP32 architectures.
(2) Both LIBSA_PRINTF_LONGLONG_SUPPORT and LIBSA_PRINTF_WIDTH_SUPPORT
    compile-time options are enabled.
(3) Width field is used with 'l' modifier.

This is an implicit-fallthrough bug, but unfortunately, GCC 10.4 cannot
find this out somehow...

Revision 1.30 / (download) - annotate - [select for diffs], Mon May 29 03:56:52 2023 UTC (10 months, 3 weeks ago) by rin
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored) to selected 1.21.12.2 (colored)

libsa/printf: Do not fetch long va_arg as long long.

This does real harm iff all of the following conditions are satisfied:

(1) On ILP32 architectures.
(2) Both LIBSA_PRINTF_LONGLONG_SUPPORT and LIBSA_PRINTF_WIDTH_SUPPORT
    compile-time options are enabled.
(3) Width field is used with 'l' modifier.

This is an implicit-fallthrough bug, but unfortunately, GCC 10.4 cannot
find this out somehow...

XXX
Pull up to netbsd-10 and netbsd-9. netbsd-8 is not affected.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Jun 6 15:45:47 2020 UTC (3 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, netbsd-10-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.28: +10 -3 lines
Diff to previous 1.28 (colored) to selected 1.21.12.2 (colored)

Make libsa's vsnprintf() work as expected when passed a NULL
destinatino buffer.

Revision 1.27.20.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:05 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.27: +1 -2 lines
Diff to previous 1.27 (colored) next main 1.28 (colored) to selected 1.21.12.2 (colored)

Sync with HEAD

Revision 1.28 / (download) - annotate - [select for diffs], Sun Feb 3 11:59:43 2019 UTC (5 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, 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, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: netbsd-9
Changes since 1.27: +1 -2 lines
Diff to previous 1.27 (colored) to selected 1.21.12.2 (colored)

- remove unreachable code

Revision 1.21.12.2 / (download) - annotate - [selected], Sun Dec 3 11:38:46 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.21.12.1: +13 -13 lines
Diff to previous 1.21.12.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

update from HEAD

Revision 1.27 / (download) - annotate - [select for diffs], Sat Aug 30 14:24:02 2014 UTC (9 years, 7 months ago) by tsutsui
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, 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, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.26: +20 -12 lines
Diff to previous 1.26 (colored) to selected 1.21.12.2 (colored)

Revert stupid and untested changes. There was no extra copy in the macros.

Christos, you should reread our commit guideline as a Core member.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Aug 30 13:09:27 2014 UTC (9 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.25: +12 -20 lines
Diff to previous 1.25 (colored) to selected 1.21.12.2 (colored)

remove extra copy of the macro.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Aug 30 12:23:38 2014 UTC (9 years, 7 months ago) by tsutsui
Branch: MAIN
Changes since 1.24: +14 -14 lines
Diff to previous 1.24 (colored) to selected 1.21.12.2 (colored)

Rename padding macros to reflect and clarify the original intention.

No binary changes on luna68k (which has -DLIBSA_PRINTF_WIDTH_SUPPORT).

Revision 1.21.12.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:30 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.21: +20 -11 lines
Diff to previous 1.21 (colored) to selected 1.21.12.2 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:41:04 2014 UTC (9 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.21: +20 -11 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.21.12.2 (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.21.16.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:08 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.21: +20 -11 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.21.12.2 (colored)

sync with head

Revision 1.24 / (download) - annotate - [select for diffs], Sat Mar 22 02:51:44 2014 UTC (10 years, 1 month ago) by hkenken
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, 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
Changes since 1.23: +11 -11 lines
Diff to previous 1.23 (colored) to selected 1.21.12.2 (colored)

for LIBSA_PRINTF_WIDTH_SUPPORT,
Fix right and left-adjusting padding.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Dec 24 22:26:21 2013 UTC (10 years, 3 months ago) by jakllsch
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.22: +6 -1 lines
Diff to previous 1.22 (colored) to selected 1.21.12.2 (colored)

intmax_t might be long long, handle accordingly. from christos

Revision 1.22 / (download) - annotate - [select for diffs], Tue Dec 24 21:41:49 2013 UTC (10 years, 3 months ago) by jakllsch
Branch: MAIN
Changes since 1.21: +5 -1 lines
Diff to previous 1.21 (colored) to selected 1.21.12.2 (colored)

Add 'j' format modifier for intmax_t.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Jul 17 20:54:52 2011 UTC (12 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Changes since 1.20: +1 -2 lines
Diff to previous 1.20 (colored) to selected 1.21.12.2 (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.17.6.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:43 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored) next main 1.18 (colored) to selected 1.21.12.2 (colored)

Sync with HEAD.

Revision 1.17.4.2 / (download) - annotate - [select for diffs], Tue May 31 03:05:05 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.17.4.1: +2 -1 lines
Diff to previous 1.17.4.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored) to selected 1.21.12.2 (colored)

sync with head

Revision 1.20 / (download) - annotate - [select for diffs], Fri May 20 16:33:07 2011 UTC (12 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.19: +3 -2 lines
Diff to previous 1.19 (colored) to selected 1.21.12.2 (colored)

KNF a bit.

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:29 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.17: +2 -3 lines
Diff to previous 1.17 (colored) to selected 1.21.12.2 (colored)

sync with head

Revision 1.17.8.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:42 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.17: +2 -3 lines
Diff to previous 1.17 (colored) next main 1.18 (colored) to selected 1.21.12.2 (colored)

Sync with HEAD

Revision 1.19 / (download) - annotate - [select for diffs], Fri Feb 25 00:20:36 2011 UTC (13 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored) to selected 1.21.12.2 (colored)

No trailing 0 byte for hexdigits.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Feb 25 00:17:36 2011 UTC (13 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.17: +1 -2 lines
Diff to previous 1.17 (colored) to selected 1.21.12.2 (colored)

Move HEXDIGIT to mvme68k's sboot. It seems to be the only user.
Save a byte by explicitly specifying the size.

Revision 1.16.18.1 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:22 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.16: +193 -33 lines
Diff to previous 1.16 (colored) next main 1.17 (colored) to selected 1.21.12.2 (colored)

sync with head

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jan 19 15:26:45 2010 UTC (14 years, 3 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: rmind-uvmplock, jruoho-x86intr, bouyer-quota2
Changes since 1.16: +193 -33 lines
Diff to previous 1.16 (colored) to selected 1.21.12.2 (colored)

Add long long (%lld etc.) support and width (%02x etc.) support
in libsa printf(3).  Disabled by default but enabled by
-DLIBSA_PRINTF_LONGLONG_SUPPORT and -DLIBSA_PRINTF_WIDTH_SUPPORT.
Provided by tnozaki@ for my libsa debugging. Thanks!

Revision 1.15.44.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:56:45 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.15: +5 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored) to selected 1.21.12.2 (colored)

sync with HEAD

Revision 1.15.50.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:57 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.15: +5 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored) to selected 1.21.12.2 (colored)

Sync with HEAD.

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Fri Dec 7 17:33:54 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12.2.1: +5 -3 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored) to selected 1.21.12.2 (colored)

sync with head

Revision 1.15.42.1 / (download) - annotate - [select for diffs], Tue Nov 27 19:38:41 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.15: +5 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored) to selected 1.21.12.2 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Nov 24 13:20:57 2007 UTC (16 years, 4 months ago) by isaki
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, 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, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, matt-premerge-20091211, 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, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jmcneill-pm-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp
Changes since 1.15: +5 -3 lines
Diff to previous 1.15 (colored) to selected 1.21.12.2 (colored)

style, indent, and ANSI-fy.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:10:23 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12: +13 -2 lines
Diff to previous 1.12 (colored) to selected 1.21.12.2 (colored)

sync with head.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:52:36 2006 UTC (18 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.13: +13 -2 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.21.12.2 (colored)

sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jan 27 02:28:36 2006 UTC (18 years, 2 months ago) by uwe
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-uio_vmspace-base5, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, reinoud-bufcleanup, post-newlock2-merge, peter-altq-base, peter-altq, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, netbsd-4-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, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: mjf-devfs, matt-armv6, jmcneill-pm
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) to selected 1.21.12.2 (colored)

/* fall through */ -> /* FALLTHROUGH */

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jan 27 01:53:13 2006 UTC (18 years, 2 months ago) by uwe
Branch: MAIN
Changes since 1.13: +12 -1 lines
Diff to previous 1.13 (colored) to selected 1.21.12.2 (colored)

Support 'z' (size_t) and 't' (ptrdiff_t) specifiers.

XXX: ptrdiff_t is only ever defined in <stddef.h> and is defined
unconditionally, without the ifndef dance.  Until we have an expert
opinion, abuse intptr_t for the 't' size check.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:46 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.12: +1 -1 lines
Diff to previous 1.12 (colored) to selected 1.21.12.2 (colored)

merge ktrace-lwp.

Revision 1.9.2.4 / (download) - annotate - [select for diffs], Thu Nov 10 14:10:24 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.9.2.3: +5 -2 lines
Diff to previous 1.9.2.3 (colored) next main 1.10 (colored) to selected 1.21.12.2 (colored)

Sync with HEAD. Here we go again...

Revision 1.12 / (download) - annotate - [select for diffs], Mon May 23 19:05:00 2005 UTC (18 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored) to selected 1.21.12.2 (colored)

Provide HEXDIGITS as well (needed on mvme68k/stand)

Revision 1.11 / (download) - annotate - [select for diffs], Tue May 17 04:14:58 2005 UTC (18 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored) to selected 1.21.12.2 (colored)

Yes, it was a cool trick >20 years ago to use "0123456789abcdef"[a] to
implement, xtoa(), but I think defining the samestring 50 times is a bit
too much. Defined HEXDIGITS and hexdigits in subr_prf.c and use it...

Revision 1.9.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:36:18 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.9.2.2: +1 -1 lines
Diff to previous 1.9.2.2 (colored) to selected 1.21.12.2 (colored)

Fix the sync with head I botched.

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:54:02 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.9.2.1: +0 -0 lines
Diff to previous 1.9.2.1 (colored) to selected 1.21.12.2 (colored)

Sync with HEAD.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:53:53 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.9: +2 -6 lines
Diff to previous 1.9 (colored) to selected 1.21.12.2 (colored)

Sync with HEAD

Revision 1.10 / (download) - annotate - [select for diffs], Thu Aug 7 16:32:30 2003 UTC (20 years, 8 months ago) by agc
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, 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, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Changes since 1.9: +2 -6 lines
Diff to previous 1.9 (colored) to selected 1.21.12.2 (colored)

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

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

Revision 1.9 / (download) - annotate - [select for diffs], Sun Apr 27 11:12:14 2003 UTC (20 years, 11 months ago) by tron
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) to selected 1.21.12.2 (colored)

Remove two unused variable to fix a build problem.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Apr 26 13:25:47 2003 UTC (20 years, 11 months ago) by bjh21
Branch: MAIN
Changes since 1.7: +1 -40 lines
Diff to previous 1.7 (colored) to selected 1.21.12.2 (colored)

Remove %b support.
Encouraged by thorpej.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Apr 20 22:23:59 2003 UTC (21 years ago) by bjh21
Branch: MAIN
Changes since 1.6: +3 -4 lines
Diff to previous 1.6 (colored) to selected 1.21.12.2 (colored)

If the format string ends with "%" or "%l", print those characters, just
as we would if they were part of an invalid conversion specification.
Code-size neutral on ARM; not tested elsewhere.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Apr 20 19:31:29 2003 UTC (21 years ago) by bjh21
Branch: MAIN
Changes since 1.5: +8 -18 lines
Diff to previous 1.5 (colored) to selected 1.21.12.2 (colored)

ANSIfy, assume __STDC__, un-__P, KNF.
Generated code unchanged.

Revision 1.3.8.2 / (download) - annotate - [select for diffs], Sat Mar 16 16:01:58 2002 UTC (22 years, 1 month ago) by jdolecek
Branch: kqueue
Changes since 1.3.8.1: +2 -2 lines
Diff to previous 1.3.8.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.21.12.2 (colored)

Catch up with -current.

Revision 1.3.6.2 / (download) - annotate - [select for diffs], Thu Feb 28 04:14:52 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.3.6.1: +2 -2 lines
Diff to previous 1.3.6.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.21.12.2 (colored)

Catch up to -current.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Feb 17 23:19:00 2002 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, 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, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored) to selected 1.21.12.2 (colored)

Add a missing "static".

Revision 1.3.8.1 / (download) - annotate - [select for diffs], Thu Jan 10 20:00:41 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.3: +1 -2 lines
Diff to previous 1.3 (colored) to selected 1.21.12.2 (colored)

Sync kqueue branch with -current.

Revision 1.3.10.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:47:04 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.3: +1 -2 lines
Diff to previous 1.3 (colored) next main 1.4 (colored) to selected 1.21.12.2 (colored)

Catch up with -current.

Revision 1.3.6.1 / (download) - annotate - [select for diffs], Wed Sep 26 19:55:07 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3: +1 -2 lines
Diff to previous 1.3 (colored) to selected 1.21.12.2 (colored)

Catch up to -current.
Again.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Sep 24 13:22:34 2001 UTC (22 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2
Changes since 1.3: +1 -2 lines
Diff to previous 1.3 (colored) to selected 1.21.12.2 (colored)

va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:09:37 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored) next main 1.3 (colored) to selected 1.21.12.2 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.3 / (download) - annotate - [select for diffs], Thu Mar 30 12:19:49 2000 UTC (24 years ago) by augustss
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf, 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: thorpej-devvp, nathanw_sa, kqueue
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored) to selected 1.21.12.2 (colored)

Kill some more register declarations.

Revision 1.1.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:25:33 1999 UTC (24 years, 10 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored) next main 1.2 (colored) to selected 1.21.12.2 (colored)

Sync w/ -current.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Apr 20 23:04:17 1999 UTC (25 years ago) by cgd
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base
Branch point for: thorpej_scsipi
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored) to selected 1.21.12.2 (colored)

set lflag when printing pointers with %p

Revision 1.1 / (download) - annotate - [select for diffs], Sat Feb 13 20:56:58 1999 UTC (25 years, 2 months ago) by pk
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, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Diff to selected 1.21.12.2 (colored)

Split the printf variants into separate files.

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>