Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!rex!ukma!widener!brendan From: brendan@cs.widener.edu (Brendan Kehoe) Newsgroups: news.software.b Subject: Re: c-news: Date: too far in the future??? Message-ID: Date: 30 Mar 91 00:26:53 GMT References: <1991Mar29.151419.8855@zaphod.mps.ohio-state.edu> Organization: Widener CS Dept Lines: 52 In <1991Mar29.151419.8855@zaphod.mps.ohio-state.edu>, alden@shape.mps.ohio-state.edu writes: > >Ok - where did I blow it? :-) I installed the latest patches for C-News >and all of a sudden I dropped ~250 articles last night, ie: > >Mar 29 01:54:43.684 uwm.edu - Date: too >far in the future: `29 Mar 91 04:35:00 GMT' > >Now I'm 5 hours behind GMT, which means this message is "perfectly legal" >in regards to when it was posted and when I got it. I thought c news was >supposed to accept articles with a date up to one day in advance? Did I >blow something in the config? I had the same problem (~400 out of 8000+); so I decided for the time being to just take out the offending test. (Posts made 4 or 5 minutes before I got it were dying, so I figured something had to be fudged.) -- cut -- *** relay/procart.c.~1~ Mon Mar 25 13:10:22 1991 --- relay/procart.c Tue Mar 26 16:06:11 1991 *************** *** 346,356 **** } else if ((date = getindate(hdrs->h_date, (struct timeb *)NULL)) == -1) { prefuse(art); (void) printf("unparsable Date: `%s'\n", hdrs->h_date); ! } else if (date > now + CLOCKSLOP) { prefuse(art); (void) printf("Date: too far in the future: `%s'\n", hdrs->h_date); ! } else if (staledays > 0 && date < datestale) { prefuse(art); (void) printf("older than %d days\n", staledays); } else if (hopcount(hdrs->h_path) > 0 && --- 346,356 ---- } else if ((date = getindate(hdrs->h_date, (struct timeb *)NULL)) == -1) { prefuse(art); (void) printf("unparsable Date: `%s'\n", hdrs->h_date); ! /* } else if (date > now + CLOCKSLOP) { prefuse(art); (void) printf("Date: too far in the future: `%s'\n", hdrs->h_date); ! */ } else if (staledays > 0 && date < datestale) { prefuse(art); (void) printf("older than %d days\n", staledays); } else if (hopcount(hdrs->h_path) > 0 && -- cut -- -- Brendan Kehoe - Widener Sun Network Manager - brendan@cs.widener.edu Widener University in Chester, PA A Bloody Sun-Dec War Zone Now that we know he has ID, we could give him an account. finger bush@cs....