nomos : Check return value of strerror_r().
sqlCopy.c : Fix unsafe usage of strncat.

This was actually safe due to some pre-condition checking code, but gcc
4.9 was warning about it because it could detect the issue, but not the
pre-condion checking.