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
Add man function to promote fish's man pages so it can serve as a suitable replacement for help
Add a newline to prevent a comment from being cut off
Tweak config.fish to only modify PATH once, for performance
Teach fish how to put completion data inside a closing quote
Fixes https://github.com/fish-shell/fish-shell/issues/552
Fix comments in proc.h (spelling, wording, format)
Formatting
rename reader_cancel_thread to reader_thread_job_is_stale, update comments