mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-25 23:21:15 -03:00
Fix a crash when using quotes due to wgettext thread safety issues.
This commit is contained in:
@@ -557,7 +557,7 @@ static void tokenize( const wchar_t * const buff, int * const color, const int p
|
||||
color[i] = -1;
|
||||
|
||||
tokenizer tok;
|
||||
for( tok_init( &tok, buff, TOK_SHOW_COMMENTS );
|
||||
for( tok_init( &tok, buff, TOK_SHOW_COMMENTS | TOK_SQUASH_ERRORS );
|
||||
tok_has_next( &tok );
|
||||
tok_next( &tok ) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user