Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package remind for openSUSE:Factory checked 
in at 2022-12-16 17:52:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/remind (Old)
 and      /work/SRC/openSUSE:Factory/.remind.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "remind"

Fri Dec 16 17:52:12 2022 rev:31 rq:1043298 version:4.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/remind/remind.changes    2022-10-22 
14:13:59.372866326 +0200
+++ /work/SRC/openSUSE:Factory/.remind.new.1835/remind.changes  2022-12-16 
17:52:18.084232218 +0100
@@ -1,0 +2,31 @@
+Fri Dec 16 08:57:42 UTC 2022 - Detlef Steuer <detlef.ste...@gmx.de>
+
+- VERSION 4.2 Patch 1 - 2022-12-15
+
+- MINOR IMPROVEMENT: TkRemind: If "Extra Remind Options" contains -m, make
+  TkRemind start the calendar with Monday instead of Sunday.
+
+- MINOR IMPROVEMENT: Sample files: Add French holidays courtesy of
+  Clément Bœsch.
+
+- MINOR IMPROVEMENT: A few performance fixes, likely not even noticeable in
+  most cases.
+
+- MINOR FIXES: Fix misleading comments in the source code.
+
+- MINOR FIX: Remove a bunch of dead code in the moon-phase routines.
+
+- MINOR FIX: Remove unnecessary %"...%" markers in holidays/us.rem
+
+- MINOR FIX: Don't use the -ffat-lto-objects if we're compiling with Clang.
+
+- MINOR FIX: Remind: Fix a broken printf-format string (need to double up on %
+  to get a literal % in the output.)
+
+- BUG FIX: Make test suite pass regardless of the date on which it is run.
+  D'oh!!!
+
+- BUG FIX: Make sure the banner gets printed each time through a "*N"
+  command-line option loop.
+
+-------------------------------------------------------------------

Old:
----
  remind-04.02.00.tar.gz

New:
----
  remind-04.02.01.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ remind.spec ++++++
--- /var/tmp/diff_new_pack.ThN2UL/_old  2022-12-16 17:52:18.548234772 +0100
+++ /var/tmp/diff_new_pack.ThN2UL/_new  2022-12-16 17:52:18.556234816 +0100
@@ -17,9 +17,9 @@
 
 
 Name:           remind
-Version:        4.2.0
+Version:        4.2.1
 Release:        0
-%define tar_version 04.02.00
+%define tar_version 04.02.01
 Summary:        A sophisticated calendar and alarm program
 License:        GPL-2.0-only
 Group:          Productivity/Office/Organizers
@@ -90,6 +90,7 @@
 %dir /usr/share/remind/site
 /usr/share/remind/ansitext.rem
 /usr/share/remind/holidays/ca.rem
+/usr/share/remind/holidays/fr.rem
 /usr/share/remind/holidays/jewish.rem
 /usr/share/remind/holidays/us.rem
 /usr/share/remind/lang/auto.rem

++++++ remind-04.02.00.tar.gz -> remind-04.02.01.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remind-04.02.00/README new/remind-04.02.01/README
--- old/remind-04.02.00/README  2022-10-14 17:06:27.000000000 +0200
+++ new/remind-04.02.01/README  2022-12-15 15:34:02.000000000 +0100
@@ -64,6 +64,15 @@
 - On Arch Linux, you need tk and tcllib.  The latter is available at
   https://aur.archlinux.org/packages/tcllib
 
+If the little arrows for "Previous Month" and "Next Month" do not display
+correctly in TkRemind, you may need to install the Noto Fonts.  Install
+all of your distribution's Nonto Font-related packages.
+
+- On Debian-like systems, install with:
+
+    apt install fonts-noto-core fonts-noto-color-emoji \
+        fonts-noto-extra fonts-noto-ui-core fonts-noto-ui-extra
+
 ==========================================================================
 Contact info: mailto:dia...@skoll.ca
 Home page:    https://dianne.skoll.ca/projects/remind/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remind-04.02.00/configure 
new/remind-04.02.01/configure
--- old/remind-04.02.00/configure       2022-10-14 17:06:27.000000000 +0200
+++ new/remind-04.02.01/configure       2022-12-15 15:34:02.000000000 +0100
@@ -3975,7 +3975,14 @@
 if test "$GCC" = yes; then
        CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes"
         # Check for link-time optimization support
-        for f in -flto=auto -ffat-lto-objects; do
+        f=-flto=auto
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports 
$f" >&5
+$as_echo_n "checking whether $CC supports $f... " >&6; }
+        if $CC -E $f /dev/null > /dev/null 2>&1 ; then
+            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+            CFLAGS="$CFLAGS $f"
+            f=-ffat-lto-objects
             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC 
