(get_string): Also clear wide string info if illegal_string.
authordrepper <drepper>
Tue, 3 Oct 2000 22:52:53 +0000 (22:52 +0000)
committerdrepper <drepper>
Tue, 3 Oct 2000 22:52:53 +0000 (22:52 +0000)
locale/programs/linereader.c

index 3638ba1..4be3701 100644 (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;
        }