Fixed lib/readall.c