mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 01:51:14 -03:00
Make sure signals aren't blocked while autoloading, also add a few consistency checks to see that signals aren't blocked in critical places
darcs-hash:20061029210911-ac50b-50bec85c3d59d0332ba44f3ece1a012cdc3e8c4b.gz
This commit is contained in:
@@ -353,10 +353,6 @@ const wchar_t *function_get_definition_file( const wchar_t *argv )
|
||||
|
||||
CHECK( argv, 0 );
|
||||
|
||||
if( is_autoload )
|
||||
return 0;
|
||||
|
||||
load( argv );
|
||||
data = (function_data_t *)hash_get( &function, argv );
|
||||
if( data == 0 )
|
||||
return 0;
|
||||
@@ -371,10 +367,6 @@ int function_get_definition_offset( const wchar_t *argv )
|
||||
|
||||
CHECK( argv, -1 );
|
||||
|
||||
if( is_autoload )
|
||||
return -1;
|
||||
|
||||
load( argv );
|
||||
data = (function_data_t *)hash_get( &function, argv );
|
||||
if( data == 0 )
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user