diff options
author | 2006-02-10 01:50:20 +1000 | |
---|---|---|
committer | 2006-02-10 01:50:20 +1000 | |
commit | d1c9bca2e9f0eaac2fb8e00e5ed07e8e2906bb02 (patch) | |
tree | 9de2b4fd732398afaebd00c732d8fe41762ac322 /input.c | |
parent | 49973b85dac4baf843b95ae22ffaed7f41ae43bc (diff) |
Another halloc:ification of fish. Halloc has been extended to allow registering function calls, this has allowed the creation of halloc-handled arraylists, stringbuffers, etc. More job parsing halloc-ification has reduced the error handling code to only a shadow of it's former self
darcs-hash:20060209155020-ac50b-e119c5293ce2368e252cfc01b98ab7c629fdd678.gz
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -55,6 +55,7 @@ implementation in fish is as of yet incomplete. #include "env.h" #include "expand.h" #include "event.h" +#include "signal.h" #include "translate.h" static void input_read_inputrc( wchar_t *fn ); @@ -1085,7 +1086,7 @@ static void input_read_inputrc( wchar_t *fn ) int error=0; // fwprintf( stderr, L"read %ls\n", fn ); - block(); + signal_block(); rc = wfopen( fn, "r" ); if( rc ) @@ -1120,7 +1121,7 @@ static void input_read_inputrc( wchar_t *fn ) free( buff ); fclose( rc ); } - unblock(); + signal_unblock(); inputrc_skip_block_count=0; inputrc_block_count=0; |