diff options
author | Adam David <adam@FreeBSD.org> | 1994-09-30 21:01:36 +0000 |
---|---|---|
committer | Adam David <adam@FreeBSD.org> | 1994-09-30 21:01:36 +0000 |
commit | e119284cb3fe3b962ebe24af61ed653cea8338a5 (patch) | |
tree | 0b2bae5a0c335ac6ea3b3fab82245ccc42f38170 /news | |
parent | Cnews cleanup release from Henry Spencer and Geoff Collyer (diff) |
This file originally contained a makefile fix for the regression tests.
Now it also contains the following fixes...
silence nntpxmit stats which was causing 'sendbatches' to complain and
give up after successfully sending the first batch.
'mkov' no longer dumps core if there is no Xref: header.
Notes
Notes:
svn path=/head/; revision=146
Diffstat (limited to 'news')
-rw-r--r-- | news/cnews/files/patch-ab | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/news/cnews/files/patch-ab b/news/cnews/files/patch-ab index 663a6a4de9c6..2735d594b929 100644 --- a/news/cnews/files/patch-ab +++ b/news/cnews/files/patch-ab @@ -54,3 +54,55 @@ sleep 2 # ensure article looks older than addmissing startup touch active $(HERE) ./cnewsdo addmissing >addm.out 2>addm.diag +*** batch/usenntpxmit.old Thu Sep 22 17:28:37 1994 +--- batch/usenntpxmit Fri Sep 30 12:30:17 1994 +*************** +*** 15,21 **** + + tmp=/tmp/nntp$$ + cat >$tmp +! nntpxmit $site:$tmp + if test -s $tmp + then + cat $tmp >>$NEWSSITEDIR/togo.leftover +--- 15,21 ---- + + tmp=/tmp/nntp$$ + cat >$tmp +! nntpxmit -s $site:$tmp + if test -s $tmp + then + cat $tmp >>$NEWSSITEDIR/togo.leftover +*** nov/mkov.c.old Sun Sep 18 17:55:05 1994 +--- nov/mkov.c Fri Sep 30 13:39:22 1994 +*************** +*** 305,317 **** + putfld(hdrp->h_bytes); + putfld(hdrp->h_lines); + /* put Xref in only if there is more than one locator in it */ +! p = strchr(hdrp->h_xref, ' '); /* p -> space after relayer */ +! if (p != NULL) + p = strchr(p, ':'); /* p -> colon in first location */ +! if (p != NULL) + p = strchr(p+1, ':'); /* p -> colon in second location */ +! if (p != NULL) /* at least two locations! */ + putextfld("xref", hdrp->h_xref); + /* step 3 of 4: add new header output before this line */ + (void) putchar('\n'); + } +--- 305,319 ---- + putfld(hdrp->h_bytes); + putfld(hdrp->h_lines); + /* put Xref in only if there is more than one locator in it */ +! if (hdrp->h_xref != NULL) { +! p = strchr(hdrp->h_xref, ' '); /* p -> space after relayer */ +! if (p != NULL) + p = strchr(p, ':'); /* p -> colon in first location */ +! if (p != NULL) + p = strchr(p+1, ':'); /* p -> colon in second location */ +! if (p != NULL) /* at least two locations! */ + putextfld("xref", hdrp->h_xref); ++ } + /* step 3 of 4: add new header output before this line */ + (void) putchar('\n'); + } |