Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package remind for openSUSE:Factory checked in at 2021-05-11 23:04:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/remind (Old) and /work/SRC/openSUSE:Factory/.remind.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "remind" Tue May 11 23:04:26 2021 rev:19 rq:892223 version:3.3.7 Changes: -------- --- /work/SRC/openSUSE:Factory/remind/remind.changes 2021-04-01 14:18:55.812125520 +0200 +++ /work/SRC/openSUSE:Factory/.remind.new.2988/remind.changes 2021-05-11 23:04:36.936833233 +0200 @@ -1,0 +2,16 @@ +Tue May 11 08:50:47 UTC 2021 - Detlef Steuer <[email protected]> + +- CHANGES TO REMIND + +* VERSION 3.3 Patch 7 - 2021-05-10 + +- MINOR FIX: Refuse to run "make test" as root --- it would fail + anyway with an obscure message. + +- BUG FIX: Remind would sometimes compute incorrect trigger date for: + REM Tue 29 Feb MSG ... + +- BUG FIX: Remind would sometimes compute incorrect trigger date for + a date spec like: Tue 31 2021 MSG ... + +------------------------------------------------------------------- Old: ---- remind-03.03.06.tar.gz remind-3.3.6-rpmlintrc New: ---- remind-03.03.07.tar.gz remind-3.3.7-rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ remind.spec ++++++ --- /var/tmp/diff_new_pack.bBpT8B/_old 2021-05-11 23:04:37.420831236 +0200 +++ /var/tmp/diff_new_pack.bBpT8B/_new 2021-05-11 23:04:37.424831219 +0200 @@ -17,9 +17,9 @@ Name: remind -Version: 3.3.6 +Version: 3.3.7 Release: 0 -%define tar_version 03.03.06 +%define tar_version 03.03.07 Summary: A sophisticated calendar and alarm program License: GPL-2.0-only Group: Productivity/Office/Organizers ++++++ remind-03.03.06.tar.gz -> remind-03.03.07.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/COPYRIGHT new/remind-03.03.07/COPYRIGHT --- old/remind-03.03.06/COPYRIGHT 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/COPYRIGHT 2021-05-10 22:53:16.000000000 +0200 @@ -3,7 +3,7 @@ 1. REMIND refers to the entire set of files and documentation in the REMIND package. -2. REMIND is Copyright 1992-2020 Dianne Skoll, except where noted in +2. REMIND is Copyright 1992-2021 Dianne Skoll, except where noted in individual files. 3. DISTRIBUTION AND USE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/configure new/remind-03.03.07/configure --- old/remind-03.03.06/configure 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/configure 2021-05-10 22:53:16.000000000 +0200 @@ -3991,7 +3991,7 @@ fi done -VERSION=03.03.06 +VERSION=03.03.07 ac_config_files="$ac_config_files src/Makefile www/Makefile src/version.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/configure.in new/remind-03.03.07/configure.in --- old/remind-03.03.06/configure.in 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/configure.in 2021-05-10 22:53:16.000000000 +0200 @@ -75,6 +75,6 @@ fi AC_CHECK_FUNCS(setenv unsetenv glob mbstowcs setlocale) -VERSION=03.03.06 +VERSION=03.03.07 AC_SUBST(VERSION) AC_OUTPUT(src/Makefile www/Makefile src/version.h) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/docs/WHATSNEW new/remind-03.03.07/docs/WHATSNEW --- old/remind-03.03.06/docs/WHATSNEW 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/docs/WHATSNEW 2021-05-10 22:53:16.000000000 +0200 @@ -1,5 +1,16 @@ CHANGES TO REMIND +* VERSION 3.3 Patch 7 - 2021-05-10 + +- MINOR FIX: Refuse to run "make test" as root --- it would fail + anyway with an obscure message. + +- BUG FIX: Remind would sometimes compute incorrect trigger date for: + REM Tue 29 Feb MSG ... + +- BUG FIX: Remind would sometimes compute incorrect trigger date for + a date spec like: Tue 31 2021 MSG ... + * VERSION 3.3 Patch 6 - 2021-03-30 - test/test.rem: Change local to en_US.utf-8 only if current locale diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/man/rem.1 new/remind-03.03.07/man/rem.1 --- old/remind-03.03.06/man/rem.1 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/man/rem.1 2021-05-10 22:53:16.000000000 +0200 @@ -1,4 +1,4 @@ -.TH REM 1 "1 January 2020" +.TH REM 1 "1 January 2021" .UC 4 .SH NAME rem \- Invoke Remind with a default filename diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/man/remind.1 new/remind-03.03.07/man/remind.1 --- old/remind-03.03.06/man/remind.1 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/man/remind.1 2021-05-10 22:53:16.000000000 +0200 @@ -1,4 +1,4 @@ -.TH REMIND 1 "1 January 2020" +.TH REMIND 1 "1 January 2021" .UC 4 .SH NAME remind \- a sophisticated reminder service diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/calendar.c new/remind-03.03.07/src/calendar.c --- old/remind-03.03.06/src/calendar.c 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/calendar.c 2021-05-10 22:53:16.000000000 +0200 @@ -5,7 +5,7 @@ /* The code for generating a calendar. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/custom.h new/remind-03.03.07/src/custom.h --- old/remind-03.03.06/src/custom.h 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/custom.h 2021-05-10 22:53:16.000000000 +0200 @@ -6,7 +6,7 @@ /* which you can customize. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/custom.h.in new/remind-03.03.07/src/custom.h.in --- old/remind-03.03.06/src/custom.h.in 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/custom.h.in 2021-05-10 22:53:16.000000000 +0200 @@ -6,7 +6,7 @@ /* which you can customize. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/dorem.c new/remind-03.03.07/src/dorem.c --- old/remind-03.03.06/src/dorem.c 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/dorem.c 2021-05-10 22:53:16.000000000 +0200 @@ -7,7 +7,7 @@ /* commands. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/dosubst.c new/remind-03.03.07/src/dosubst.c --- old/remind-03.03.06/src/dosubst.c 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/dosubst.c 2021-05-10 22:53:16.000000000 +0200 @@ -6,7 +6,7 @@ /* reminders are triggered. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/dynbuf.c new/remind-03.03.07/src/dynbuf.c --- old/remind-03.03.06/src/dynbuf.c 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/dynbuf.c 2021-05-10 22:53:16.000000000 +0200 @@ -6,7 +6,7 @@ /* buffers. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/dynbuf.h new/remind-03.03.07/src/dynbuf.h --- old/remind-03.03.06/src/dynbuf.h 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/dynbuf.h 2021-05-10 22:53:16.000000000 +0200 @@ -5,7 +5,7 @@ /* Declaration of functions for manipulating dynamic buffers */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/err.h new/remind-03.03.07/src/err.h --- old/remind-03.03.06/src/err.h 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/err.h 2021-05-10 22:53:16.000000000 +0200 @@ -5,7 +5,7 @@ /* Error definitions. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/expr.c new/remind-03.03.07/src/expr.c --- old/remind-03.03.06/src/expr.c 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/expr.c 2021-05-10 22:53:16.000000000 +0200 @@ -5,7 +5,7 @@ /* This file contains routines to parse and evaluate */ /* expressions. */ /* */ -/* Copyright 1992-2020 by Dianne Skoll */ +/* Copyright 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/files.c new/remind-03.03.07/src/files.c --- old/remind-03.03.06/src/files.c 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/files.c 2021-05-10 22:53:16.000000000 +0200 @@ -7,7 +7,7 @@ /* files. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/funcs.c new/remind-03.03.07/src/funcs.c --- old/remind-03.03.06/src/funcs.c 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/funcs.c 2021-05-10 22:53:16.000000000 +0200 @@ -6,7 +6,7 @@ /* expressions. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/globals.c new/remind-03.03.07/src/globals.c --- old/remind-03.03.06/src/globals.c 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/globals.c 2021-05-10 22:53:16.000000000 +0200 @@ -8,7 +8,7 @@ /* globals.h and err.h */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/globals.h new/remind-03.03.07/src/globals.h --- old/remind-03.03.06/src/globals.h 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/globals.h 2021-05-10 22:53:16.000000000 +0200 @@ -7,7 +7,7 @@ /* MK_GLOBALS. Also contains useful macro definitions. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/hbcal.c new/remind-03.03.07/src/hbcal.c --- old/remind-03.03.06/src/hbcal.c 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/hbcal.c 2021-05-10 22:53:16.000000000 +0200 @@ -5,7 +5,7 @@ /* Support for the Hebrew calendar */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /* Derived from code written by Amos Shapir in 1978; revised */ /* 1985. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/init.c new/remind-03.03.07/src/init.c --- old/remind-03.03.06/src/init.c 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/init.c 2021-05-10 22:53:16.000000000 +0200 @@ -7,7 +7,7 @@ /* in normal mode. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ @@ -649,7 +649,7 @@ #ifndef L_USAGE_OVERRIDE void Usage(void) { - fprintf(ErrFp, "\nREMIND %s (%s version) Copyright 1992-2020 Dianne Skoll\n", VERSION, L_LANGNAME); + fprintf(ErrFp, "\nREMIND %s (%s version) Copyright 1992-2021 Dianne Skoll\n", VERSION, L_LANGNAME); #ifdef BETA fprintf(ErrFp, ">>>> BETA VERSION <<<<\n"); #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/lang.h new/remind-03.03.07/src/lang.h --- old/remind-03.03.06/src/lang.h 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/lang.h 2021-05-10 22:53:16.000000000 +0200 @@ -5,7 +5,7 @@ /* Header file for language support for various languages. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/langs/danish.h new/remind-03.03.07/src/langs/danish.h --- old/remind-03.03.06/src/langs/danish.h 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/langs/danish.h 2021-05-10 22:53:16.000000000 +0200 @@ -6,7 +6,7 @@ /* */ /* This file is part of REMIND. */ /* */ -/* REMIND is Copyright (C) 1992-2020 by Dianne Skoll */ +/* REMIND is Copyright (C) 1992-2021 by Dianne Skoll */ /* This file is Copyright (C) 1993 by Mogens Lynnerup. */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/langs/dutch.h new/remind-03.03.07/src/langs/dutch.h --- old/remind-03.03.06/src/langs/dutch.h 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/langs/dutch.h 2021-05-10 22:53:16.000000000 +0200 @@ -11,7 +11,7 @@ /* Further corrections by Erik-Jan Vens */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/langs/english.h new/remind-03.03.07/src/langs/english.h --- old/remind-03.03.06/src/langs/english.h 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/langs/english.h 2021-05-10 22:53:16.000000000 +0200 @@ -5,7 +5,7 @@ /* Support for the English language. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/langs/finnish.h new/remind-03.03.07/src/langs/finnish.h --- old/remind-03.03.06/src/langs/finnish.h 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/langs/finnish.h 2021-05-10 22:53:16.000000000 +0200 @@ -11,7 +11,7 @@ /* */ /* This file is part of REMIND. */ /* This file is Copyright (C) 1993-1998 by Mikko Silvonen. */ -/* REMIND is Copyright (C) 1992-2020 by Dianne Skoll */ +/* REMIND is Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ @@ -527,7 +527,7 @@ #define L_USAGE_OVERRIDE 1 void Usage(void) { - fprintf(ErrFp, "\nREMIND %s (%s version) Copyright 1992-2020 Dianne Skoll\n", VERSION, L_LANGNAME); + fprintf(ErrFp, "\nREMIND %s (%s version) Copyright 1992-2021 Dianne Skoll\n", VERSION, L_LANGNAME); #ifdef BETA fprintf(ErrFp, ">>>> BETAVERSIO <<<<\n"); #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/langs/french.h new/remind-03.03.07/src/langs/french.h --- old/remind-03.03.06/src/langs/french.h 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/langs/french.h 2021-05-10 22:53:16.000000000 +0200 @@ -8,7 +8,7 @@ /* */ /* This file is part of REMIND. */ /* */ -/* REMIND is Copyright (C) 1992-2020 by Dianne Skoll */ +/* REMIND is Copyright (C) 1992-2021 by Dianne Skoll */ /* This file is Copyright (C) 1993 by Laurent Duperval and */ /* Dianne Skoll. */ /* */ @@ -359,7 +359,7 @@ #define L_USAGE_OVERRIDE 1 void Usage(void) { - fprintf(ErrFp, "\nREMIND %s (%s version) Copyright 1992-2020 Dianne Skoll\n", VERSION, L_LANGNAME); + fprintf(ErrFp, "\nREMIND %s (%s version) Copyright 1992-2021 Dianne Skoll\n", VERSION, L_LANGNAME); #ifdef BETA fprintf(ErrFp, ">>>> BETA VERSION <<<<\n"); #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/langs/german.h new/remind-03.03.07/src/langs/german.h --- old/remind-03.03.06/src/langs/german.h 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/langs/german.h 2021-05-10 22:53:16.000000000 +0200 @@ -9,7 +9,7 @@ /* I don't speak German. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/langs/icelandic.h new/remind-03.03.07/src/langs/icelandic.h --- old/remind-03.03.06/src/langs/icelandic.h 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/langs/icelandic.h 2021-05-10 22:53:16.000000000 +0200 @@ -5,7 +5,7 @@ /* Support for the Icelandic language. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* Translated by Bj?rn Dav??sson ([email protected]) */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/langs/italian.h new/remind-03.03.07/src/langs/italian.h --- old/remind-03.03.06/src/langs/italian.h 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/langs/italian.h 2021-05-10 22:53:16.000000000 +0200 @@ -7,7 +7,7 @@ /* This file is part of REMIND. */ /* It is Copyright (C) 1996 by Valerio Aimale */ /* */ -/* Remind is copyright (C) 1992-2020 by Dianne Skoll */ +/* Remind is copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/langs/norwgian.h new/remind-03.03.07/src/langs/norwgian.h --- old/remind-03.03.06/src/langs/norwgian.h 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/langs/norwgian.h 2021-05-10 22:53:16.000000000 +0200 @@ -6,7 +6,7 @@ /* */ /* This file is part of REMIND. */ /* This file is Copyright (C) 1993 by Trygve Randen. */ -/* Remind is Copyright (C) 1992-2020 by Dianne Skoll */ +/* Remind is Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/langs/polish.h new/remind-03.03.07/src/langs/polish.h --- old/remind-03.03.06/src/langs/polish.h 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/langs/polish.h 2021-05-10 22:53:16.000000000 +0200 @@ -9,7 +9,7 @@ /* Polish. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ @@ -397,7 +397,7 @@ #define L_USAGE_OVERRIDE 1 void Usage(void) { - fprintf(ErrFp, "\nREMIND %s (%s version) Copyright 1992-2020 Dianne Skoll\n", VERSION, L_LANGNAME); + fprintf(ErrFp, "\nREMIND %s (%s version) Copyright 1992-2021 Dianne Skoll\n", VERSION, L_LANGNAME); #ifdef BETA fprintf(ErrFp, ">>>> BETA VERSION <<<<\n"); #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/langs/portbr.h new/remind-03.03.07/src/langs/portbr.h --- old/remind-03.03.06/src/langs/portbr.h 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/langs/portbr.h 2021-05-10 22:53:16.000000000 +0200 @@ -8,7 +8,7 @@ /* */ /* This file is part of REMIND. */ /* */ -/* REMIND is Copyright (C) 1992-2020 by Dianne Skoll */ +/* REMIND is Copyright (C) 1992-2021 by Dianne Skoll */ /* This file is Copyright (C) 1996 by Marco Paganini and */ /* Dianne Skoll. */ /* */ @@ -257,7 +257,7 @@ #define L_USAGE_OVERRIDE 1 void Usage(void) { - fprintf(ErrFp, "\nREMIND %s (versao %s) (C) 1992-2020 Dianne Skoll\n", VERSION, L_LANGNAME); + fprintf(ErrFp, "\nREMIND %s (versao %s) (C) 1992-2021 Dianne Skoll\n", VERSION, L_LANGNAME); #ifdef BETA fprintf(ErrFp, ">>>> VERSAO BETA <<<<\n"); #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/langs/romanian.h new/remind-03.03.07/src/langs/romanian.h --- old/remind-03.03.06/src/langs/romanian.h 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/langs/romanian.h 2021-05-10 22:53:16.000000000 +0200 @@ -8,7 +8,7 @@ /* */ /* This file is part of REMIND. */ /* */ -/* REMIND is Copyright (C) 1992-2020 by Dianne Skoll */ +/* REMIND is Copyright (C) 1992-2021 by Dianne Skoll */ /* This file is Copyright (C) 1996-1998 by Liviu Daia */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/langs/spanish.h new/remind-03.03.07/src/langs/spanish.h --- old/remind-03.03.06/src/langs/spanish.h 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/langs/spanish.h 2021-05-10 22:53:16.000000000 +0200 @@ -7,7 +7,7 @@ /* Author: Rafa Couto <[email protected]> */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/main.c new/remind-03.03.07/src/main.c --- old/remind-03.03.06/src/main.c 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/main.c 2021-05-10 22:53:16.000000000 +0200 @@ -6,7 +6,7 @@ /* routines, etc. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/moon.c new/remind-03.03.07/src/moon.c --- old/remind-03.03.06/src/moon.c 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/moon.c 2021-05-10 22:53:16.000000000 +0200 @@ -5,7 +5,7 @@ /* Calculations for figuring out moon phases. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/omit.c new/remind-03.03.07/src/omit.c --- old/remind-03.03.06/src/omit.c 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/omit.c 2021-05-10 22:53:16.000000000 +0200 @@ -6,7 +6,7 @@ /* the data structures for OMITted dates. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/protos.h new/remind-03.03.07/src/protos.h --- old/remind-03.03.06/src/protos.h 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/protos.h 2021-05-10 22:53:16.000000000 +0200 @@ -5,7 +5,7 @@ /* Function Prototypes. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/queue.c new/remind-03.03.07/src/queue.c --- old/remind-03.03.06/src/queue.c 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/queue.c 2021-05-10 22:53:16.000000000 +0200 @@ -5,7 +5,7 @@ /* Queue up reminders for subsequent execution. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/sort.c new/remind-03.03.07/src/sort.c --- old/remind-03.03.06/src/sort.c 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/sort.c 2021-05-10 22:53:16.000000000 +0200 @@ -5,7 +5,7 @@ /* Routines for sorting reminders by trigger date */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/token.c new/remind-03.03.07/src/token.c --- old/remind-03.03.06/src/token.c 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/token.c 2021-05-10 22:53:16.000000000 +0200 @@ -6,7 +6,7 @@ /* classifying the tokens parsed. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/trigger.c new/remind-03.03.07/src/trigger.c --- old/remind-03.03.06/src/trigger.c 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/trigger.c 2021-05-10 22:53:16.000000000 +0200 @@ -5,7 +5,7 @@ /* Routines for figuring out the trigger date of a reminder */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ @@ -24,6 +24,8 @@ #define GOT_YR 4 #define GOT_WD 8 +#define ADVANCE_TO_WD(x, wd) while (! ((wd) & (1 << ((x)%7)))) (x)++ + static int JYear(int jul); static int JMonth(int jul); static int NextSimpleTrig(int startdate, Trigger *trig, int *err); @@ -58,9 +60,10 @@ if (trig->wd != NO_WD) typ |= GOT_WD; switch(typ) { case 0: + return startdate; + case GOT_WD: - if (trig->wd != NO_WD) - while(! (trig->wd & (1 << (startdate%7)))) startdate++; + ADVANCE_TO_WD(startdate, trig->wd); return startdate; case GOT_DAY: @@ -83,12 +86,12 @@ else return -1; case GOT_DAY+GOT_MON: - if (m > trig->m || (m == trig->m && d > trig->d)) y++; if (trig->d > MonthDays[trig->m]) { *err = E_BAD_DATE; return -1; } + if (m > trig->m || (m == trig->m && d > trig->d)) y++; /* Take care of Feb. 29 */ while (trig->d > DaysInMonth(trig->m, y)) y++; return Julian(y, trig->m, trig->d); @@ -121,19 +124,19 @@ if (y > trig->y) return -1; if (y < trig->y) j = Julian(trig->y, 0, 1); else j = startdate; - while(! (trig->wd & (1 << (j%7)))) j++; + ADVANCE_TO_WD(j, trig->wd); if (JYear(j) > trig->y) return -1; return j; case GOT_MON+GOT_WD: if (m == trig->m) { j = startdate; - while(! (trig->wd & (1 << (j%7)))) j++; + ADVANCE_TO_WD(j, trig->wd); if (JMonth(j) == trig->m) return j; } if (m >= trig->m) j = Julian(y+1, trig->m, 1); else j = Julian(y, trig->m, 1); - while(! (trig->wd & (1 << (j%7)))) j++; + ADVANCE_TO_WD(j, trig->wd); return j; /* Guaranteed to be within the month */ case GOT_DAY+GOT_WD: @@ -144,7 +147,7 @@ /* If there are fewer days in previous month, no match */ if (trig->d <= DaysInMonth(m2, y2)) { j = Julian(y2, m2, trig->d); - while(! (trig->wd & (1 << (j%7)))) j++; + ADVANCE_TO_WD(j, trig->wd); if (j >= startdate) return j; } @@ -153,7 +156,7 @@ /* Try this month */ if (trig->d <= DaysInMonth(m, y)) { j = Julian(y, m, trig->d); - while(! (trig->wd & (1 << (j%7)))) j++; + ADVANCE_TO_WD(j, trig->wd); if (j >= startdate) return j; } @@ -162,18 +165,18 @@ if (m2 > 11) { m2 = 0; y++; } while (trig->d > DaysInMonth(m2, y)) m2++; j = Julian(y, m2, trig->d); - while(! (trig->wd & (1 << (j%7)))) j++; + ADVANCE_TO_WD(j, trig->wd); return j; case GOT_WD+GOT_YR+GOT_DAY: if (y > trig->y+1 || (y > trig->y && m>0)) return -1; if (y > trig->y) { j = Julian(trig->y, 11, trig->d); - while(! (trig->wd & (1 << (j%7)))) j++; + ADVANCE_TO_WD(j, trig->wd); if (j >= startdate) return j; } else if (y < trig->y) { j = Julian(trig->y, 0, trig->d); - while(! (trig->wd & (1 << (j%7)))) j++; + ADVANCE_TO_WD(j, trig->wd); return j; } else { /* Try last month */ @@ -181,14 +184,16 @@ m2 = m-1; while (trig->d > DaysInMonth(m2, trig->y)) m2--; j = Julian(trig->y, m2, trig->d); - while(! (trig->wd & (1 << (j%7)))) j++; + ADVANCE_TO_WD(j, trig->wd); + if (JYear(j) > trig->y) return -1; if (j >= startdate) return j; } } /* Try this month */ if (trig->d <= DaysInMonth(m, trig->y)) { j = Julian(trig->y, m, trig->d); - while(! (trig->wd & (1 << (j%7)))) j++; + ADVANCE_TO_WD(j, trig->wd); + if (JYear(j) > trig->y) return -1; if (j >= startdate) return j; } @@ -197,7 +202,8 @@ m++; while (trig->d > DaysInMonth(m, trig->d)) m++; j = Julian(trig->y, m, trig->d); - while(! (trig->wd & (1 << (j%7)))) j++; + ADVANCE_TO_WD(j, trig->wd); + if (JYear(j) > trig->y) return -1; return j; case GOT_DAY+GOT_MON+GOT_WD: @@ -215,31 +221,32 @@ /* Try last year */ j = Julian(y, trig->m, trig->d); - while(! (trig->wd & (1 << (j%7)))) j++; + ADVANCE_TO_WD(j, trig->wd); if (j >= startdate) return j; /* Try this year */ y++; + while (trig->d > DaysInMonth(trig->m, y)) y++; j = Julian(y, trig->m, trig->d); - while(! (trig->wd & (1 << (j%7)))) j++; + ADVANCE_TO_WD(j, trig->wd); if (j >= startdate) return j; /* Must be next year */ y++; while (trig->d > DaysInMonth(trig->m, y)) y++; j = Julian(y, trig->m, trig->d); - while(! (trig->wd & (1 << (j%7)))) j++; + ADVANCE_TO_WD(j, trig->wd); return j; case GOT_WD+GOT_MON+GOT_YR: if (y > trig->y || (y == trig->y && m > trig->m)) return -1; if (trig->y > y || (trig->y == y && trig->m > m)) { j = Julian(trig->y, trig->m, 1); - while(! (trig->wd & (1 << (j%7)))) j++; + ADVANCE_TO_WD(j, trig->wd); return j; } else { j = startdate; - while(! (trig->wd & (1 << (j%7)))) j++; + ADVANCE_TO_WD(j, trig->wd); FromJulian(j, &y2, &m2, &d2); if (m2 == trig->m) return j; else return -1; } @@ -250,7 +257,7 @@ return -1; } j = Julian(trig->y, trig->m, trig->d); - while(! (trig->wd & (1 << (j%7)))) j++; + ADVANCE_TO_WD(j, trig->wd); return j; default: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/types.h new/remind-03.03.07/src/types.h --- old/remind-03.03.06/src/types.h 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/types.h 2021-05-10 22:53:16.000000000 +0200 @@ -5,7 +5,7 @@ /* Type definitions all dumped here. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/userfns.c new/remind-03.03.07/src/userfns.c --- old/remind-03.03.06/src/userfns.c 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/userfns.c 2021-05-10 22:53:16.000000000 +0200 @@ -6,7 +6,7 @@ /* functions. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/utils.c new/remind-03.03.07/src/utils.c --- old/remind-03.03.06/src/utils.c 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/utils.c 2021-05-10 22:53:16.000000000 +0200 @@ -5,7 +5,7 @@ /* Useful utility functions. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/src/var.c new/remind-03.03.07/src/var.c --- old/remind-03.03.06/src/var.c 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/src/var.c 2021-05-10 22:53:16.000000000 +0200 @@ -6,7 +6,7 @@ /* user- and system-defined variables. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-2020 by Dianne Skoll */ +/* Copyright (C) 1992-2021 by Dianne Skoll */ /* */ /***************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/tests/test-rem new/remind-03.03.07/tests/test-rem --- old/remind-03.03.06/tests/test-rem 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/tests/test-rem 2021-05-10 22:53:16.000000000 +0200 @@ -7,13 +7,22 @@ # in the build directory. # # This file is part of REMIND. -# Copyright (C) 1992-2018 Dianne Skoll +# Copyright (C) 1992-2021 Dianne Skoll # --------------------------------------------------------------------------- DIR=`dirname $0` cd $DIR if test $? != 0 ; then + echo "" echo "Unable to cd $DIR" >&2 + echo "" + exit 1 +fi + +if test `id -u` = 0 ; then + echo "" + echo "*** Please do not run the test suite as root; it will fail." + echo "" exit 1 fi @@ -56,6 +65,14 @@ chmod 644 include_dir/04cantread.rem +# Feb 29 bug +echo "Feb 29 Bug Test" >> ../tests/test.out +echo 'REM Sun 29 Feb MSG [$T]' | ../src/remind -dt - 1 feb 2021 >> ../tests/test.out 2>&1 + +# Day Weekday Year out-of-year bug +echo "Mon 31 Dec Bug Test" >> ../tests/test.out +echo 'REM Mon 31 2021 MSG [$T]' | ../src/remind -dt - 31 dec 2021 >> ../tests/test.out 2>&1 + echo "Color Test" >> ../tests/test.out ../src/remind -ccl ../tests/colors.rem 1 aug 2007 >> ../tests/test.out 2>&1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/remind-03.03.06/tests/test.cmp new/remind-03.03.07/tests/test.cmp --- old/remind-03.03.06/tests/test.cmp 2021-03-30 22:34:24.000000000 +0200 +++ new/remind-03.03.07/tests/test.cmp 2021-05-10 22:53:16.000000000 +0200 @@ -857,7 +857,7 @@ "a05" + "6" => "a056" value("a056") => "SDFJHSDF KSJDFH KJSDFH KSJDFH" set a058 version() -version() => "03.03.06" +version() => "03.03.07" set a059 wkday(today()) today() => 1991-02-16 wkday(1991-02-16) => "Saturday" @@ -2426,7 +2426,7 @@ a109 2012-01-01 a128 2018-02-03@16:45 a039 "February" -a058 "03.03.06" +a058 "03.03.07" a077 "1992 92 " a096 -4 @@ -4240,6 +4240,12 @@ # fileinfo 5 ../tests/include_test.rem 2007/08/15 * * * * Whee!!!! # rem2ps end +Feb 29 Bug Test +-(1): Trig = Sunday, 3 March, 2024 +No reminders. +Mon 31 Dec Bug Test +-(1): Expired +No reminders. Color Test (0lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk(B (0x(B August 2007 (0x(B ++++++ remind-3.3.6-rpmlintrc -> remind-3.3.7-rpmlintrc ++++++
