summary refs log tree commit diff
path: root/locale/programs
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 /locale/programs
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.
Diffstat (limited to 'locale/programs')
-rw-r--r--locale/programs/linereader.c2
1 files changed, 2 insertions, 0 deletions
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;
 	}