aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-30 10:22:19 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-30 10:22:19 +0000
commitc3880fbdb7b5bbcf968399c455f963c6e7cf5379 (patch)
tree11b6adcd95dc4c6e349d19603136780995d12bd9
parentedecfcda2a729916e7da9cc5d6e242d54ea5510e (diff)
downloadglibc-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--ChangeLog3
-rw-r--r--catgets/gencat.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e2883555b3..fc379db633 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)
{