summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-01-24 04:54:44 +0000
committerSteve Price <steve@FreeBSD.org>2000-01-24 04:54:44 +0000
commite92b5356c6f72dfba56ebb3611270ee4caa2a26a (patch)
tree4c12c667a6841d26fca8e90131d390fda85d98b2 /comms
parentXKeyWrap can record, repeat, and play key sequence in real time. (diff)
Fix a Y2K problem.
PR: 15868 Submitted by: Gregory Bond <gnb@itga.com.au>
Notes
Notes: svn path=/head/; revision=25003
Diffstat (limited to 'comms')
-rw-r--r--comms/hylafax/files/patch-ag13
1 files changed, 13 insertions, 0 deletions
diff --git a/comms/hylafax/files/patch-ag b/comms/hylafax/files/patch-ag
new file mode 100644
index 000000000000..07b830d5d1aa
--- /dev/null
+++ b/comms/hylafax/files/patch-ag
@@ -0,0 +1,13 @@
+--- util/xferstats.sh.in.orig Sun Jan 23 19:45:49 2000
++++ util/xferstats.sh.in Sun Jan 23 19:45:29 2000
+@@ -186,7 +186,9 @@
+ #
+ function cvtDateTime(s)
+ {
+- yday = substr(s,7,2)*365 + substr(s,4,2) - 1;
++ y = substr(s,7,2);
++ if ( y < 50) y += 100;
++ yday = y*365 + substr(s,4,2) - 1;
+ mon = substr(s,0,2) + 0;
+ for (i = 0; i < mon; i++)
+ yday += daysInMonth[i];