1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

y2k patch

PR:		13694
Submitted by:	James Raynard james@jraynard.demon.co.uk
This commit is contained in:
Michael Haro 1999-10-27 09:06:45 +00:00
parent 4a61d5fa4c
commit 4157e9bf24
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=22674

11
news/slurp/files/patch-ah Normal file
View File

@ -0,0 +1,11 @@
--- hostfiles.c.orig Sat Sep 11 10:40:33 1999
+++ hostfiles.c Sat Sep 11 10:42:36 1999
@@ -166,7 +166,7 @@
else
{
tmtime = gmtime (&nexttime);
- ndate = (tmtime -> tm_year * 10000) +
+ ndate = (tmtime -> tm_year%100 * 10000) +
((tmtime -> tm_mon + 1) * 100) +
tmtime -> tm_mday;
ntime = (tmtime -> tm_hour * 10000) +