Replace usage of strlcpy with snprintf
Replace usage of strlcpy with snprintf

strlcpy is only available on BSDs. Also, see Ulrich Drepper's comment on the
usage of strlcpy.

http://www.sourceware.org/ml/libc-alpha/2000-08/msg00053.html

thebigbrain/qfs,qnu/qfs,thebigbrain/qfs,quantcast/qfs,thebigbrain/qfs,quantcast/qfs,thebigbrain/qfs,qnu/qfs,qnu/qfs,quantcast/qfs,qnu/qfs,quantcast/qfs,qnu/qfs,quantcast/qfs,thebigbrain/qfs,thebigbrain/qfs,thebigbrain/qfs,qnu/qfs,chanwit/qfs,fengshao0907/qfs,quantcast/qfs,fengshao0907/qfs,thebigbrain/qfs,chanwit/qfs,fengshao0907/qfs,fengshao0907/qfs,chanwit/qfs,qnu/qfs,chanwit/qfs,qnu/qfs,fengshao0907/qfs,chanwit/qfs,chanwit/qfs,chanwit/qfs,quantcast/qfs,chanwit/qfs,fengshao0907/qfs,quantcast/qfs,fengshao0907/qfs,fengshao0907/qfs