#ifdef out a changed interface, for now
This commit is contained in:
parent
b7b446dbbb
commit
c41f6971c4
|
@ -79,11 +79,13 @@ config(fname)
|
||||||
for (lcnt = 1; (p = fgetline(cfp, &len)) != NULL; ++lcnt) {
|
for (lcnt = 1; (p = fgetline(cfp, &len)) != NULL; ++lcnt) {
|
||||||
if (!len) /* Skip empty lines. */
|
if (!len) /* Skip empty lines. */
|
||||||
continue;
|
continue;
|
||||||
|
#ifdef notdef /* XXX -- cgd */
|
||||||
if (p[len - 1] != '\n') { /* Skip corrupted lines. */
|
if (p[len - 1] != '\n') { /* Skip corrupted lines. */
|
||||||
warnx("%s: line %d corrupted", fname, lcnt);
|
warnx("%s: line %d corrupted", fname, lcnt);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
p[len - 1] = '\0'; /* Terminate the line. */
|
p[len - 1] = '\0'; /* Terminate the line. */
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Skip leading space. */
|
/* Skip leading space. */
|
||||||
for (; *p != '\0' && isspace(*p); ++p);
|
for (; *p != '\0' && isspace(*p); ++p);
|
||||||
|
|
Loading…
Reference in New Issue