Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pagemon for openSUSE:Factory checked in at 2021-05-10 15:38:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pagemon (Old) and /work/SRC/openSUSE:Factory/.pagemon.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pagemon" Mon May 10 15:38:54 2021 rev:12 rq:891840 version:0.01.22 Changes: -------- --- /work/SRC/openSUSE:Factory/pagemon/pagemon.changes 2020-11-12 22:49:53.194799115 +0100 +++ /work/SRC/openSUSE:Factory/.pagemon.new.2988/pagemon.changes 2021-05-10 15:41:30.637055607 +0200 @@ -1,0 +2,7 @@ +Thu Apr 29 10:11:08 UTC 2021 - Martin Hauke <[email protected]> + +- update to version 0.01.22 + * Remove redundant reset of addr to 0 + * Avoid potential division by zero of window_pages + +------------------------------------------------------------------- Old: ---- pagemon-0.01.21.tar.xz New: ---- pagemon-0.01.22.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pagemon.spec ++++++ --- /var/tmp/diff_new_pack.2izLiu/_old 2021-05-10 15:41:30.969054308 +0200 +++ /var/tmp/diff_new_pack.2izLiu/_new 2021-05-10 15:41:30.977054276 +0200 @@ -1,7 +1,7 @@ # # spec file for package pagemon # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2017-2020, Martin Hauke <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -18,7 +18,7 @@ Name: pagemon -Version: 0.01.21 +Version: 0.01.22 Release: 0 Summary: Interactive memory/page monitoring tool License: GPL-2.0-or-later ++++++ pagemon-0.01.21.tar.xz -> pagemon-0.01.22.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.21/Makefile new/pagemon-0.01.22/Makefile --- old/pagemon-0.01.21/Makefile 2020-11-07 19:06:47.000000000 +0100 +++ new/pagemon-0.01.22/Makefile 2021-04-28 23:00:42.000000000 +0200 @@ -1,5 +1,5 @@ # -# Copyright (C) 2015-2020 Colin Ian King +# Copyright (C) 2015-2021 Colin Ian King # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -18,7 +18,7 @@ # Author: Colin Ian King <[email protected]> # -VERSION=0.01.21 +VERSION=0.01.22 CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2 -fPIC LDFLAGS += -lncurses diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.21/bash-completion/pagemon new/pagemon-0.01.22/bash-completion/pagemon --- old/pagemon-0.01.21/bash-completion/pagemon 2020-11-07 19:06:47.000000000 +0100 +++ new/pagemon-0.01.22/bash-completion/pagemon 2021-04-28 23:00:42.000000000 +0200 @@ -1,6 +1,6 @@ # pagemon tab completion for bash. # -# Copyright (C) 2020 Canonical +# Copyright (C) 2020-2021 Canonical # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.21/pagemon.8 new/pagemon-0.01.22/pagemon.8 --- old/pagemon-0.01.21/pagemon.8 2020-11-07 19:06:47.000000000 +0100 +++ new/pagemon-0.01.22/pagemon.8 2021-04-28 23:00:42.000000000 +0200 @@ -111,7 +111,7 @@ This manual page was written by Colin King <[email protected]>, for the Ubuntu project (but may be used by others). .SH COPYRIGHT -Copyright \(co 2016 Canonical Ltd. +Copyright \(co 2016-2021 Canonical Ltd. .br This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.21/pagemon.c new/pagemon-0.01.22/pagemon.c --- old/pagemon-0.01.21/pagemon.c 2020-11-07 19:06:47.000000000 +0100 +++ new/pagemon-0.01.22/pagemon.c 2021-04-28 23:00:42.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (C) Colin Ian King 2015-2020 + * Copyright (C) Colin Ian King 2015-2021 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -808,7 +808,6 @@ (void)memset(pagemap_info_buf, 0, sz); if (idx >= (index_t)g.mem_info.npages) { - addr = 0; map = NULL; } else { addr = g.mem_info.pages[idx].addr; @@ -1293,8 +1292,8 @@ if ((g.view == VIEW_PAGE) && g.auto_zoom) { const int32_t window_pages = p->xmax * p->ymax; - zoom = (g.mem_info.npages + window_pages - 1) / - window_pages; + zoom = (window_pages == 0) ? 1 : + (g.mem_info.npages + window_pages - 1) / window_pages; zoom = MINIMUM(MAX_ZOOM, zoom); zoom = MAXIMUM(MIN_ZOOM, zoom); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.21/perf.c new/pagemon-0.01.22/perf.c --- old/pagemon-0.01.21/perf.c 2020-11-07 19:06:47.000000000 +0100 +++ new/pagemon-0.01.22/perf.c 2021-04-28 23:00:42.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (C) Colin Ian King 2015-2020 + * Copyright (C) Colin Ian King 2015-2021 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.21/perf.h new/pagemon-0.01.22/perf.h --- old/pagemon-0.01.21/perf.h 2020-11-07 19:06:47.000000000 +0100 +++ new/pagemon-0.01.22/perf.h 2021-04-28 23:00:42.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (C) Colin Ian King 2015-2020 + * Copyright (C) Colin Ian King 2015-2021 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License
