NO SPRINTF!
various cleanups; david says results are same
Regression tests for libc_r (pthreads) library.Thanks to pval@ for resolving the license stuff.