diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | catgets/gencat.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,8 @@ 2000-04-30 Ulrich Drepper <drepper@redhat.com> + * catgets/gencat.c (read_input_file): Use isblank and not isspace + to recognize second character in comment line. + * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to ENOBUFS if we are out of memory. diff --git a/catgets/gencat.c b/catgets/gencat.c index 4609c63..e8bf368 100644 --- a/catgets/gencat.c +++ b/catgets/gencat.c @@ -327,7 +327,7 @@ read_input_file (struct catalog *current, const char *fname) used = 0; if (this_line[0] == '$') { - if (isspace (this_line[1])) + if (isblank (this_line[1])) /* This is a comment line. Do nothing. */; else if (strncmp (&this_line[1], "set", 3) == 0) { |