summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-03 23:18:12 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-03 23:18:12 +0000
commitd5fd1f3fd88443b9f380fb576a6e7bf039fdf6b6 (patch)
tree3748df6cc81aa7766ac4ed4b4830f44cdd2f1013
parenta94f9b38995b0162a578092f5a9d523b102b7574 (diff)
downloadglibc-d5fd1f3fd88443b9f380fb576a6e7bf039fdf6b6.tar.gz
glibc-d5fd1f3fd88443b9f380fb576a6e7bf039fdf6b6.tar.xz
glibc-d5fd1f3fd88443b9f380fb576a6e7bf039fdf6b6.zip
Update.
2000-10-03  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/linereader.c (get_string): Also clear wide
	string info if illegal_string.
-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 db52c78dae..24811cef48 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 3638ba138a..4be3701e2b 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;
 	}