create reader_data_t.interruptible flag and infrastructure to make it work.
make the `read` builtin respect ctrl-C
reader_interrupted() should only be called on the main thread. fixes #537
fix comments on #516. Split `reader_interrupted` into a `reader_interrupted` and a `reader_reading_interrupted`
move work out of interrupt handler (which is safer as well)
rename reader_data_t.interruptible to exit_on_interrupt
tweak reader interrupt behavior
Initial version of printf builtin
implement reader_cancel_thread using __thread thread-local storage
make threadlocal use conditional on configure check. NB: This revision mixes GPLv2-only and GPLv3+ code so should be considered proof of concept.
extra comments
replace compiler-supported TLS with pthread_get/setspecific; remove GPLv3 code from two commits ago
make the casting magic standards compliant and avoid compiler warnings; add error check
Clean up man page parser output a bit
Fix funced to stop outputing an error if no EDITOR is set
Fix to output the prompt even if fish_prompt fails
Fixed an unused variable warning
Fix unused return value warning a different way
Try to make Valgrind completion not complain if valgrind is not installed
Initial set of changes working to make fish robust against running out of file descriptors