> Bug:
> snprintf is large and slow, increasing program size and slowing it down.
> Better way is avoid snprintf when it is not neccessary.
>
> Fix:
> Full functionality of snprintf is not needed below, so it is replaced by
> much faster strlcpy.
This is fine!
Style - please make it 'sizeof(fo
"Andrey A. Chernov" <[EMAIL PROTECTED]> writes:
> Bug:
> snprintf is large and slow, increasing program size and slowing it down.
> Better way is avoid snprintf when it is not neccessary.
>
> Fix:
> Full functionality of snprintf is not needed below, so it is replaced by
> much faster strlcpy.
Bug:
snprintf is large and slow, increasing program size and slowing it down.
Better way is avoid snprintf when it is not neccessary.
Fix:
Full functionality of snprintf is not needed below, so it is replaced by
much faster strlcpy.
--- pam_opie.c.bak Sat Jan 19 21:29:49 2002
+++ pam_opie.