Fix strlcpy and strlcat functions

These were not behaving as the man pages described.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Fix the blackbox formatter when specifing the string len/precision

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
LOG: fix truncation in some messages that get padded.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Fedora's splint has a strange syntax error, don't fail on it.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
LOG: add a test for a padded hex int.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
TEST: add a progam to compare the speed of vsnprintf and qb_vsnprintf_serialize

On my system I get:

qb store] Duration:     8.289 OPs/sec: 1206381.250
snprintf] Duration:    16.712 OPs/sec: 598368.000

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>