2
## 40-datehack.dpatch by Paul Martin <pm@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
8
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
12
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
13
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
16
-patch) patch $patch_opts -p1 < $0;;
17
-unpatch) patch $patch_opts -p1 -R < $0;;
19
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
26
diff -urNad /home/pm/deb/logrotate/logrotate-3.7/logrotate.c logrotate-3.7/logrotate.c
27
--- /home/pm/deb/logrotate/logrotate-3.7/logrotate.c 2004-02-11 18:34:51.000000000 +0000
28
+++ logrotate-3.7/logrotate.c 2004-02-11 18:43:28.000000000 +0000
32
/* Hack to hide earlier bug */
33
- if ((year != 1900) && (year < 1996 || year > 2100)) {
34
+ if ((year != 1900) && (year < 1970 || year > 2100)) {
35
message(MESS_ERROR, "bad year %d for file %s in state file %s\n",
36
year, argv[0], stateFilename);