fish-shell/fish-shell — pull request #487 by xiaq (2012-12-31 16:46:47+00:00)
Title: First steps of splitting io_data_t

First steps towards #484.

By using shared_ptr to manage io_data_t and avoid copying io_data_t, better destruction semantics is achieved. `io_buffer_destroy` will be converted into a virtual destructor a bit later (after splitting io_buffer_t, of course).