#ifdef out a changed interface, for now

This commit is contained in:
cgd 1993-12-21 03:05:59 +00:00
parent b7b446dbbb
commit c41f6971c4
1 changed files with 2 additions and 0 deletions

View File

@ -79,11 +79,13 @@ config(fname)
for (lcnt = 1; (p = fgetline(cfp, &len)) != NULL; ++lcnt) {
if (!len) /* Skip empty lines. */
continue;
#ifdef notdef /* XXX -- cgd */
if (p[len - 1] != '\n') { /* Skip corrupted lines. */
warnx("%s: line %d corrupted", fname, lcnt);
continue;
}
p[len - 1] = '\0'; /* Terminate the line. */
#endif
/* Skip leading space. */
for (; *p != '\0' && isspace(*p); ++p);