Adrian Chadd wrote:
> Note I'm using strlcpy() here - this may break builds on systems without
> a strlcpy, but I'm not entirely fussed atm (I'll definitely be changing
> this back to strncpy or add the strlcpy to squid before committing to
> the main branch.)
We do have an xstrncpy() in Squid...
/*
* xstrncpy() - similar to strncpy(3) but terminates string
* always with '\0' if (n != 0 and dst != NULL),
* and doesn't do padding
*/
-- HenrikReceived on Tue Jun 05 2001 - 02:38:55 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:03 MST