1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/lib/libfigpar
Stefan Eßer 59ba78ccae Slightly improve previous commit that silenced a Clang Scan warning.
The strdup() call does not take advantage of the known length of the
source string. Replace by malloc() and memcpy() utilizimng the pre-
calculated string length.

Submitted by:	cperciva
Reported by:	rgrimes
MFC after:	2 weeks
2019-01-26 22:24:15 +00:00
..
figpar.3
figpar.c
figpar.h
Makefile
Makefile.depend
string_m.c Slightly improve previous commit that silenced a Clang Scan warning. 2019-01-26 22:24:15 +00:00
string_m.h