]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Undo the bogus gethostname() change from r299709.
authorpfg <pfg@FreeBSD.org>
Sat, 14 May 2016 04:29:13 +0000 (04:29 +0000)
committerpfg <pfg@FreeBSD.org>
Sat, 14 May 2016 04:29:13 +0000 (04:29 +0000)
commit20bb6d5f63e3b133721ac858f3459826099ea994
tree6a56ad5bae73d7d93ddf3f7ffa700c28112bd673
parent9a3d27c1e5ae4f1f4584801d043c7ea2cefc1191
Undo the bogus gethostname() change from r299709.

The "- 1" is there specifically to enable checking for NUL termination.

I should also admit the rest change was mostly cosmetic and the
overruns can't occur in practice: still I leave them to pacify
static analyzers.

Pointed out by: bde
usr.sbin/timed/timed/timed.c