diff -Nru pagemon-0.01.19/debian/changelog pagemon-0.01.20/debian/changelog --- pagemon-0.01.19/debian/changelog 2020-02-26 14:19:22.000000000 +0000 +++ pagemon-0.01.20/debian/changelog 2020-07-04 20:07:31.000000000 +0000 @@ -1,3 +1,12 @@ +pagemon (0.01.20-1) unstable; urgency=medium + + * Makefile: bump version + * Debian/control: update compat to 13, remove compat file, + add Rules-Requires-Root rule + * Zero ws struct to clear static analysis warnings + + -- Colin King Sat, 4 Jul 2020 21:07:31 +0100 + pagemon (0.01.19-1) unstable; urgency=medium * Makefile: bump version diff -Nru pagemon-0.01.19/debian/compat pagemon-0.01.20/debian/compat --- pagemon-0.01.19/debian/compat 2020-02-26 14:19:22.000000000 +0000 +++ pagemon-0.01.20/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -12 diff -Nru pagemon-0.01.19/debian/control pagemon-0.01.20/debian/control --- pagemon-0.01.19/debian/control 2020-02-26 14:19:22.000000000 +0000 +++ pagemon-0.01.20/debian/control 2020-07-04 20:07:31.000000000 +0000 @@ -1,9 +1,12 @@ Source: pagemon +Rules-Requires-Root: no Section: admin Priority: optional Maintainer: Colin King Standards-Version: 4.1.2 -Build-Depends: debhelper (>= 12), libncurses5-dev +Build-Depends: debhelper (>= 12), + debhelper-compat (=13), + libncurses5-dev Homepage: http://kernel.ubuntu.com/~cking/pagemon Package: pagemon diff -Nru pagemon-0.01.19/Makefile pagemon-0.01.20/Makefile --- pagemon-0.01.19/Makefile 2020-02-26 14:20:38.000000000 +0000 +++ pagemon-0.01.20/Makefile 2020-07-04 20:10:33.000000000 +0000 @@ -18,7 +18,7 @@ # Author: Colin Ian King # -VERSION=0.01.19 +VERSION=0.01.20 CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2 -fPIC LDFLAGS += -lncurses diff -Nru pagemon-0.01.19/pagemon.c pagemon-0.01.20/pagemon.c --- pagemon-0.01.19/pagemon.c 2020-02-26 14:20:38.000000000 +0000 +++ pagemon-0.01.20/pagemon.c 2020-07-04 20:10:33.000000000 +0000 @@ -1296,6 +1296,7 @@ zoom * (p->xpos + (p->ypos * p->xmax)); struct winsize ws; + (void)memset(&ws, 0, sizeof(ws)); if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) < 0) { rc = ERR_RESIZE_FAIL; break;