The NetBSD Project

CVS log for src/lib/libterminfo/term.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / libterminfo

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: netbsd-7-1-RC2


Revision 1.17.6.1 / (download) - annotate - [select for diffs], Mon Dec 12 07:37:53 2016 UTC (13 months, 1 week ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-1-RELEASE, netbsd-7-1
Changes since 1.17: +60 -24 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Pull up following revision(s) (requested by riastradh in ticket #1307):
	lib/libterminfo/curterm.c: revisions 1.11, 1.12
	lib/libterminfo/term.c: revisions 1.18-1.20
	lib/libterminfo/termcap.c: revisions 1.18, 1.19
	lib/libterminfo/terminfo.3: revision 1.13
	lib/libterminfo/tparm.c: revision 1.16
terminfo.3: fix ti_puts prototype
--
PR/50092: Fix memory leak.
--
PR/50092: Rin Okuyama: Fix memory leak.
--
We have the max length; use snprintf.
--
From PR/50092:
- handle calling _ti_readterm with an existing initialized terminal
- simplify free code
Also:
- fix an inconsistency in userdefs count computation
--
Always copy the area buffer, even when the length was the same
(from Rin Okuyama)
--
- if we are freeing cur_term, set it to NULL.
- preserve and free "last" properly.
--
off-by-one in memcpy. Found by ASAN (Carsten Kunze)

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>