| version 1.1, 1993/05/18 07:37:54 |
version 1.2, 1993/06/08 16:49:53 |
| Line 674 cgetnext(bp, db_array) |
|
| Line 674 cgetnext(bp, db_array) |
|
| } else |
} else |
| continue; |
continue; |
| } |
} |
| } else |
} |
| line[len - 1] = '\0'; |
if (len == 0) { |
| if (len == 1) { |
|
| slash = 0; |
slash = 0; |
| continue; |
continue; |
| } |
} |
| if (isspace(*line) || |
if (isspace(*line) || |
| *line == ':' || *line == '#' || slash) { |
*line == ':' || *line == '#' || slash) { |
| if (line[len - 2] == '\\') |
if (line[len - 1] == '\\') |
| slash = 1; |
slash = 1; |
| else |
else |
| slash = 0; |
slash = 0; |
| continue; |
continue; |
| } |
} |
| if (line[len - 2] == '\\') |
if (line[len - 1] == '\\') |
| slash = 1; |
slash = 1; |
| else |
else |
| slash = 0; |
slash = 0; |
| Line 723 cgetnext(bp, db_array) |
|
| Line 722 cgetnext(bp, db_array) |
|
| (void)cgetclose(); |
(void)cgetclose(); |
| return (-1); |
return (-1); |
| } |
} |
| } else |
} |
| line[len - 1] = '\0'; |
|
| } |
} |
| } |
} |
| rp = buf; |
rp = buf; |