From: Ulrich Drepper Date: Sun, 30 Apr 2000 10:22:19 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc_2-1-91~496 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c3880fbdb7b5bbcf968399c455f963c6e7cf5379;p=platform%2Fupstream%2Fglibc.git Update. * catgets/gencat.c (read_input_file): Use isblank and not isspace to recognize second character in comment line. --- diff --git a/ChangeLog b/ChangeLog index e288355..fc379db 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 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) {