mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 19:41:15 -03:00
Fix a crash when using quotes due to wgettext thread safety issues.
This commit is contained in:
@@ -523,7 +523,7 @@ void parse_util_token_extent( const wchar_t *buff,
|
||||
DIE_MEM();
|
||||
}
|
||||
|
||||
for( tok_init( &tok, buffcpy, TOK_ACCEPT_UNFINISHED );
|
||||
for( tok_init( &tok, buffcpy, TOK_ACCEPT_UNFINISHED | TOK_SQUASH_ERRORS );
|
||||
tok_has_next( &tok );
|
||||
tok_next( &tok ) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user