1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/news/slurp/files/patch-ah
Michael Haro 4157e9bf24 y2k patch
PR:		13694
Submitted by:	James Raynard james@jraynard.demon.co.uk
1999-10-27 09:06:45 +00:00

12 lines
343 B
Plaintext

--- 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) +