From c3880fbdb7b5bbcf968399c455f963c6e7cf5379 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 30 Apr 2000 10:22:19 +0000 Subject: Update. * catgets/gencat.c (read_input_file): Use isblank and not isspace to recognize second character in comment line. --- ChangeLog | 3 +++ catgets/gencat.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e2883555b3..fc379db633 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-04-30 Ulrich Drepper + * 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 4609c63681..e8bf368eea 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) { -- cgit 1.4.1