]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r305813:
authorpfg <pfg@FreeBSD.org>
Sun, 9 Oct 2016 20:07:01 +0000 (20:07 +0000)
committerpfg <pfg@FreeBSD.org>
Sun, 9 Oct 2016 20:07:01 +0000 (20:07 +0000)
commitdd0ffa43a048719e3fb76d3604733fa58a102c65
tree3efc1772c788b5e503451e94728539855f5afd47
parent98e94dcafffe108b0dc9b9377f28fade01c137da
MFC r305813:
localedef(1): make better use of calloc(3) arguments.

The first argument of calloc(3) should be an ordinal type, and the
second a size: split a multiplication to make better use of calloc(3)
and detect overflows.

Do some other re-ordering and style fixes while here.
usr.bin/localedef/collate.c