Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libterminfo OOPS has been reverted.



details:   https://anonhg.NetBSD.org/src/rev/2da98f310fd7
branches:  trunk
changeset: 763228:2da98f310fd7
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Mar 14 11:44:20 2011 +0000

description:
OOPS has been reverted.

diffstat:

 lib/libterminfo/termcap.3 |  18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diffs (40 lines):

diff -r fe57641a5348 -r 2da98f310fd7 lib/libterminfo/termcap.3
--- a/lib/libterminfo/termcap.3 Mon Mar 14 11:13:22 2011 +0000
+++ b/lib/libterminfo/termcap.3 Mon Mar 14 11:44:20 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: termcap.3,v 1.5 2011/03/07 00:27:51 christos Exp $
+.\"    $NetBSD: termcap.3,v 1.6 2011/03/14 11:44:20 christos Exp $
 .\"
 .\" Copyright (c) 2009 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd March 6, 2011
+.Dd March 14, 2011
 .Dt TERMCAP 3
 .Os
 .Sh NAME
@@ -126,11 +126,17 @@
 in line
 .Fa destline ,
 or
+.Dv NULL
+on error conditions such as out of memory.
+Please note that
+.Fn tgoto
+can return an incomplete value on a malformed input sequence.
+Historically
+.Fn tgoto
+used to return
 .Dq OOPS
-if it could not decode
-a
-.Dv %
-sequence.
+on those conditions, so newer programs should now be checking the return
+value.
 .Sh SEE ALSO
 .Xr terminfo 3 ,
 .Xr terminfo 5



Home | Main Index | Thread Index | Old Index