From a570c7aae61e6a70f9295d17fcbb3d8166201395 Mon Sep 17 00:00:00 2001 From: espie Date: Sun, 4 Jan 2004 21:39:33 +0000 Subject: [PATCH] zap multiline constants --- news/newsfetch/patches/patch-opt_c | 18 +++++++++++++--- news/newsfetch/patches/patch-util_c | 33 ++++++++++++++++++++++++++--- 2 files changed, 45 insertions(+), 6 deletions(-) diff --git a/news/newsfetch/patches/patch-opt_c b/news/newsfetch/patches/patch-opt_c index 5e9b262bc10..b877b3b05ce 100644 --- a/news/newsfetch/patches/patch-opt_c +++ b/news/newsfetch/patches/patch-opt_c @@ -1,6 +1,6 @@ -$OpenBSD: patch-opt_c,v 1.1 2002/07/23 17:58:56 pvalchev Exp $ ---- opt.c.orig Mon Apr 13 08:39:59 1998 -+++ opt.c Tue Jul 23 11:50:05 2002 +$OpenBSD: patch-opt_c,v 1.2 2004/01/04 21:39:33 espie Exp $ +--- opt.c.orig 1998-04-13 16:39:59.000000000 +0200 ++++ opt.c 2004-01-04 22:36:26.000000000 +0100 @@ -1,4 +1,6 @@ #include +#include @@ -17,3 +17,15 @@ $OpenBSD: patch-opt_c,v 1.1 2002/07/23 17:58:56 pvalchev Exp $ break; switch (c) +@@ -192,9 +194,8 @@ opt_help(char *prog_name) + { + + char *options= +-" [-clsyvV] [-d dirname] [-f rcfile] [-t N] +- [-T timeout] [-w M ] [-pPY filter] [-x command] +-"; ++" [-clsyvV] [-d dirname] [-f rcfile] [-t N] \n" ++" [-T timeout] [-w M ] [-pPY filter] [-x command]\n"; + fprintf(stderr,"Usage: %s nntp_server [options]\n", prog_name); + fprintf(stderr,"Options:\n%s\n",options); + exit(1); diff --git a/news/newsfetch/patches/patch-util_c b/news/newsfetch/patches/patch-util_c index 40ef5103c7f..e1c26368bf7 100644 --- a/news/newsfetch/patches/patch-util_c +++ b/news/newsfetch/patches/patch-util_c @@ -1,6 +1,6 @@ -$OpenBSD: patch-util_c,v 1.1 2002/07/23 17:58:56 pvalchev Exp $ ---- util.c.orig Mon Apr 13 01:47:40 1998 -+++ util.c Tue Jul 23 11:27:03 2002 +$OpenBSD: patch-util_c,v 1.2 2004/01/04 21:39:33 espie Exp $ +--- util.c.orig 1998-04-13 09:47:40.000000000 +0200 ++++ util.c 2004-01-04 22:37:14.000000000 +0100 @@ -5,6 +5,7 @@ #include #include @@ -9,3 +9,30 @@ $OpenBSD: patch-util_c,v 1.1 2002/07/23 17:58:56 pvalchev Exp $ #include "newsfetch.h" extern int errno; +@@ -61,16 +62,16 @@ generateProcmailrc(char *homedir, char * + FILE *fp, *fp1, *fp2; + char *tmp, buf[200], group[180], filterfile[100], procmailrcfile[100]; + int i,j; +-char *title=" +- +-############### Generated by Newsfetch ############################## +-# New version of Newsfetch is available from # +-# # +-# http://ulf.wep.net/newsfetch.html # +-# Feedback and Comments to Yusuf Motiwala # +-###################################################################### +- +-"; ++char *title="\n" ++"\n" ++"############### Generated by Newsfetch ##############################\n" ++"# New version of Newsfetch is available from #\n" ++"# #\n" ++"# http://ulf.wep.net/newsfetch.html #\n" ++"# Feedback and Comments to Yusuf Motiwala #\n" ++"######################################################################\n" ++"\n" ++""; + + strcpy(filterfile,homedir); + strcat(filterfile,"/");