fix bogus lazy allocation in ctermid and missing malloc failure check
[musl] / include / crypt.h
2012-06-29 Rich Felkerreplace old and ugly crypt implementation