mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 04:41:14 -03:00
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
This commit is contained in:
5
input.c
5
input.c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user