aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--locale/programs/linereader.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index db52c78..24811ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-03 Ulrich Drepper <drepper@redhat.com>
+
+ * locale/programs/linereader.c (get_string): Also clear wide
+ string info if illegal_string.
+
2000-10-03 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/m68k/bits/stat.h: New file.
diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c
index 3638ba1..4be3701 100644
--- a/locale/programs/linereader.c
+++ b/locale/programs/linereader.c
@@ -791,6 +791,8 @@ non-symbolic character value should not be used"));
free (buf2);
lr->token.val.str.startmb = NULL;
lr->token.val.str.lenmb = 0;
+ lr->token.val.str.startwc = NULL;
+ lr->token.val.str.lenwc = 0;
return &lr->token;
}