mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
* 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:
@ -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);
|
||||
|
Reference in New Issue
Block a user