K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-08-22T20:07:10.409017Z K 7 svn:log V 326 MFC r238178, 238624, 238810: Re-merge a couple of changes from NetBSD libedit. bin/sh has been taught about el_gets setting the count to -1 on error, so now we can partially revert r238173 to reduce differences with NetBSD's implementation. Also fix some warnings to be more in sync with NetBSD. Obtained from: NetBSD END