aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-11-10 09:19:27 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-11-10 18:47:46 -0300
commit3e8ef31ada1f2ae0b0cd58bb25d5516d19eee82d (patch)
tree888527c926d8117c21d291311e34f271614cf66f /src/nvim/buffer.c
parentab826d88f69a3cc2785baa6367d3bd01dbb84627 (diff)
downloadrneovim-3e8ef31ada1f2ae0b0cd58bb25d5516d19eee82d.tar.gz
rneovim-3e8ef31ada1f2ae0b0cd58bb25d5516d19eee82d.tar.bz2
rneovim-3e8ef31ada1f2ae0b0cd58bb25d5516d19eee82d.zip
shell: Use job_write_cb for closing stdin
Commit @45525853d352 removed usage of the `job_write_cb` for closing stdin due to a memory error, but that doesn't work anymore because `job_close_in` closes stdin immediately, possibly trimming input data before it is fully written. Since most memory issues with jobs have been fixed, re-add the `job_write_cb` call to ensure stdin is only closed when it should. Also add tests for scenarios where using the callback makes a difference.
Diffstat (limited to 'src/nvim/buffer.c')
0 files changed, 0 insertions, 0 deletions