REMIND 2.2 Patch 04
David F. Skoll
dfs at doe.carleton.ca
Fri Nov 30 01:18:56 AEST 1990
This patch fixes a problem that should have been caught, had I been
using an ANSI-C compiler. In calendar.c, the function CreateCalEntry
is called with the wrong number of arguments. This patch also tidies
up the man page a bit more.
--
David Skoll
#!/bin/sh
# This is Remind-2.2-Patch.04, a shell archive (shar 3.32)
# made 11/29/1990 14:14 UTC by dfs at scotty
# Source directory /enterprise/transporter/dfs/work/.rem/remind-2.2
#
# existing files will NOT be overwritten
#
# This shar contains:
# length mode name
# ------ ---------- ------------------------------------------
# 1639 -rw------- patch.04
#
if touch 2>&1 | fgrep 'amc' > /dev/null
then TOUCH=touch
else TOUCH=true
fi
# ============= patch.04 ==============
if test X"$1" != X"-c" -a -f 'patch.04'; then
echo "File already exists: skipping 'patch.04'"
else
echo "x - extracting patch.04 (Text)"
sed 's/^X//' << 'SHAR_EOF' > patch.04 &&
X*** ../work-backup/calendar.c Thu Nov 29 09:10:53 1990
X--- ./calendar.c Thu Nov 29 09:11:53 1990
X***************
X*** 230,236 ****
X used[DayOfWeek(JulianToday)] = CurDay;
X if (GetLine()) break;
X i = ProcessLine();
X! if (i>0) if (e = CreateCalEntry()) AddCalEntry(e);
X }
X
X /* Now figure out if we should print the calendar */
X--- 230,236 ----
X used[DayOfWeek(JulianToday)] = CurDay;
X if (GetLine()) break;
X i = ProcessLine();
X! if (i>0) if (e = CreateCalEntry(i)) AddCalEntry(e);
X }
X
X /* Now figure out if we should print the calendar */
X*** ../work-backup/init.c Thu Nov 29 09:10:55 1990
X--- ./init.c Thu Nov 29 09:12:03 1990
X***************
X*** 7,13 ****
X #include "globals.h"
X #include "protos.h"
X
X! #define PATCHLEVEL 3
X
X static char DPMsg[] = "Debug and Purge options conflict - Purge chosen.\n";
X static char DPCMsg[] = "Calendar overrides Debug and Purge options.\n";
X--- 7,13 ----
X #include "globals.h"
X #include "protos.h"
X
X! #define PATCHLEVEL 4
X
X static char DPMsg[] = "Debug and Purge options conflict - Purge chosen.\n";
X static char DPCMsg[] = "Calendar overrides Debug and Purge options.\n";
X*** ../work-backup/remind.1 Thu Nov 29 09:10:59 1990
X--- ./remind.1 Thu Nov 29 09:12:19 1990
X***************
X*** 1308,1313 ****
X--- 1308,1314 ----
X .nf
X REM AT 23:59 RUN (sleep 120; remind -a .reminders) &
X .fi
X+ .PP
X This reminder will run at one minute to midnight. It will cause a new
X remind process to start at one minute past midnight. This allows you to
X have a continuous reminder service so you can work through the night and
SHAR_EOF
$TOUCH -am 1129091490 patch.04 &&
chmod 0600 patch.04 ||
echo "restore of patch.04 failed"
set `wc -c patch.04`;Wc_c=$1
if test "$Wc_c" != "1639"; then
echo original size 1639, current size $Wc_c
fi
fi
exit 0
More information about the Alt.sources
mailing list