supports $f" >&5
 $as_echo_n "checking whether $CC supports $f... " >&6; }
             if $CC -E $f /dev/null > /dev/null 2>&1 ; then
@@ -3986,7 +3993,10 @@
                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
             fi
-        done
+        else
+            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+        fi
 fi
 
 if test "$ac_cv_perlartifacts" = "yes" ; then
@@ -4015,7 +4025,7 @@
 fi
 done
 
-VERSION=04.02.00
+VERSION=04.02.01
 
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remind-04.02.00/configure.in 
new/remind-04.02.01/configure.in
--- old/remind-04.02.00/configure.in    2022-10-14 17:06:27.000000000 +0200
+++ new/remind-04.02.01/configure.in    2022-12-15 15:34:02.000000000 +0100
@@ -47,7 +47,12 @@
 if test "$GCC" = yes; then
        CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes"
         # Check for link-time optimization support
-        for f in -flto=auto -ffat-lto-objects; do
+        f=-flto=auto
+        AC_MSG_CHECKING([whether $CC supports $f])
+        if $CC -E $f /dev/null > /dev/null 2>&1 ; then
+            AC_MSG_RESULT([yes])
+            CFLAGS="$CFLAGS $f"
+            f=-ffat-lto-objects
             AC_MSG_CHECKING([whether $CC supports $f])
             if $CC -E $f /dev/null > /dev/null 2>&1 ; then
                 AC_MSG_RESULT([yes])
@@ -55,7 +60,9 @@
             else
                 AC_MSG_RESULT([no])
             fi
-        done
+        else
+            AC_MSG_RESULT([no])
+        fi
 fi
 
 if test "$ac_cv_perlartifacts" = "yes" ; then
@@ -73,7 +80,7 @@
     exit 1
 fi
 AC_CHECK_FUNCS(setenv unsetenv glob mbstowcs setlocale initgroups)
-VERSION=04.02.00
+VERSION=04.02.01
 AC_SUBST(VERSION)
 AC_SUBST(PERL)
 AC_SUBST(PERLARTIFACTS)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remind-04.02.00/docs/WHATSNEW 
new/remind-04.02.01/docs/WHATSNEW
--- old/remind-04.02.00/docs/WHATSNEW   2022-10-14 17:06:27.000000000 +0200
+++ new/remind-04.02.01/docs/WHATSNEW   2022-12-15 15:34:02.000000000 +0100
@@ -1,5 +1,33 @@
 CHANGES TO REMIND
 
+* VERSION 4.2 Patch 1 - 2022-12-15
+
+- MINOR IMPROVEMENT: TkRemind: If "Extra Remind Options" contains -m, make
+  TkRemind start the calendar with Monday instead of Sunday.
+
+- MINOR IMPROVEMENT: Sample files: Add French holidays courtesy of
+  Clément Bœsch.
+
+- MINOR IMPROVEMENT: A few performance fixes, likely not even noticeable in
+  most cases.
+
+- MINOR FIXES: Fix misleading comments in the source code.
+
+- MINOR FIX: Remove a bunch of dead code in the moon-phase routines.
+
+- MINOR FIX: Remove unnecessary %"...%" markers in holidays/us.rem
+
+- MINOR FIX: Don't use the -ffat-lto-objects if we're compiling with Clang.
+
+- MINOR FIX: Remind: Fix a broken printf-format string (need to double up on %
+  to get a literal % in the output.)
+
+- BUG FIX: Make test suite pass regardless of the date on which it is run.
+  D'oh!!!
+
+- BUG FIX: Make sure the banner gets printed each time through a "*N"
+  command-line option loop.
+
 * VERSION 4.2 Patch 0 - 2022-10-14
 
 - NEW FEATURE: remind: Allow weekdays to be globally-omitted.  For example:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remind-04.02.00/include/holidays/fr.rem 
