Changed ls to use malloc, changed error messages of lib/{sizeset,newbuf}.c