mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 04:42:39 +08:00
parent
c931e33759
commit
8d9089c78b
|
@ -94,7 +94,7 @@ void io_buffer_t::run_background_fillthread(autoclose_fd_t readfd) {
|
|||
scoped_lock locker(append_lock_);
|
||||
ssize_t ret;
|
||||
do {
|
||||
char buff[BUFFER_SIZE];
|
||||
char buff[4096];
|
||||
ret = read(fd, buff, sizeof buff);
|
||||
if (ret > 0) {
|
||||
buffer_.append(&buff[0], &buff[ret]);
|
||||
|
|
Loading…
Reference in New Issue
Block a user