|
From: Cyril H. <ch...@su...> - 2010-02-18 17:48:48
|
Hi! > 1. Why 64? Well, it's big enough to hold the string (I'm too lazy to figure out exact maximal length for every possible architecture/compiler) and a few more bytes should not kill anyone... > 2. It should be #define'd and/or sizeof should be used in snprintf > because they're fixed array buffers... Now there is sizeof() used in snprintf(). Signed-off-by: Cyril Hrubis ch...@su... -- Cyril Hrubis ch...@su... |