diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-04-30 10:22:19 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-04-30 10:22:19 +0000 |
commit | c3880fbdb7b5bbcf968399c455f963c6e7cf5379 (patch) | |
tree | 11b6adcd95dc4c6e349d19603136780995d12bd9 | |
parent | edecfcda2a729916e7da9cc5d6e242d54ea5510e (diff) | |
download | glibc-c3880fbdb7b5bbcf968399c455f963c6e7cf5379.tar glibc-c3880fbdb7b5bbcf968399c455f963c6e7cf5379.tar.gz glibc-c3880fbdb7b5bbcf968399c455f963c6e7cf5379.tar.bz2 glibc-c3880fbdb7b5bbcf968399c455f963c6e7cf5379.zip |
Update.
* catgets/gencat.c (read_input_file): Use isblank and not isspace
to recognize second character in comment line.
-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 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) { |