1 # Internal patch. Solaris-specific. Upstream will not accept it.
2 # If read EOF on a non-blank line do not interpret as a NL.
3 # Clear the readline buffers and return eof_found.
4 --- lib/readline/readline.c 2009-08-31 05:45:31.000000000 -0700
5 +++ lib/readline/readline.c 2015-02-18 11:10:55.652803033 -0800
8 /* EOF typed to a non-blank line is a <NL>. */
9 if (c == EOF && rl_end)
12 + _rl_internal_char_cleanup ();
14 +#if defined (READLINE_CALLBACKS)
21 /* The character _rl_eof_char typed to blank line, and not as the
22 previous character is interpreted as EOF. */