brendan@cs.widener.edu (Brendan Kehoe) (04/12/91)
If you're using my modified anne.jones as distributed with the
extension set I posted a little while ago, there's a pretty serious
bug in it as it's written. It will reject any attempts to post any
articles with explicit Expires: or Date: headers.
The following patch will remedy the situation. Thanks to Matthias Urlichs
(urlichs@smurf.sub.org) for bringing this to my attention. I've run it
through a slew of tests & it acts properly now.
After you apply this, type 'make anne.stub' and copy anne.stub to
your $NEWSBIN/inject directory, replacing the one that's there.
-- cut --
*** ../distrib/anne.jones.c Thu Apr 11 14:45:12 1991
--- anne.jones.c Thu Apr 11 14:41:13 1991
***************
*** 283,292 ****
switch (i)
{
case DATEPOS:
! header[found[DATEPOS]] = fix_date(header[found[DATEPOS]]);
break;
case EXPIREPOS:
! header[found[EXPIREPOS]] = fix_expire(header[found[EXPIREPOS]]);
break;
}
}
--- 283,294 ----
switch (i)
{
case DATEPOS:
! header[found[DATEPOS]] =
! fix_date(strchr(header[found[DATEPOS]], ' '));
break;
case EXPIREPOS:
! header[found[EXPIREPOS]] =
! fix_expire(strchr(header[found[EXPIREPOS]], ' '));
break;
}
}
-- cut --
--
Brendan Kehoe - Widener Sun Network Manager - brendan@cs.widener.edu
Widener University in Chester, PA A Bloody Sun-Dec War Zone