mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Whitespace fixes, etc.
darcs-hash:20070922222041-75c98-5aeb13041abd7ca8f9989e209fbaa5441fa78756.gz
This commit is contained in:
parent
e6b9955fc1
commit
657e3f8147
1 changed files with 4 additions and 4 deletions
8
exec.c
8
exec.c
|
@ -1304,7 +1304,7 @@ void exec( job_t *j )
|
|||
|
||||
case INTERNAL_BUILTIN:
|
||||
{
|
||||
int skip_fork=0;
|
||||
int skip_fork;
|
||||
|
||||
/*
|
||||
Handle output from builtin commands. In the general
|
||||
|
@ -1330,7 +1330,7 @@ void exec( job_t *j )
|
|||
performance quite a bit in complex completion code.
|
||||
*/
|
||||
|
||||
io_data_t *io = io_get( j->io, 1 );
|
||||
io_data_t *io = io_get( j->io, 1 );
|
||||
int buffer_stdout = io && io->io_mode == IO_BUFFER;
|
||||
|
||||
if( ( !sb_err->used ) &&
|
||||
|
@ -1338,10 +1338,10 @@ void exec( job_t *j )
|
|||
( sb_out->used ) &&
|
||||
( buffer_stdout ) )
|
||||
{
|
||||
char *res = wcs2str( (wchar_t *)sb_out->buff );
|
||||
char *res = wcs2str( (wchar_t *)sb_out->buff );
|
||||
b_append( io->param2.out_buffer, res, strlen( res ) );
|
||||
skip_fork = 1;
|
||||
free( res );
|
||||
free( res );
|
||||
}
|
||||
|
||||
for( io = j->io; io; io=io->next )
|
||||
|
|
Loading…
Reference in a new issue