]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r230005:
authordteske <dteske@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 4 Mar 2013 01:14:06 +0000 (01:14 +0000)
committerdteske <dteske@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 4 Mar 2013 01:14:06 +0000 (01:14 +0000)
commit771858106b2ee8e70604c1f8315d60ff5a5dbd76
treef51f58f14c83d66318973c8ab9b151f19bbca9c5
parent8a49d71c9d0cb4c29709634df1d4f8912a10c11c
MFC r230005:

Use a reasonable-sized buffer when formatting error messages about
installing zoneinfo.  While we're in the vicinity, add some missing
error checking to eliminate an unhelpful error message when unlink()
fails.

/me is embarrassed by the quality of his 16-year-old code.
The whole thing is awful and could stand a complete rewrite.

PR: 164038
Submitted by: Devin Teske (but implemented differently)

git-svn-id: svn://svn.freebsd.org/base/stable/8@247745 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/tzsetup/tzsetup.c