Fixed strdup -> xstrdup for lineread code.