summaryrefslogtreecommitdiffstats
path: root/lib/libedit/editline.3
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2012-07-06 16:43:56 +0000
committerpfg <pfg@FreeBSD.org>2012-07-06 16:43:56 +0000
commit14199a8fd5efcdf5ce7f371c2e51e9ec66c55c84 (patch)
treeb618c2c0cafd1cf1bf31a47865616e1462e4e530 /lib/libedit/editline.3
parentdd5db9f53d0baca67fc336d16a2f1f6cd5756f77 (diff)
downloadFreeBSD-src-14199a8fd5efcdf5ce7f371c2e51e9ec66c55c84.zip
FreeBSD-src-14199a8fd5efcdf5ce7f371c2e51e9ec66c55c84.tar.gz
Fix issue resizing bin/sh
This partially reverts some changes from r237448 that are causing breakage when resizing under bin/sh . Reverted changes from NetBSD are: Mar 10 20:46:15 2009 - editline.3 read.c make el_gets set the count to -1 on error to distinguish between EOF and error. Feb 19 15:20:22 2009 - read.c sig.c sig.h reset and redraw on sigcont. From Anon Ymous. Feb 15 21:24:13 2009 don't restart on EINTR, instead return NULL immediately. From Anon Ymous PR: 169603 Reported by: Peter Jeremy, David Shao MFC after: 3 days
Diffstat (limited to 'lib/libedit/editline.3')
-rw-r--r--lib/libedit/editline.35
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/libedit/editline.3 b/lib/libedit/editline.3
index fe58321..dd4c874 100644
--- a/lib/libedit/editline.3
+++ b/lib/libedit/editline.3
@@ -162,11 +162,6 @@ is modified to contain the number of characters read.
Returns the line read if successful, or
.Dv NULL
if no characters were read or if an error occurred.
-If an error occurred,
-.Fa count
-is set to \-1 and
-.Dv errno
-contains the error code that caused it.
The return value may not remain valid across calls to
.Fn el_gets
and must be copied if the data is to be retained.
OpenPOWER on IntegriCloud