diff options
author | adam <adam@FreeBSD.org> | 1994-10-01 05:01:36 +0800 |
---|---|---|
committer | adam <adam@FreeBSD.org> | 1994-10-01 05:01:36 +0800 |
commit | 6ffcdc118fee80606b7ffe5e67b848d1516f7625 (patch) | |
tree | 06f06a15f6778776c7245c4c16e0ea466237bb7b /news/cnews | |
parent | 58c7900a9b8baab17e5198c2113750a923999656 (diff) | |
download | freebsd-ports-graphics-6ffcdc118fee80606b7ffe5e67b848d1516f7625.tar.gz freebsd-ports-graphics-6ffcdc118fee80606b7ffe5e67b848d1516f7625.tar.zst freebsd-ports-graphics-6ffcdc118fee80606b7ffe5e67b848d1516f7625.zip |
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.
Diffstat (limited to 'news/cnews')
-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 663a6a4de9c..2735d594b92 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'); + } |