Second pass general update (typo, indent)
replace sprintf with snprintf in spd.

git-svn-id: http://forge.voodooprojects.org/svn/chameleon@2331 b5af796a-00a8-11df-919b-ffff7a100b7d
mistake in previous commit for sys.c

git-svn-id: http://forge.voodooprojects.org/svn/chameleon@2332 b5af796a-00a8-11df-919b-ffff7a100b7d
Optimize basic string functions strlen, strncmp, strncat, strcat

git-svn-id: http://forge.voodooprojects.org/svn/chameleon@2333 b5af796a-00a8-11df-919b-ffff7a100b7d