new/remind-04.02.01/include/holidays/fr.rem
--- old/remind-04.02.00/include/holidays/fr.rem 1970-01-01 01:00:00.000000000 
+0100
+++ new/remind-04.02.01/include/holidays/fr.rem 2022-12-15 15:34:02.000000000 
+0100
@@ -0,0 +1,20 @@
+#
+# France Holidays
+#
+# Source: Article L3133-1
+#   
https://www.legifrance.gouv.fr/codes/section_lc/LEGITEXT000006072050/LEGISCTA000006178007/2016-08-10/
+#
+
+SET easter EASTERDATE($Uy)
+
+REM Jan  1      MSG %"Jour de l'an%"
+REM [easter+1]  MSG %"Lundi de Pâques%"
+REM May  1      MSG %"Fête du Travail%"
+REM May  8      MSG %"Victoire des alliés%"
+REM [easter+39] MSG %"Jeudi de l'Ascension%"
+REM [easter+50] MSG %"Lundi de Pentecôte%"
+REM Jul 14      MSG %"Fête nationale%"
+REM Aug 15      MSG %"Assomption%"
+REM Nov  1      MSG %"La Toussaint%"
+REM Nov 11      MSG %"Armistice%"
+REM Dec 25      MSG %"Noël%"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remind-04.02.00/include/holidays/us.rem 
new/remind-04.02.01/include/holidays/us.rem
--- old/remind-04.02.00/include/holidays/us.rem 2022-10-14 17:06:27.000000000 
+0200
+++ new/remind-04.02.01/include/holidays/us.rem 2022-12-15 15:34:02.000000000 
+0100
@@ -2,22 +2,22 @@
 # This file is part of REMIND.
 # Copyright (C) 1992-2022 Dianne Skoll
 
-REM  [easterdate($Uy)-46] MSG %"Ash Wednesday%"
-REM  [easterdate($Uy)-7]  MSG %"Palm Sunday%"
-OMIT [easterdate($Uy)-2]  MSG %"Good Friday%"
+REM  [easterdate($Uy)-46] MSG Ash Wednesday
+REM  [easterdate($Uy)-7]  MSG Palm Sunday
+OMIT [easterdate($Uy)-2]  MSG Good Friday
 OMIT [easterdate($Uy)]    MSG %"Easter%" Sunday
-REM  [easterdate($Uy)+39] MSG %"Ascension Day%"
-REM  [easterdate($Uy)+49] MSG %"Pentecost%"
+REM  [easterdate($Uy)+39] MSG Ascension Day
+REM  [easterdate($Uy)+49] MSG Pentecost
 
 # Some holidays are omitted, some are not.  You may want to change
 # which ones are omitted.
 
-OMIT Jan 1 MSG %"New Year's Day%"
+OMIT Jan 1 MSG New Year's Day
 REM Third Monday in Jan MSG Martin Luther King - %"MLK Day%"
-REM Feb 2 MSG %"Ground Hog Day%"
-REM Feb 14 MSG %"Valentine's Day%"
-REM Third Monday in Feb SCANFROM -7 ADDOMIT MSG %"President's Day%"
-REM Mar 17 MSG %"St. Patrick's Day%"
+REM Feb 2 MSG Ground Hog Day
+REM Feb 14 MSG Valentine's Day
+REM Third Monday in Feb SCANFROM -7 ADDOMIT MSG President's Day
+REM Mar 17 MSG St. Patrick's Day
 
 # These are accurate for most places in North America
 REM MAYBE-UNCOMPUTABLE Sun November SATISFY [isdst($T) != isdst($T+1)] MSG 
Daylight Saving Time Ends
@@ -25,30 +25,30 @@
 
 REM Apr 1 MSG %"April Fool's%" Day
 REM Mon Tue Wed Thu Fri Sat 15 Apr MSG %"Income tax%" due
-REM May 5 MSG %"Cinco de Mayo%"
-REM First Sat in May MSG %"Kentucky Derby%"
-REM Second Sun in May MSG %"Mother's Day%"
-REM Third Sat in May MSG %"Armed Forces Day%"
-REM Last Monday in May SCANFROM -7 ADDOMIT MSG %"Memorial Day%"
-REM Jun 14 MSG %"Flag Day%"
+REM May 5 MSG Cinco de Mayo
+REM First Sat in May MSG Kentucky Derby
+REM Second Sun in May MSG Mother's Day
+REM Third Sat in May MSG Armed Forces Day
+REM Last Monday in May SCANFROM -7 ADDOMIT MSG Memorial Day
+REM Jun 14 MSG Flag Day
 
 REM July 4 SCANFROM -7 ADDOMIT MSG Independence Day
 REM July 3 SCANFROM -7 ADDOMIT SATISFY [$Tw == 5] MSG Independence Day 
(observed)
 REM July 5 SCANFROM -7 ADDOMIT SATISFY [$Tw == 1] MSG Independence Day 
(observed)
 
-REM Third Sun in June MSG %"Father's Day%"
-REM First Mon in Sep SCANFROM -7 ADDOMIT MSG %"Labor Day%"
-REM Second Mon in Oct MSG %"Columbus Day / Indigenous Peoples' Day%"
-REM Nov 11 MSG %"Veterans Day%"
+REM Third Sun in June MSG Father's Day
+REM First Mon in Sep SCANFROM -7 ADDOMIT MSG Labor Day
+REM Second Mon in Oct MSG Columbus Day / Indigenous Peoples' Day
+REM Nov 11 MSG Veterans Day
 
