[patch] add strlcpy and strlcat
marc.js.verwerft at gmail.com
Mon Feb 11 16:10:00 CET 2008
AFAIK, similar functions already exist in the glib (gtk.org) library.
They're called g_strlcpy and g_strlcat
On Feb 11, 2008 3:35 PM, Paulius Zaleckas <paulius.zaleckas at teltonika.lt> wrote:
> This patch adds safe strcpy and strcat methods. Most of strcpy, strncpy,
> strcat and strncat methods in gsmd was replaced by strlcpy and strlcat
> methods. This also fixes couple potential bugs. I haven't noticed any
> side effects, but additional testing would be very good.
> Paulius Zaleckas
More information about the gsmd-devel