Files
neovim/src/nvim/os
Thiago de Arruda 45525853d3 wstream/shell: Fix memory errors caused by os_system
The os_system function uses a write callback to close the input stream when the
write completes, but this causes a memory error because the callback is invoked
right before the stream is freed by the caller.

This fixes the problem by removing the callback set by os_system. Instead, it
calls job_close_in immediately after writing(the stream will only close after
the write completes). The 'pending' parameter was also removed from the
'write_cb' as it should be hidden by the wstream module.

While the `wstream_set_write_cb` and `job_write_cb` are no longer used, they
will remain in the codebase for future use.
2014-10-01 21:42:00 -03:00
..
2014-07-14 20:28:40 +02:00
2014-07-14 20:28:40 +02:00
2014-06-02 11:04:17 -03:00
2014-06-27 13:59:28 +02:00
2014-09-30 19:33:48 -04:00
2014-06-02 11:04:17 -03:00
2014-06-02 11:04:17 -03:00
2014-06-02 11:04:18 -03:00
2014-06-02 11:04:17 -03:00
2014-06-02 11:04:18 -03:00
2014-07-20 18:27:45 -04:00
2014-07-09 00:18:18 +02:00
2014-06-02 11:04:17 -03:00