From: Thomas E. Dickey Date: Tue, 16 Nov 2021 00:54:00 +0000 (+0000) Subject: ncurses 6.3 - patch 20211115 X-Git-Tag: v6.4~60 X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=commitdiff_plain;h=214f159cd8c0ea4fba47beb249379d0da2dfb8ca;hp=8f4cd91a25f1569f73651062aaaf5fb969182eab ncurses 6.3 - patch 20211115 + fix memory-leak in delwin for pads (report by Werner Fink, OpenSUSE #1192668, cf: 20211106), --- diff --git a/NEWS b/NEWS index 2f5ca667..88901a51 100644 --- a/NEWS +++ b/NEWS @@ -26,7 +26,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: NEWS,v 1.3743 2021/11/14 00:34:58 tom Exp $ +-- $Id: NEWS,v 1.3745 2021/11/16 00:26:15 tom Exp $ ------------------------------------------------------------------------------- This is a log of changes that ncurses has gone through since Zeyd started @@ -46,6 +46,10 @@ See the AUTHORS file for the corresponding full names. Changes through 1.9.9e did not credit all contributions; it is not possible to add this information. +20211115 + + fix memory-leak in delwin for pads (report by Werner Fink, OpenSUSE + #1192668, cf: 20211106), + 20211113 + minor clarification to clear.1 (Debian #999437). + add xterm+sl-alt, use that in foot+base (report by Jonas Grosse diff --git a/VERSION b/VERSION index 977e6c5a..ad38cd87 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5:0:10 6.3 20211113 +5:0:10 6.3 20211115 diff --git a/dist.mk b/dist.mk index dfee0c44..e585e74a 100644 --- a/dist.mk +++ b/dist.mk @@ -26,7 +26,7 @@ # use or other dealings in this Software without prior written # # authorization. # ############################################################################## -# $Id: dist.mk,v 1.1449 2021/11/13 11:06:04 tom Exp $ +# $Id: dist.mk,v 1.1450 2021/11/15 23:51:41 tom Exp $ # Makefile for creating ncurses distributions. # # This only needs to be used directly as a makefile by developers, but @@ -38,7 +38,7 @@ SHELL = /bin/sh # These define the major/minor/patch versions of ncurses. NCURSES_MAJOR = 6 NCURSES_MINOR = 3 -NCURSES_PATCH = 20211113 +NCURSES_PATCH = 20211115 # We don't append the patch to the version, since this only applies to releases VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) diff --git a/ncurses/base/lib_delwin.c b/ncurses/base/lib_delwin.c index efaf4ee1..ce793e53 100644 --- a/ncurses/base/lib_delwin.c +++ b/ncurses/base/lib_delwin.c @@ -43,7 +43,7 @@ #include -MODULE_ID("$Id: lib_delwin.c,v 1.22 2021/11/06 21:54:14 tom Exp $") +MODULE_ID("$Id: lib_delwin.c,v 1.23 2021/11/15 23:05:32 tom Exp $") static bool cannot_delete(WINDOW *win) @@ -83,7 +83,7 @@ delwin(WINDOW *win) result = ERR; } else if (IS_PAD(win)) { win->_parent = NULL; - result = OK; + result = _nc_freewin(win); } else { #if NCURSES_SP_FUNCS SCREEN *sp = _nc_screen_of(win); diff --git a/ncurses/tinfo/lib_tparm.c b/ncurses/tinfo/lib_tparm.c index 72d88138..1ca0a45e 100644 --- a/ncurses/tinfo/lib_tparm.c +++ b/ncurses/tinfo/lib_tparm.c @@ -53,7 +53,7 @@ #include #include -MODULE_ID("$Id: lib_tparm.c,v 1.134 2021/08/21 21:52:08 tom Exp $") +MODULE_ID("$Id: lib_tparm.c,v 1.135 2021/11/15 23:31:31 tom Exp $") /* * char * @@ -209,6 +209,8 @@ _nc_free_tparm(void) static int tparm_error(TPARM_STATE *tps, const char *message) { + (void) tps; + (void) message; DEBUG(2, ("%s: %s", message, _nc_visbuf(TPS(tparam_base)))); return ++_nc_tparm_err; } diff --git a/package/debian-mingw/changelog b/package/debian-mingw/changelog index 3c0e1d2e..c4672996 100644 --- a/package/debian-mingw/changelog +++ b/package/debian-mingw/changelog @@ -1,8 +1,8 @@ -ncurses6 (6.3+20211113) unstable; urgency=low +ncurses6 (6.3+20211115) unstable; urgency=low * latest weekly patch - -- Thomas E. Dickey Sun, 07 Nov 2021 10:11:03 -0500 + -- Thomas E. Dickey Mon, 15 Nov 2021 18:51:41 -0500 ncurses6 (5.9-20131005) unstable; urgency=low diff --git a/package/debian-mingw64/changelog b/package/debian-mingw64/changelog index 3c0e1d2e..c4672996 100644 --- a/package/debian-mingw64/changelog +++ b/package/debian-mingw64/changelog @@ -1,8 +1,8 @@ -ncurses6 (6.3+20211113) unstable; urgency=low +ncurses6 (6.3+20211115) unstable; urgency=low * latest weekly patch - -- Thomas E. Dickey Sun, 07 Nov 2021 10:11:03 -0500 + -- Thomas E. Dickey Mon, 15 Nov 2021 18:51:41 -0500 ncurses6 (5.9-20131005) unstable; urgency=low diff --git a/package/debian/changelog b/package/debian/changelog index d123f7ea..dc1638a8 100644 --- a/package/debian/changelog +++ b/package/debian/changelog @@ -1,8 +1,8 @@ -ncurses6 (6.3+20211113) unstable; urgency=low +ncurses6 (6.3+20211115) unstable; urgency=low * latest weekly patch - -- Thomas E. Dickey Sun, 07 Nov 2021 10:11:03 -0500 + -- Thomas E. Dickey Mon, 15 Nov 2021 18:51:41 -0500 ncurses6 (5.9-20120608) unstable; urgency=low diff --git a/package/mingw-ncurses.nsi b/package/mingw-ncurses.nsi index 4cb28532..1af5e514 100644 --- a/package/mingw-ncurses.nsi +++ b/package/mingw-ncurses.nsi @@ -1,4 +1,4 @@ -; $Id: mingw-ncurses.nsi,v 1.491 2021/11/13 11:06:04 tom Exp $ +; $Id: mingw-ncurses.nsi,v 1.492 2021/11/15 23:51:41 tom Exp $ ; TODO add examples ; TODO bump ABI to 6 @@ -10,7 +10,7 @@ !define VERSION_MAJOR "6" !define VERSION_MINOR "3" !define VERSION_YYYY "2021" -!define VERSION_MMDD "1113" +!define VERSION_MMDD "1115" !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD} !define MY_ABI "5" diff --git a/package/mingw-ncurses.spec b/package/mingw-ncurses.spec index 371fa90f..da1c9c96 100644 --- a/package/mingw-ncurses.spec +++ b/package/mingw-ncurses.spec @@ -3,7 +3,7 @@ Summary: shared libraries for terminal handling Name: mingw32-ncurses6 Version: 6.3 -Release: 20211113 +Release: 20211115 License: X11 Group: Development/Libraries Source: ncurses-%{version}-%{release}.tgz diff --git a/package/ncurses.spec b/package/ncurses.spec index 85203d37..92722c20 100644 --- a/package/ncurses.spec +++ b/package/ncurses.spec @@ -1,7 +1,7 @@ Summary: shared libraries for terminal handling Name: ncurses6 Version: 6.3 -Release: 20211113 +Release: 20211115 License: X11 Group: Development/Libraries Source: ncurses-%{version}-%{release}.tgz diff --git a/package/ncursest.spec b/package/ncursest.spec index 3c068627..f60c0411 100644 --- a/package/ncursest.spec +++ b/package/ncursest.spec @@ -1,7 +1,7 @@ Summary: Curses library with POSIX thread support. Name: ncursest6 Version: 6.3 -Release: 20211113 +Release: 20211115 License: X11 Group: Development/Libraries Source: ncurses-%{version}-%{release}.tgz