mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 01:51:14 -03:00
Fix for crash on "less test <tab>"
This commit is contained in:
4
exec.cpp
4
exec.cpp
@@ -1090,8 +1090,8 @@ void exec( parser_t &parser, job_t *j )
|
||||
case INTERNAL_BUFFER:
|
||||
{
|
||||
|
||||
const char *buffer = io_buffer->out_buffer_ptr();
|
||||
size_t count = io_buffer->out_buffer_size();
|
||||
const char *buffer = input_redirect->out_buffer_ptr();
|
||||
size_t count = input_redirect->out_buffer_size();
|
||||
|
||||
pid = execute_fork(false);
|
||||
if( pid == 0 )
|
||||
|
||||
Reference in New Issue
Block a user