Use the new array_list functions in builtin.c

darcs-hash:20060731162339-ac50b-e8a6bd2c327b8fa5527b739fba544994e1a809e3.gz
This commit is contained in:
axel
2006-08-01 02:23:39 +10:00
parent 9b95332aa9
commit 109e7455a8

View File

@@ -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
{