mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 13:01:21 -03:00
Use the new array_list functions in builtin.c
darcs-hash:20060731162339-ac50b-e8a6bd2c327b8fa5527b739fba544994e1a809e3.gz
This commit is contained in:
@@ -3126,7 +3126,7 @@ void builtin_push_io( int in )
|
||||
{
|
||||
if( builtin_stdin != -1 )
|
||||
{
|
||||
al_push( &io_stack, (void *)(long)builtin_stdin );
|
||||
al_push_long( &io_stack, (long)builtin_stdin );
|
||||
al_push( &io_stack, sb_out );
|
||||
al_push( &io_stack, sb_err );
|
||||
}
|
||||
@@ -3149,7 +3149,7 @@ void builtin_pop_io()
|
||||
{
|
||||
sb_err = (string_buffer_t *)al_pop( &io_stack );
|
||||
sb_out = (string_buffer_t *)al_pop( &io_stack );
|
||||
builtin_stdin = (int)(long)al_pop( &io_stack );
|
||||
builtin_stdin = (int)al_pop_long( &io_stack );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user