2000-10-03  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/linereader.c (get_string): Also clear wide
	string info if illegal_string.
This commit is contained in:
Ulrich Drepper 2000-10-03 23:18:12 +00:00
parent a94f9b3899
commit d5fd1f3fd8
2 changed files with 7 additions and 0 deletions

View File

@ -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.

View File

@ -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;
}