-REM Oct 30 MSG %"Mischief Night%"
-REM Oct 31 MSG %"Halloween%"
+REM Oct 30 MSG Mischief Night
+REM Oct 31 MSG Halloween
 
-REM Tue Nov  2 SCANFROM -7 SATISFY [($Ty % 4) == 0] MSG %"Election Day%"
+REM Tue Nov  2 SCANFROM -7 SATISFY [($Ty % 4) == 0] MSG Election Day
 
-REM Thu 22 Nov SCANFROM -7 ADDOMIT MSG %"Thanksgiving Day%"
+REM Thu 22 Nov SCANFROM -7 ADDOMIT MSG Thanksgiving Day
 
-REM Fri 23 Nov SCANFROM -7 ADDOMIT MSG %"Thanksgiving (cont.)%"
+REM Fri 23 Nov SCANFROM -7 ADDOMIT MSG Thanksgiving (cont.)
 
-REM Dec 24 MSG %"Christmas Eve%"
+REM Dec 24 MSG Christmas Eve
 OMIT Dec 25 MSG %"Christmas%" Day
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remind-04.02.00/scripts/tkremind 
new/remind-04.02.01/scripts/tkremind
--- old/remind-04.02.00/scripts/tkremind        2022-10-14 17:06:27.000000000 
+0200
+++ new/remind-04.02.01/scripts/tkremind        2022-12-15 15:34:02.000000000 
+0100
@@ -955,6 +955,7 @@
 #***********************************************************************
 proc LoadOptions {} {
     global Option ConfigFile
+    global MondayFirst
     set problem [catch {set f [open "$ConfigFile" "r"]}]
     if {$problem} {
        return
@@ -974,6 +975,9 @@
         set Option($key) $val
     }
     close $f
+    if {[regexp -- {-m.*} $Option(ExtraRemindArgs)]} {
+       set MondayFirst 1
+    }
     font configure CalboxFont {*}$Option(CalboxFont)
     font configure HeadingFont {*}$Option(HeadingFont)
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remind-04.02.00/src/dosubst.c 
new/remind-04.02.01/src/dosubst.c
--- old/remind-04.02.00/src/dosubst.c   2022-10-14 17:06:27.000000000 +0200
+++ new/remind-04.02.01/src/dosubst.c   2022-12-15 15:34:02.000000000 +0100
@@ -244,7 +244,7 @@
                 }
             }
             if (!c) {
-                Wprint("Warning: Unterminated %{...} substitution sequence");
+                Wprint("Warning: Unterminated %%{...} substitution sequence");
             }
             if (UserFuncExists(s) != 3) {
                 continue;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remind-04.02.00/src/expr.c 
new/remind-04.02.01/src/expr.c
--- old/remind-04.02.00/src/expr.c      2022-10-14 17:06:27.000000000 +0200
+++ new/remind-04.02.01/src/expr.c      2022-12-15 15:34:02.000000000 +0100
@@ -1194,9 +1194,9 @@
 
 /***************************************************************/
 /*                                                             */
-/*  FindFunc                                                   */
+/*  FindOperator                                               */
 /*                                                             */
-/*  Find a function.                                           */
+/*  Find an operator.                                          */
 /*                                                             */
 /***************************************************************/
 Operator *FindOperator(char const *name, Operator where[], int num)
@@ -1205,7 +1205,7 @@
     int mid, r;
     while (top >= bot) {
        mid = (top + bot) / 2;
-       r = StrCmpi(name, where[mid].name);
+       r = strcmp(name, where[mid].name);
        if (!r) return &where[mid];
        else if (r > 0) bot = mid+1;
        else top = mid-1;
@@ -1213,6 +1213,20 @@
     return NULL;
 }
 
+/* Compare two strings case-insensitively, where we KNOW
+   that the second string is definitely lower-case */
+static int strcmp_lcfirst(char const *s1, char const *s2)
+{
+    int r;
+    while (*s1 && *s2) {
+       r = tolower(*s1) - *s2;
+       if (r) return r;
+       s1++;
+       s2++;
+    }
+    return tolower(*s1) - *s2;
+}
+
 /***************************************************************/
 /*                                                             */
 /*  FindFunc                                                   */
@@ -1226,7 +1240,7 @@
     int mid, r;
     while (top >= bot) {
        mid = (top + bot) / 2;
-       r = StrCmpi(name, where[mid].name);
+       r = strcmp_lcfirst(name, where[mid].name);
        if (!r) return &where[mid];
        else if (r > 0) bot = mid+1;
        else top = mid-1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remind-04.02.00/src/main.c 
new/remind-04.02.01/src/main.c
--- old/remind-04.02.00/src/main.c      2022-10-14 17:06:27.000000000 +0200
+++ new/remind-04.02.01/src/main.c      2022-12-15 15:34:02.000000000 +0100
@@ -176,6 +176,8 @@
     Parser p;
     int purge_handled;
 
+    DidMsgReminder = 0;
+
     if (!UseStdin) {
        FileAccessDate = GetAccessDate(InitialFile);
     } else {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remind-04.02.00/src/moon.c 
new/remind-04.02.01/src/moon.c
--- old/remind-04.02.00/src/moon.c      2022-10-14 17:06:27.000000000 +0200
+++ new/remind-04.02.01/src/moon.c      2022-12-15 15:34:02.000000000 +0100
@@ -400,8 +400,8 @@
                    double *suangdia)
 {
 
-    double Day, N, M, Ec, Lambdasun, ml, MM, MN, Ev, Ae, A3, MmP,
-       mEc, A4, lP, V, lPP, NP, y, x, Lambdamoon,
+    double Day, N, M, Ec, Lambdasun, ml, MM, Ev, Ae, A3, MmP,
+       mEc, A4, lP, V, lPP,
        MoonAge, MoonPhase,
        MoonDist, MoonDFrac, MoonAng,
        F, SunDist, SunAng;
@@ -431,9 +431,6 @@
     /* Moon's mean anomaly */
     MM = fixangle(ml - 0.1114041 * Day - mmlongp);
 
-    /* Moon's ascending node mean longitude */
-    MN = fixangle(mlnode - 0.0529539 * Day);
-
     /* Evection */
     Ev = 1.2739 * sin(torad(2 * (ml - Lambdasun) - MM));
 
@@ -461,19 +458,6 @@
     /* 1 longitude */
     lPP = lP + V;
 
-    /* Corrected longitude of the node */
-    NP = MN - 0.16 * sin(torad(M));
-
-    /* Y inclination coordinate */
-    y = sin(torad(lPP - NP)) * cos(torad(minc));
-
-    /* X inclination coordinate */
-    x = cos(torad(lPP - NP));
-
-    /* Ecliptic longitude */
-    Lambdamoon = todeg(atan2(y, x));
-    Lambdamoon += NP;
-
     /* Calculation of the phase of the Moon */
 
     /* Age of the Moon in degrees */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remind-04.02.00/src/token.c 
new/remind-04.02.01/src/token.c
--- old/remind-04.02.00/src/token.c     2022-10-14 17:06:27.000000000 +0200
+++ new/remind-04.02.01/src/token.c     2022-12-15 15:34:02.000000000 +0100
@@ -355,7 +355,8 @@
     register int r;
     char const *tk = t->name;
     while(*tk && *s && !(*s == ',' && *(s+1) == 0)) {
-       r = tolower(*tk) - tolower(*s);
+        /* t->name is already lower-case */
+       r = *tk - tolower(*s);
        tk++;
        s++;
        if (r) return r;
@@ -363,5 +364,5 @@
     /* Ignore trailing commas on s */
 
     if (!*s || (*s == ',' && !*(s+1))) return 0;
-    return (tolower(*tk) - tolower(*s));
+    return (*tk - tolower(*s));
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remind-04.02.00/src/userfns.c 
new/remind-04.02.01/src/userfns.c
--- old/remind-04.02.00/src/userfns.c   2022-10-14 17:06:27.000000000 +0200
+++ new/remind-04.02.01/src/userfns.c   2022-12-15 15:34:02.000000000 +0100
@@ -55,7 +55,7 @@
 
 /***************************************************************/
 /*                                                             */
-/*  DoFset                                                     */
+/*  DoFunset                                                   */
 /*                                                             */
 /*  Undefine a user-defined function - the FUNSET command.     */
 /*                                                             */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remind-04.02.00/tests/test-rem 
new/remind-04.02.01/tests/test-rem
--- old/remind-04.02.00/tests/test-rem  2022-10-14 17:06:27.000000000 +0200
+++ new/remind-04.02.01/tests/test-rem  2022-12-15 15:34:02.000000000 +0100
@@ -398,6 +398,9 @@
 TZ=America/Toronto ../src/remind -dxe ../tests/tz.rem >> ../tests/test.out 2>&1
 TZ=Europe/Berlin ../src/remind -dxe ../tests/tz.rem >> ../tests/test.out 2>&1
 
+# Test that banner is printed on every iteration
+echo "MSG Should be three banners." | ../src/remind - 2022-10-20 '*3' >> 
../tests/test.out 2>&1
+
 # Remove references to SysInclude, which is build-specific
 grep -F -v '$SysInclude' < ../tests/test.out > ../tests/test.out.1 && mv -f 
../tests/test.out.1 ../tests/test.out
 cmp -s ../tests/test.out ../tests/test.cmp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remind-04.02.00/tests/test.cmp 
new/remind-04.02.01/tests/test.cmp
--- old/remind-04.02.00/tests/test.cmp  2022-10-14 17:06:27.000000000 +0200
+++ new/remind-04.02.01/tests/test.cmp  2022-12-15 15:34:02.000000000 +0100
@@ -1060,7 +1060,7 @@
 "a05" + "6" => "a056"
 value("a056") => "SDFJHSDF KSJDFH KJSDFH KSJDFH"
 set a058 version()
-version() => "04.02.00"
+version() => "04.02.01"
 set a059 wkday(today())
 today() => 1991-02-16
 wkday(1991-02-16) => "Saturday"
@@ -2627,7 +2627,7 @@
 a109  2012-01-01
 a128  2018-02-03@16:45
 a039  "February"
-a058  "04.02.00"
+a058  "04.02.01"
 a077  "1992 92\n"
 a096  -4
 a119  -1
@@ -10334,20 +10334,20 @@
 
 set a localtoutc('2022-01-01@12:00')
 localtoutc(2022-01-01@12:00) => 2022-01-01@17:00
-set a localtoutc('2022-03-13@02:59')
-localtoutc(2022-03-13@02:59) => 2022-03-13@07:59
-set a localtoutc('2022-03-13@03:00')
-localtoutc(2022-03-13@03:00) => 2022-03-13@07:00
-set a localtoutc('2022-03-13@03:01')
-localtoutc(2022-03-13@03:01) => 2022-03-13@07:01
+set a localtoutc('2022-03-13@03:59')
+localtoutc(2022-03-13@03:59) => 2022-03-13@07:59
+set a localtoutc('2022-03-13@04:00')
+localtoutc(2022-03-13@04:00) => 2022-03-13@08:00
+set a localtoutc('2022-03-13@04:01')
+localtoutc(2022-03-13@04:01) => 2022-03-13@08:01
 set a localtoutc('2022-06-01@12:00')
 localtoutc(2022-06-01@12:00) => 2022-06-01@16:00
-set a localtoutc('2022-11-06@01:59')
-localtoutc(2022-11-06@01:59) => 2022-11-06@05:59
-set a localtoutc('2022-11-06@02:00')
-localtoutc(2022-11-06@02:00) => 2022-11-06@07:00
-set a localtoutc('2022-11-06@02:01')
-localtoutc(2022-11-06@02:01) => 2022-11-06@07:01
+set a localtoutc('2022-11-06@02:59')
+localtoutc(2022-11-06@02:59) => 2022-11-06@07:59
+set a localtoutc('2022-11-06@03:00')
+localtoutc(2022-11-06@03:00) => 2022-11-06@08:00
+set a localtoutc('2022-11-06@03:01')
+localtoutc(2022-11-06@03:01) => 2022-11-06@08:01
 set a localtoutc('2022-12-01@12:00')
 localtoutc(2022-12-01@12:00) => 2022-12-01@17:00
 
@@ -10355,10 +10355,10 @@
 utctolocal(2022-01-01@17:00) => 2022-01-01@12:00
 set b utctolocal('2022-03-13@06:00')
 utctolocal(2022-03-13@06:00) => 2022-03-13@01:00
-set b utctolocal('2022-03-13@06:01')
-utctolocal(2022-03-13@06:01) => 2022-03-13@01:01
-set b utctolocal('2022-03-13@06:59')
-utctolocal(2022-03-13@06:59) => 2022-03-13@01:59
+set b utctolocal('2022-03-13@07:01')
+utctolocal(2022-03-13@07:01) => 2022-03-13@03:01
+set b utctolocal('2022-03-13@07:59')
+utctolocal(2022-03-13@07:59) => 2022-03-13@03:59
 set b utctolocal('2022-03-13@07:00')
 utctolocal(2022-03-13@07:00) => 2022-03-13@03:00
 set b utctolocal('2022-03-13@07:01')
@@ -10367,20 +10367,20 @@
 utctolocal(2022-03-13@07:59) => 2022-03-13@03:59
 set b utctolocal('2022-06-01@16:00')
 utctolocal(2022-06-01@16:00) => 2022-06-01@12:00
-set b utctolocal('2022-11-06@05:59')
-utctolocal(2022-11-06@05:59) => 2022-11-06@01:59
-set b utctolocal('2022-11-06@06:00')
-utctolocal(2022-11-06@06:00) => 2022-11-06@01:00
-set b utctolocal('2022-11-06@06:01')
-utctolocal(2022-11-06@06:01) => 2022-11-06@01:01
-set b utctolocal('2022-11-06@06:59')
-utctolocal(2022-11-06@06:59) => 2022-11-06@01:59
+set b utctolocal('2022-11-06@03:59')
+utctolocal(2022-11-06@03:59) => 2022-11-05@23:59
 set b utctolocal('2022-11-06@07:00')
 utctolocal(2022-11-06@07:00) => 2022-11-06@02:00
 set b utctolocal('2022-11-06@07:01')
 utctolocal(2022-11-06@07:01) => 2022-11-06@02:01
-set b utctolocal('2022-12-01@17:00')
-utctolocal(2022-12-01@17:00) => 2022-12-01@12:00
+set b utctolocal('2022-11-06@07:59')
+utctolocal(2022-11-06@07:59) => 2022-11-06@02:59
+set b utctolocal('2022-11-06@08:00')
+utctolocal(2022-11-06@08:00) => 2022-11-06@03:00
+set b utctolocal('2022-11-06@08:01')
+utctolocal(2022-11-06@08:01) => 2022-11-06@03:01
+set b utctolocal('2022-12-01@18:00')
+utctolocal(2022-12-01@18:00) => 2022-12-01@13:00
 
 set c timezone('2022-07-01')
 timezone(2022-07-01) => "EDT"
@@ -10392,20 +10392,20 @@
 
 set a localtoutc('2022-01-01@12:00')
 localtoutc(2022-01-01@12:00) => 2022-01-01@11:00
-set a localtoutc('2022-03-13@02:59')
-localtoutc(2022-03-13@02:59) => 2022-03-13@01:59
-set a localtoutc('2022-03-13@03:00')
-localtoutc(2022-03-13@03:00) => 2022-03-13@02:00
-set a localtoutc('2022-03-13@03:01')
-localtoutc(2022-03-13@03:01) => 2022-03-13@02:01
+set a localtoutc('2022-03-13@03:59')
+localtoutc(2022-03-13@03:59) => 2022-03-13@02:59
+set a localtoutc('2022-03-13@04:00')
+localtoutc(2022-03-13@04:00) => 2022-03-13@03:00
+set a localtoutc('2022-03-13@04:01')
+localtoutc(2022-03-13@04:01) => 2022-03-13@03:01
 set a localtoutc('2022-06-01@12:00')
 localtoutc(2022-06-01@12:00) => 2022-06-01@10:00
-set a localtoutc('2022-11-06@01:59')
-localtoutc(2022-11-06@01:59) => 2022-11-06@00:59
-set a localtoutc('2022-11-06@02:00')
-localtoutc(2022-11-06@02:00) => 2022-11-06@01:00
-set a localtoutc('2022-11-06@02:01')
-localtoutc(2022-11-06@02:01) => 2022-11-06@01:01
+set a localtoutc('2022-11-06@02:59')
+localtoutc(2022-11-06@02:59) => 2022-11-06@01:59
+set a localtoutc('2022-11-06@03:00')
+localtoutc(2022-11-06@03:00) => 2022-11-06@02:00
+set a localtoutc('2022-11-06@03:01')
+localtoutc(2022-11-06@03:01) => 2022-11-06@02:01
 set a localtoutc('2022-12-01@12:00')
 localtoutc(2022-12-01@12:00) => 2022-12-01@11:00
 
@@ -10413,10 +10413,10 @@
 utctolocal(2022-01-01@17:00) => 2022-01-01@18:00
 set b utctolocal('2022-03-13@06:00')
 utctolocal(2022-03-13@06:00) => 2022-03-13@07:00
-set b utctolocal('2022-03-13@06:01')
-utctolocal(2022-03-13@06:01) => 2022-03-13@07:01
-set b utctolocal('2022-03-13@06:59')
-utctolocal(2022-03-13@06:59) => 2022-03-13@07:59
+set b utctolocal('2022-03-13@07:01')
+utctolocal(2022-03-13@07:01) => 2022-03-13@08:01
+set b utctolocal('2022-03-13@07:59')
+utctolocal(2022-03-13@07:59) => 2022-03-13@08:59
 set b utctolocal('2022-03-13@07:00')
 utctolocal(2022-03-13@07:00) => 2022-03-13@08:00
 set b utctolocal('2022-03-13@07:01')
@@ -10425,20 +10425,20 @@
 utctolocal(2022-03-13@07:59) => 2022-03-13@08:59
 set b utctolocal('2022-06-01@16:00')
 utctolocal(2022-06-01@16:00) => 2022-06-01@18:00
-set b utctolocal('2022-11-06@05:59')
-utctolocal(2022-11-06@05:59) => 2022-11-06@06:59
-set b utctolocal('2022-11-06@06:00')
-utctolocal(2022-11-06@06:00) => 2022-11-06@07:00
-set b utctolocal('2022-11-06@06:01')
-utctolocal(2022-11-06@06:01) => 2022-11-06@07:01
-set b utctolocal('2022-11-06@06:59')
-utctolocal(2022-11-06@06:59) => 2022-11-06@07:59
+set b utctolocal('2022-11-06@03:59')
+utctolocal(2022-11-06@03:59) => 2022-11-06@04:59
 set b utctolocal('2022-11-06@07:00')
 utctolocal(2022-11-06@07:00) => 2022-11-06@08:00
 set b utctolocal('2022-11-06@07:01')
 utctolocal(2022-11-06@07:01) => 2022-11-06@08:01
-set b utctolocal('2022-12-01@17:00')
-utctolocal(2022-12-01@17:00) => 2022-12-01@18:00
+set b utctolocal('2022-11-06@07:59')
+utctolocal(2022-11-06@07:59) => 2022-11-06@08:59
+set b utctolocal('2022-11-06@08:00')
+utctolocal(2022-11-06@08:00) => 2022-11-06@09:00
+set b utctolocal('2022-11-06@08:01')
+utctolocal(2022-11-06@08:01) => 2022-11-06@09:01
+set b utctolocal('2022-12-01@18:00')
+utctolocal(2022-12-01@18:00) => 2022-12-01@19:00
 
 set c timezone('2022-07-01')
 timezone(2022-07-01) => "CEST"
@@ -10446,3 +10446,15 @@
 timezone(2022-12-01) => "CET"
 
 No reminders.
+Reminders for Thursday, 20th October, 2022:
+
+Should be three banners.
+
+Reminders for Friday, 21st October, 2022:
+
+Should be three banners.
+
+Reminders for Saturday, 22nd October, 2022:
+
+Should be three banners.
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remind-04.02.00/tests/tz.rem 
new/remind-04.02.01/tests/tz.rem
--- old/remind-04.02.00/tests/tz.rem    2022-10-14 17:06:27.000000000 +0200
+++ new/remind-04.02.01/tests/tz.rem    2022-12-15 15:34:02.000000000 +0100
@@ -1,30 +1,30 @@
 # Test conversion between local time and UTC
 
 set a localtoutc('2022-01-01@12:00')
-set a localtoutc('2022-03-13@02:59')
-set a localtoutc('2022-03-13@03:00')
-set a localtoutc('2022-03-13@03:01')
+set a localtoutc('2022-03-13@03:59')
+set a localtoutc('2022-03-13@04:00')
+set a localtoutc('2022-03-13@04:01')
 set a localtoutc('2022-06-01@12:00')
-set a localtoutc('2022-11-06@01:59')
-set a localtoutc('2022-11-06@02:00')
-set a localtoutc('2022-11-06@02:01')
+set a localtoutc('2022-11-06@02:59')
+set a localtoutc('2022-11-06@03:00')
+set a localtoutc('2022-11-06@03:01')
 set a localtoutc('2022-12-01@12:00')
 
 set b utctolocal('2022-01-01@17:00')
 set b utctolocal('2022-03-13@06:00')
-set b utctolocal('2022-03-13@06:01')
-set b utctolocal('2022-03-13@06:59')
+set b utctolocal('2022-03-13@07:01')
+set b utctolocal('2022-03-13@07:59')
 set b utctolocal('2022-03-13@07:00')
 set b utctolocal('2022-03-13@07:01')
 set b utctolocal('2022-03-13@07:59')
 set b utctolocal('2022-06-01@16:00')
-set b utctolocal('2022-11-06@05:59')
-set b utctolocal('2022-11-06@06:00')
-set b utctolocal('2022-11-06@06:01')
-set b utctolocal('2022-11-06@06:59')
+set b utctolocal('2022-11-06@03:59')
 set b utctolocal('2022-11-06@07:00')
 set b utctolocal('2022-11-06@07:01')
-set b utctolocal('2022-12-01@17:00')
+set b utctolocal('2022-11-06@07:59')
+set b utctolocal('2022-11-06@08:00')
+set b utctolocal('2022-11-06@08:01')
+set b utctolocal('2022-12-01@18:00')
 
 set c timezone('2022-07-01')
 set c timezone('2022-12-01')

Reply via email to