freebsd-nq/usr.bin/localedef
Pedro F. Giffuni be4391a2d5 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.

MFC after:	3 weeks
2016-09-14 16:47:17 +00:00
..
charmap.c localedef(1): minor spelling fixes on comments. 2016-05-01 16:10:56 +00:00
collate.c localedef(1): make better use of calloc(3) arguments. 2016-09-14 16:47:17 +00:00
ctype.c
localedef.1
localedef.c
localedef.h
Makefile
Makefile.depend
messages.c
monetary.c
numeric.c
parser.y
README
scanner.c localedef(1): minor spelling fixes on comments. 2016-05-01 16:10:56 +00:00
time.c localedef(1): minor spelling fixes on comments. 2016-05-01 16:10:56 +00:00
wide.c

While there are tools called "localedef" in Solaris and Linux, this
tool does not share heritage with any other implementation.  It was
written independently by Garrett D'Amore while employed at Nexenta
Systems, and thus carries the Nexenta Copyright.

It was initially released under the CDDL license, but on 4 July 2014,
Nexenta reissued the source under the BSD 2-clause license.  This
code is part of the Illumos project.

see:
https://github.com/Nexenta/illumos-nexenta/commit/cf17542a37fc83d0ae093777e30d480423858c29