39 lines
1.5 KiB
Plaintext
39 lines
1.5 KiB
Plaintext
$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>
|
|
#include <pwd.h>
|
|
+#include <string.h>
|
|
#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,"/");
|