1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
* resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
	by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.

1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
This commit is contained in:
Ulrich Drepper
1999-03-01 21:56:06 +00:00
parent 9f6b6d8d19
commit 6dc25b55ba
2 changed files with 7 additions and 1 deletions

View File

@ -263,7 +263,8 @@ parse_line (const char *fname, int line_num, const char *str)
str = skip_ws (str);
if (*str == '#') return; /* skip line comment */
/* skip line comment and empty lines: */
if (*str == '\0' || *str == '#') return;
start = str;
str = skip_string (str);