diff options
author | kim <kim> | 2002-07-08 02:21:18 +0000 |
---|---|---|
committer | kim <kim> | 2002-07-08 02:21:18 +0000 |
commit | 76ed563141cb16f9ec68cb262cbb8af6ddf828d3 (patch) | |
tree | d17a69b50d9dd212f1fb82091031a89e9024b9b6 /news/nn/patches | |
parent | d2d83e3ec7dab0d6982d4cc8eb35e7372b1edb79 (diff) | |
download | pkgsrc-76ed563141cb16f9ec68cb262cbb8af6ddf828d3.tar.gz |
Upgrade to 6.6.4, which does not depend on an external inews program anymore.
This should avoid any vulnerability issues with INN.
NOTE: The text files from lib/nn can now be found in share/nn instead.
Diffstat (limited to 'news/nn/patches')
-rw-r--r-- | news/nn/patches/patch-aa | 16 | ||||
-rw-r--r-- | news/nn/patches/patch-ae | 18 | ||||
-rw-r--r-- | news/nn/patches/patch-af | 12 | ||||
-rw-r--r-- | news/nn/patches/patch-ag | 12 | ||||
-rw-r--r-- | news/nn/patches/patch-ai | 74 | ||||
-rw-r--r-- | news/nn/patches/patch-ak | 32 | ||||
-rw-r--r-- | news/nn/patches/patch-am | 12 | ||||
-rw-r--r-- | news/nn/patches/patch-ap | 8 | ||||
-rw-r--r-- | news/nn/patches/patch-aq | 10 | ||||
-rw-r--r-- | news/nn/patches/patch-ar | 10 | ||||
-rw-r--r-- | news/nn/patches/patch-aw | 8 | ||||
-rw-r--r-- | news/nn/patches/patch-ax | 21 | ||||
-rw-r--r-- | news/nn/patches/patch-ay | 16 | ||||
-rw-r--r-- | news/nn/patches/patch-ba | 12 |
14 files changed, 118 insertions, 143 deletions
diff --git a/news/nn/patches/patch-aa b/news/nn/patches/patch-aa index 841b43d8f88..8f66513966c 100644 --- a/news/nn/patches/patch-aa +++ b/news/nn/patches/patch-aa @@ -1,20 +1,20 @@ -$NetBSD: patch-aa,v 1.7 1999/09/20 21:43:34 kim Exp $ +$NetBSD: patch-aa,v 1.8 2002/07/08 02:21:19 kim Exp $ ---- Makefile.orig Sat Jun 5 00:07:14 1999 -+++ Makefile Mon Sep 20 17:30:05 1999 +--- Makefile.orig Thu Feb 7 23:14:41 2002 ++++ Makefile Sun Jul 7 21:34:04 2002 @@ -18,7 +18,7 @@ # # Use /lib/cpp or /usr/ccs/lib/cpp for CPP on Solaris or SVR4 machines. -CC = cc +#CC = cc + CPP = $(CC) -E #CPP = /lib/cpp - #CFLAGS = -O2 # -g # -I/usr/local/lib/malloc-debug -DMALLOC_FUNC_CHECK -@@ -28,7 +28,7 @@ - #-Wpointer-arith -Wcast-qual -Wcast-align -Wconversion \ - #-Waggregate-return -Wmissing-prototypes -Wnested-externs - #LDFLAGS = -s # -lmalloc # /usr/local/lib/malloc-debug/libmalloc.a +@@ -27,7 +27,7 @@ + CFLAGS = -O # -g -Wall -ansi -pedantic + #CFLAGS = -O # -w0 -g3 # for DEC + -MAKE = make +#MAKE = make diff --git a/news/nn/patches/patch-ae b/news/nn/patches/patch-ae deleted file mode 100644 index 2f3b7ec77ab..00000000000 --- a/news/nn/patches/patch-ae +++ /dev/null @@ -1,18 +0,0 @@ -$NetBSD: patch-ae,v 1.3 1999/07/26 21:19:26 tron Exp $ - ---- answer.c.orig Mon Sep 13 19:42:02 1993 -+++ answer.c Mon Jul 26 23:11:39 1999 -@@ -132,9 +132,13 @@ - nn_gethostname(host, 64); - #endif - -+#if 0 - fprintf(t, "Path: %s!%s\n", host, user_name()); -+#endif - fprintf(t, "Date: %s %s %s %s GMT\n", date+8, date+4, date+22, date+11); -+#if 0 - fprintf(t, "Message-ID: <%s.%ld@%s>\n", user_name(), (long)now, host); -+#endif - ed_line += 3; - } - #endif diff --git a/news/nn/patches/patch-af b/news/nn/patches/patch-af index aacccb6bdba..8e3af950a41 100644 --- a/news/nn/patches/patch-af +++ b/news/nn/patches/patch-af @@ -1,7 +1,7 @@ -$NetBSD: patch-af,v 1.4 1999/08/22 22:55:46 kim Exp $ +$NetBSD: patch-af,v 1.5 2002/07/08 02:21:19 kim Exp $ ---- articles.c.orig Fri Jul 3 13:44:35 1998 -+++ articles.c Sun Aug 22 18:21:23 1999 +--- articles.c.orig Wed Oct 3 03:01:08 2001 ++++ articles.c Sun Jul 7 21:33:09 2002 @@ -264,7 +264,7 @@ int dbstatus; #else /* NOV */ @@ -11,7 +11,7 @@ $NetBSD: patch-af,v 1.4 1999/08/22 22:55:46 kim Exp $ #endif /* NOV */ cross_post_number cross_post; attr_type leave_attr; -@@ -292,7 +292,7 @@ +@@ -286,7 +286,7 @@ data = open_data_file(gh, 'd', OPEN_READ); if (data == NULL) return -10; @@ -20,7 +20,7 @@ $NetBSD: patch-af,v 1.4 1999/08/22 22:55:46 kim Exp $ return -11; #endif /* NOV */ -@@ -361,7 +361,7 @@ +@@ -355,7 +355,7 @@ } data_offset += data_size; #endif /* NOV */ @@ -29,7 +29,7 @@ $NetBSD: patch-af,v 1.4 1999/08/22 22:55:46 kim Exp $ continue; /* article not accessible */ if (db_hdr.dh_number > gh->last_db_article -@@ -427,7 +427,7 @@ +@@ -421,7 +421,7 @@ } ah->hpos = db_hdr.dh_hpos; diff --git a/news/nn/patches/patch-ag b/news/nn/patches/patch-ag index 427fcfbb56c..127e8388c80 100644 --- a/news/nn/patches/patch-ag +++ b/news/nn/patches/patch-ag @@ -1,12 +1,12 @@ -$NetBSD: patch-ag,v 1.1 1999/07/26 21:19:27 tron Exp $ +$NetBSD: patch-ag,v 1.2 2002/07/08 02:21:19 kim Exp $ ---- chset.c.orig Fri Mar 12 06:35:13 1993 -+++ chset.c Mon Jul 26 23:11:38 1999 -@@ -18,6 +18,7 @@ - "iso-8859-7", 8, +--- chset.c.orig Wed Feb 13 14:31:39 2002 ++++ chset.c Sun Jul 7 21:36:12 2002 +@@ -19,6 +19,7 @@ "iso-8859-8", 8, "iso-8859-9", 8, -+ "koi8-r", 8, + "iso-8859-15", 8, ++ "koi8-r", 8, "unknown", 0, NULL, 0, }; diff --git a/news/nn/patches/patch-ai b/news/nn/patches/patch-ai index 1f38c648f61..a618964fd4b 100644 --- a/news/nn/patches/patch-ai +++ b/news/nn/patches/patch-ai @@ -1,17 +1,17 @@ -$NetBSD: patch-ai,v 1.4 1999/09/20 21:43:34 kim Exp $ +$NetBSD: patch-ai,v 1.5 2002/07/08 02:21:19 kim Exp $ ---- config.h-dist.orig Sun Jun 6 18:22:28 1999 -+++ config.h-dist Mon Sep 20 17:18:32 1999 -@@ -13,6 +13,8 @@ - - #define RELEASE "6.5" +--- config.h-dist.orig Thu Feb 7 22:39:03 2002 ++++ config.h-dist Sun Jul 7 21:44:08 2002 +@@ -11,6 +11,8 @@ + * (c) Copyright 1990, Kim F. Storm. All rights reserved. + */ +#define PREFIX "@PREFIX@" + #include <stdio.h> #include <ctype.h> -@@ -71,7 +73,7 @@ +@@ -66,7 +68,7 @@ * ascii files. (Thank you Geoff!) */ @@ -20,70 +20,49 @@ $NetBSD: patch-ai,v 1.4 1999/09/20 21:43:34 kim Exp $ /********************************** NNTP ********************************* -@@ -107,7 +109,7 @@ - * NOTE: If you plan to use the included inews, it MUST be a full pathname +@@ -100,7 +102,7 @@ + * LIB_DIRECTORY defined below. */ -#define NNTP_SERVER "/usr/local/lib/nntp_server" +#define NNTP_SERVER PREFIX "/etc/nntp/server" /* - * Define NNTP_POST if you want nn to reject attempts to post via -@@ -149,7 +151,7 @@ + * Define NNTP_PATH_HOSTNAME to force a specific hostname into the +@@ -138,7 +140,7 @@ * conf/s-template.h as a starting point for writing you own. */ --#include "s-hpux9-0.h" +-#include "s-sunos5.h" +#include "@SFILE@" - /* - * Define DEFAULT_PAGER as the initial value of the 'pager' variable. -@@ -210,7 +212,7 @@ + + /********************** MACHINE DEPENDENT DEFINITIONS ********************** +@@ -149,7 +151,7 @@ * conf/m-template.h as a starting point for writing you own. */ --#include "m-hp9000.h" +-#include "m-sparc.h" +#include "@MFILE@" - /***************************** OWNERSHIP *************************** -@@ -227,8 +229,8 @@ - * Common choices are: (news, news) and (your uid, your gid) - */ - --#define OWNER "news" --#define GROUP "news" -+#define OWNER "@BINOWN@" -+#define GROUP "@BINGRP@" - - /**************************** LOCALIZATION **************************** -@@ -261,9 +263,12 @@ +@@ -182,8 +184,12 @@ * (= LIB_DIRECTORY/Log if undefined). */ -#define BIN_DIRECTORY "/usr/local/bin" -#define LIB_DIRECTORY "/usr/local/lib/nn" -- +#define BIN_DIRECTORY PREFIX "/bin" -+#define LIB_DIRECTORY PREFIX "/lib/nn" ++#define LIB_DIRECTORY PREFIX "/share/nn" +#ifndef _PATH_VARTMP +# define _PATH_VARTMP "/var/tmp" +#endif +#define TMP_DIRECTORY _PATH_VARTMP - /**************************** DATABASE LOCATION ************************** - * -@@ -318,7 +323,7 @@ - - /* #define NEWS_DIRECTORY "/usr/spool/news" */ - /* #define NEWS_LIB_DIRECTORY "/usr/lib/news" */ --/* #define INEWS_PATH "/usr/lib/news/inews" */ -+#define INEWS_PATH BIN_DIRECTORY "/inews" - - /* -@@ -341,7 +346,10 @@ + /*************************** NEWS TRANSPORT ************************** +@@ -258,7 +264,10 @@ */ /* #define REC_MAIL "/usr/lib/news/recmail" */ /* non-sendmail */ @@ -95,7 +74,7 @@ $NetBSD: patch-ai,v 1.4 1999/09/20 21:43:34 kim Exp $ /* -@@ -403,13 +411,13 @@ +@@ -307,13 +316,13 @@ * DAEMON_MAN - nnmaster */ @@ -113,3 +92,14 @@ $NetBSD: patch-ai,v 1.4 1999/09/20 21:43:34 kim Exp $ #define DAEMON_MAN_SECTION "8" +@@ -383,8 +392,8 @@ + * Common choices are: (news, news) and (your uid, your gid) + */ + +-#define OWNER "news" +-#define GROUP "news" ++#define OWNER "@BINOWN@" ++#define GROUP "@BINGRP@" + + /* + * Default folder directory diff --git a/news/nn/patches/patch-ak b/news/nn/patches/patch-ak index 97a047917d3..0be866ec8e4 100644 --- a/news/nn/patches/patch-ak +++ b/news/nn/patches/patch-ak @@ -1,8 +1,8 @@ -$NetBSD: patch-ak,v 1.2 1999/08/22 22:55:46 kim Exp $ +$NetBSD: patch-ak,v 1.3 2002/07/08 02:21:20 kim Exp $ ---- db.c.orig Tue Jun 8 00:19:45 1999 -+++ db.c Sun Aug 22 18:04:14 1999 -@@ -1095,7 +1095,7 @@ +--- db.c.orig Thu Jan 31 23:10:27 2002 ++++ db.c Sun Jul 7 21:33:09 2002 +@@ -1103,7 +1103,7 @@ if (!db_sequential) fseek(master_file, @@ -11,7 +11,7 @@ $NetBSD: patch-ak,v 1.2 1999/08/22 22:55:46 kim Exp $ GROUP_FIELDS * sizeof(net_long) * gh->group_num), 0); if (fread((char *)buf, sizeof(net_long), GROUP_FIELDS, master_file) != GROUP_FIELDS) -@@ -1115,7 +1115,7 @@ +@@ -1123,7 +1123,7 @@ #else if (!db_sequential) fseek(master_file, @@ -20,7 +20,7 @@ $NetBSD: patch-ak,v 1.2 1999/08/22 22:55:46 kim Exp $ if (fread((char *)gh, SAVED_GROUP_HEADER_SIZE(*gh), 1, master_file) != 1) goto err; -@@ -1137,7 +1137,7 @@ +@@ -1145,7 +1145,7 @@ if (!db_sequential) fseek(master_file, @@ -29,7 +29,7 @@ $NetBSD: patch-ak,v 1.2 1999/08/22 22:55:46 kim Exp $ GROUP_FIELDS * sizeof(net_long) * gh->group_num), 0); buf[0] = gh->first_db_article; -@@ -1155,7 +1155,7 @@ +@@ -1163,7 +1163,7 @@ goto err; #else /* NETWORK_DATABASE */ if (!db_sequential) @@ -38,7 +38,7 @@ $NetBSD: patch-ak,v 1.2 1999/08/22 22:55:46 kim Exp $ if (fwrite((char *)gh, SAVED_GROUP_HEADER_SIZE(*gh), 1, master_file) != 1) -@@ -1340,10 +1340,10 @@ +@@ -1348,10 +1348,10 @@ #ifndef NOV @@ -51,7 +51,7 @@ $NetBSD: patch-ak,v 1.2 1999/08/22 22:55:46 kim Exp $ #ifdef NETWORK_DATABASE net_long buf[ARTICLE_FIELDS]; -@@ -1526,7 +1526,7 @@ +@@ -1556,7 +1556,7 @@ * fill in db_hdr and db_data from the overview data for the next * article in this group. does weirdo nn encodings of header fields. */ @@ -60,7 +60,7 @@ $NetBSD: patch-ak,v 1.2 1999/08/22 22:55:46 kim Exp $ db_read_art(f) FILE *f; { -@@ -1734,32 +1734,32 @@ +@@ -1764,32 +1764,32 @@ } @@ -101,7 +101,7 @@ $NetBSD: patch-ak,v 1.2 1999/08/22 22:55:46 kim Exp $ fclose(index); -@@ -1770,7 +1770,7 @@ +@@ -1800,7 +1800,7 @@ int db_read_offset(f, offset) FILE *f; @@ -110,7 +110,7 @@ $NetBSD: patch-ak,v 1.2 1999/08/22 22:55:46 kim Exp $ { #ifdef NETWORK_DATABASE net_long temp; -@@ -1783,7 +1783,7 @@ +@@ -1813,7 +1813,7 @@ *offset = temp; #else /* NETWORK_DATABASE */ @@ -119,7 +119,7 @@ $NetBSD: patch-ak,v 1.2 1999/08/22 22:55:46 kim Exp $ #endif /* NETWORK_DATABASE */ return 1; } -@@ -1791,7 +1791,7 @@ +@@ -1821,7 +1821,7 @@ int db_write_offset(f, offset) FILE *f; @@ -128,7 +128,7 @@ $NetBSD: patch-ak,v 1.2 1999/08/22 22:55:46 kim Exp $ { #ifdef NETWORK_DATABASE net_long temp; -@@ -1805,7 +1805,7 @@ +@@ -1835,7 +1835,7 @@ #else /* NETWORK_DATABASE */ @@ -137,7 +137,7 @@ $NetBSD: patch-ak,v 1.2 1999/08/22 22:55:46 kim Exp $ #endif /* NETWORK_DATABASE */ return 1; } -@@ -1829,7 +1829,7 @@ +@@ -1859,7 +1859,7 @@ int db_read_offset(f, offset) FILE *f; @@ -146,7 +146,7 @@ $NetBSD: patch-ak,v 1.2 1999/08/22 22:55:46 kim Exp $ { nn_exitmsg(50, "STUB ROUTINE CALLED: db_read_offset\n"); return -1; -@@ -1853,7 +1853,7 @@ +@@ -1883,7 +1883,7 @@ return NULL; } diff --git a/news/nn/patches/patch-am b/news/nn/patches/patch-am index f37558f0b7e..401f8d87a1f 100644 --- a/news/nn/patches/patch-am +++ b/news/nn/patches/patch-am @@ -1,10 +1,10 @@ -$NetBSD: patch-am,v 1.1 1999/07/26 21:19:29 tron Exp $ +$NetBSD: patch-am,v 1.2 2002/07/08 02:21:20 kim Exp $ ---- decode.c.orig Tue Aug 31 23:05:37 1993 -+++ decode.c Mon Jul 26 23:11:38 1999 -@@ -351,7 +351,7 @@ - { - int mode, onedone, len, lead_check = 0; +--- decode.c.orig Thu Jan 31 23:28:20 2002 ++++ decode.c Sun Jul 7 21:33:09 2002 +@@ -357,7 +357,7 @@ + mode_t mode; + int onedone, len, lead_check = 0; char buf[LINELEN], part[2], *line; - off_t real_size, start_offset; + long real_size, start_offset; diff --git a/news/nn/patches/patch-ap b/news/nn/patches/patch-ap index aaa1aa97357..5d953312fd1 100644 --- a/news/nn/patches/patch-ap +++ b/news/nn/patches/patch-ap @@ -1,8 +1,8 @@ -$NetBSD: patch-ap,v 1.2 1999/08/22 22:55:46 kim Exp $ +$NetBSD: patch-ap,v 1.3 2002/07/08 02:21:20 kim Exp $ ---- global.h.orig Tue Jul 14 09:48:40 1998 -+++ global.h Sun Aug 22 18:08:37 1999 -@@ -387,12 +387,12 @@ +--- global.h.orig Sun Feb 3 22:53:13 2002 ++++ global.h Sun Jul 7 21:33:09 2002 +@@ -374,12 +374,12 @@ void db_read_group __APROTO((group_header *gh)); #endif void db_write_group __APROTO((group_header *gh)); diff --git a/news/nn/patches/patch-aq b/news/nn/patches/patch-aq index 89d09eca3f7..7b41e3f807b 100644 --- a/news/nn/patches/patch-aq +++ b/news/nn/patches/patch-aq @@ -1,7 +1,7 @@ -$NetBSD: patch-aq,v 1.2 1999/09/20 21:43:34 kim Exp $ +$NetBSD: patch-aq,v 1.3 2002/07/08 02:21:20 kim Exp $ ---- inst.sh.orig Sat Apr 29 01:34:49 1995 -+++ inst.sh Mon Sep 20 17:07:28 1999 +--- inst.sh.orig Thu Oct 4 01:33:06 2001 ++++ inst.sh Sun Jul 7 21:33:10 2002 @@ -1,8 +1,8 @@ # (Large) prefix inserted above by Make @@ -22,7 +22,7 @@ $NetBSD: patch-aq,v 1.2 1999/09/20 21:43:34 kim Exp $ ( if $NNTP -@@ -365,7 +365,6 @@ +@@ -363,7 +363,6 @@ echo echo "Formatting online manual $MAN" @@ -30,7 +30,7 @@ $NetBSD: patch-aq,v 1.2 1999/09/20 21:43:34 kim Exp $ rm -f $MAN -@@ -380,7 +379,7 @@ +@@ -378,7 +377,7 @@ ${AWK} -f format.awk - > $MAN ./inst chmod 644 $MAN diff --git a/news/nn/patches/patch-ar b/news/nn/patches/patch-ar index 609b64e7d7e..16ad0c29619 100644 --- a/news/nn/patches/patch-ar +++ b/news/nn/patches/patch-ar @@ -1,7 +1,7 @@ -$NetBSD: patch-ar,v 1.1 1999/07/26 21:19:31 tron Exp $ +$NetBSD: patch-ar,v 1.2 2002/07/08 02:21:20 kim Exp $ ---- kill.c.orig Mon Sep 13 19:42:28 1993 -+++ kill.c Mon Jul 26 23:11:38 1999 +--- kill.c.orig Mon Jun 17 23:58:08 2002 ++++ kill.c Sun Jul 7 21:33:10 2002 @@ -424,7 +424,7 @@ typedef struct { long ckh_magic; @@ -29,7 +29,7 @@ $NetBSD: patch-ar,v 1.1 1999/07/26 21:19:31 tron Exp $ now = cur_time(); -@@ -844,7 +844,7 @@ +@@ -850,7 +850,7 @@ if (header.ckh_pattern_size > 0) { kill_patterns = newstr(header.ckh_pattern_size); @@ -38,7 +38,7 @@ $NetBSD: patch-ar,v 1.1 1999/07/26 21:19:31 tron Exp $ if (fread(kill_patterns, sizeof(char), (int)header.ckh_pattern_size, killf) != header.ckh_pattern_size) goto err; } else -@@ -856,7 +856,7 @@ +@@ -862,7 +862,7 @@ tb = group_regexp_table; diff --git a/news/nn/patches/patch-aw b/news/nn/patches/patch-aw index e2521b1fa42..653933b703a 100644 --- a/news/nn/patches/patch-aw +++ b/news/nn/patches/patch-aw @@ -1,8 +1,8 @@ -$NetBSD: patch-aw,v 1.1 1999/07/26 21:19:32 tron Exp $ +$NetBSD: patch-aw,v 1.2 2002/07/08 02:21:20 kim Exp $ ---- newsrc.c.orig Thu Sep 23 04:11:10 1993 -+++ newsrc.c Mon Jul 26 23:11:38 1999 -@@ -379,7 +379,7 @@ +--- newsrc.c.orig Sun Jun 16 00:22:19 2002 ++++ newsrc.c Sun Jul 7 21:33:10 2002 +@@ -378,7 +378,7 @@ rc = open_file(newsrc_file, OPEN_READ); if (rc != NULL) { diff --git a/news/nn/patches/patch-ax b/news/nn/patches/patch-ax index f54911163fa..263df10e31b 100644 --- a/news/nn/patches/patch-ax +++ b/news/nn/patches/patch-ax @@ -1,17 +1,20 @@ -$NetBSD: patch-ax,v 1.3 1999/08/22 22:55:46 kim Exp $ +$NetBSD: patch-ax,v 1.4 2002/07/08 02:21:20 kim Exp $ ---- nntp.c.orig Wed Jun 9 14:18:25 1999 -+++ nntp.c Sun Aug 22 18:14:18 1999 -@@ -769,7 +769,7 @@ - strncpy(host, (gethostbyname(host))->h_name, sizeof host); - - server_real_name = (gethostbyname(nntp_server))->h_name; -- use_nntp = (strcmp(host, server_real_name) != 0); +--- nntp.c.orig Sun Jun 16 23:26:44 2002 ++++ nntp.c Sun Jul 7 21:38:22 2002 +@@ -843,7 +843,11 @@ + server_real_name = hp->h_name; + else + nn_exitmsg(1, "NNTPSERVER is invalid"); ++#if 0 + use_nntp = (strcmp(host_name, server_real_name) != 0); ++#else + use_nntp = 1; ++#endif if (use_nntp) { freeobj(news_active); -@@ -1108,7 +1108,7 @@ +@@ -1170,7 +1174,7 @@ case OK_BODY: tmp = open_file(cptr->file_name, OPEN_APPEND|MUST_EXIST); diff --git a/news/nn/patches/patch-ay b/news/nn/patches/patch-ay index fa6141d9406..02971512b4c 100644 --- a/news/nn/patches/patch-ay +++ b/news/nn/patches/patch-ay @@ -1,8 +1,8 @@ -$NetBSD: patch-ay,v 1.1 1999/07/26 21:19:33 tron Exp $ +$NetBSD: patch-ay,v 1.2 2002/07/08 02:21:20 kim Exp $ ---- save.c.orig Mon Sep 13 19:42:52 1993 -+++ save.c Mon Jul 26 23:11:39 1999 -@@ -514,7 +514,7 @@ +--- save.c.orig Thu Jul 12 01:18:34 2001 ++++ save.c Sun Jul 7 21:39:15 2002 +@@ -521,7 +521,7 @@ return 0; } current_folder_type = -1; @@ -11,16 +11,16 @@ $NetBSD: patch-ay,v 1.1 1999/07/26 21:19:33 tron Exp $ if (mode != NO_HEADER) set_folder_type(save_name); save_mode &= ~FILE_IS_NEW; } -@@ -531,7 +531,7 @@ +@@ -538,7 +538,7 @@ mailbox_format(save_file, 1); - if (mode == FULL_HEADER) { + if (mode == FULL_HEADER || mode == HEADER_ONLY) { - off_t cnt = ah->fpos - ah->hpos; + long cnt = ah->fpos - ah->hpos; while (--cnt >= 0) { if ((c = getc(art)) == EOF) break; putc(c, save_file); -@@ -647,7 +647,7 @@ +@@ -656,7 +656,7 @@ char *dir, *file; { register int c; @@ -29,7 +29,7 @@ $NetBSD: patch-ay,v 1.1 1999/07/26 21:19:33 tron Exp $ FILE *h; if (dir != (char *)NULL && file[0] != '/') -@@ -656,7 +656,7 @@ +@@ -665,7 +665,7 @@ msg("Cannot open %s", file); return; } diff --git a/news/nn/patches/patch-ba b/news/nn/patches/patch-ba index 5181ad7d5bb..d2a4b56894c 100644 --- a/news/nn/patches/patch-ba +++ b/news/nn/patches/patch-ba @@ -1,8 +1,8 @@ -$NetBSD: patch-ba,v 1.2 1999/08/22 22:55:46 kim Exp $ +$NetBSD: patch-ba,v 1.3 2002/07/08 02:21:20 kim Exp $ ---- term.c.orig Wed Jun 9 14:19:01 1999 -+++ term.c Sun Aug 22 18:28:48 1999 -@@ -47,9 +47,9 @@ +--- term.c.orig Sun Jun 16 01:54:33 2002 ++++ term.c Sun Jul 7 21:33:10 2002 +@@ -42,9 +42,9 @@ # include <termio.h> # endif /* USE_TERMCAP */ #else @@ -13,8 +13,8 @@ $NetBSD: patch-ba,v 1.2 1999/08/22 22:55:46 kim Exp $ +#endif /* HAVE_TERMIOS_H */ #endif - /* SYSV curses.h clash */ -@@ -413,6 +413,12 @@ + #ifdef SYSV_RESIZING +@@ -401,6 +401,12 @@ #endif /* FAKE_INTERRUPT */ static unsigned sp_table[] = { |