#
1.14 |
|
29-Dec-2016 |
christos |
Make this portable to other OSs
|
Revision tags: pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.13 |
|
01-Jun-2016 |
christos |
Use NULL instead of 0.
|
#
1.12 |
|
06-Apr-2016 |
christos |
pretty-print link addresses.
|
Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.11 |
|
31-Dec-2013 |
mlelstv |
Use output buffer size to limit copy-out of sun_path. Otherwise you may get a buffer overflow with strlcpy :)
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.10 |
|
07-Jun-2013 |
christos |
Add a debugging format that prints all the fields with names.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 netbsd-5-2-RELEASE netbsd-5-2-RC1 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 christos-time_t-base netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 wrstuden-revivesa-base
|
#
1.9 |
|
28-Apr-2008 |
martin |
branches: 1.9.4; 1.9.8; 1.9.28; Remove clause 3 and 4 from TNF licenses
|
Revision tags: yamt-pf42-baseX yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
|
#
1.8 |
|
24-Jul-2007 |
dyoung |
branches: 1.8.10; 1.8.12; In sockaddr_snprintf(sbuf, len, fmt, sa), do not write the terminating null character outside of the byte region [sbuf, sbuf + len).
1) If the length of the buffer is 0, do not write a null character at all. Previously, sockaddr_snprintf() may have been able to overwrite sbuf[-1] if len was 0.
2) If the length of the buffer, len, is greater than 0, then write the null at sbuf[len - 1]. Previously, sockaddr_snprintf() wrote the null at buf[len - 1], where `buf' was a "cursor" that did not necessarily equal `sbuf', the start of the buffer. Now, sockaddr_snprintf() always writes the null at sbuf[len - 1].
|
#
1.7 |
|
09-Dec-2006 |
dyoung |
Render the format %% as %.
|
Revision tags: abandoned-netbsd-4-base netbsd-4-base
|
#
1.6 |
|
27-Aug-2005 |
elad |
branches: 1.6.4; 1.6.6; Lint warnings.
|
#
1.5 |
|
09-Apr-2005 |
atatat |
Add the 'A' and 'P' format specifiers which use getaddrinfo(3) to turn numbers into names (if possible). Also add the '?' format modifier that elides the "N/A" if that's what you would normally get.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE 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-base
|
#
1.4 |
|
13-Jan-2005 |
dyoung |
For consistency of sockaddr_snprintf(3) with snprintf(3) and snprintb(3), do not count the terminating NUL in the return value. Update the regression tests to match. Approved by christos@.
|
#
1.3 |
|
11-Dec-2004 |
christos |
WARNS=3; fix cast-qual issues.
|
#
1.2 |
|
19-Nov-2004 |
christos |
check for getnameinfo error correctly; thanks to Peter Postma.
|
#
1.1 |
|
19-Nov-2004 |
christos |
Add sockaddr_snprintf; XXX: Needs a man page.
|