zap multiline constants
This commit is contained in:
parent
4828bb03fc
commit
a570c7aae6
@ -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 <stdio.h>
|
||||
+#include <string.h>
|
||||
@ -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);
|
||||
|
@ -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 <unistd.h>
|
||||
#include <errno.h>
|
||||
@ -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 <yusuf@scientist.com> #
|
||||
-######################################################################
|
||||
-
|
||||
-";
|
||||
+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 <yusuf@scientist.com> #\n"
|
||||
+"######################################################################\n"
|
||||
+"\n"
|
||||
+"";
|
||||
|
||||
strcpy(filterfile,homedir);
|
||||
strcat(filterfile,"/");
|
||||
|
Loading…
Reference in New Issue
Block a user