Pedro F. Giffuni 00c43e0ca4 Merge libedit adjustment from NetBSD.
On recent versions of NetBSD's libedit, el_gets
now sets el_len to -1 on error so we can
distinguish between a NULL string and an error.

This fixes sh from exiting with newer versions
of libedit now allowing EINTR to return.

Obtained from:	NetBSD
Reviewed by:	jilles
MFC after:	3 weeks
2012-07-11 22:17:58 +00:00
..
2011-12-11 20:53:12 +00:00
2011-05-13 16:29:57 +00:00
2012-02-22 03:36:15 +00:00
2012-05-12 02:49:40 +00:00
2011-02-04 16:40:50 +00:00
2012-07-11 22:17:58 +00:00
2012-05-13 14:16:04 +00:00
2010-09-13 01:29:51 +00:00