summaryrefslogtreecommitdiff
path: root/misc/fep/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'misc/fep/patches/patch-ai')
-rw-r--r--misc/fep/patches/patch-ai26
1 files changed, 15 insertions, 11 deletions
diff --git a/misc/fep/patches/patch-ai b/misc/fep/patches/patch-ai
index 8feea4050ba..727e201e165 100644
--- a/misc/fep/patches/patch-ai
+++ b/misc/fep/patches/patch-ai
@@ -1,9 +1,13 @@
-$NetBSD: patch-ai,v 1.3 2003/11/11 10:42:32 wiz Exp $
+$NetBSD: patch-ai,v 1.4 2005/12/10 22:10:47 christos Exp $
---- fep_hist.c.orig Fri Nov 25 12:45:42 1988
-+++ fep_hist.c
-@@ -6,6 +6,8 @@ static char rcsid[]=
- #endif lint
+--- fep_hist.c.orig 1988-11-25 06:45:42.000000000 -0500
++++ fep_hist.c 2005-12-10 16:59:27.000000000 -0500
+@@ -3,9 +3,11 @@
+ #ifndef lint
+ static char rcsid[]=
+ "$Header: /cvsroot/pkgsrc/misc/fep/patches/patch-ai,v 1.4 2005/12/10 22:10:47 christos Exp $ (SRA)";
+-#endif lint
++#endif /* lint */
#include <stdio.h>
+#include <stdlib.h>
@@ -11,7 +15,7 @@ $NetBSD: patch-ai,v 1.3 2003/11/11 10:42:32 wiz Exp $
#include <ctype.h>
#include "fep_defs.h"
#include "fep_glob.h"
-@@ -255,7 +257,7 @@ historyExtract(string)
+@@ -255,7 +257,7 @@
default:
{
@@ -20,7 +24,7 @@ $NetBSD: patch-ai,v 1.3 2003/11/11 10:42:32 wiz Exp $
strcpy (buf, "^");
strncat (buf, string, 64);
-@@ -267,6 +269,7 @@ historyExtract(string)
+@@ -267,6 +269,7 @@
char *
search_reverse_history (string)
@@ -28,7 +32,7 @@ $NetBSD: patch-ai,v 1.3 2003/11/11 10:42:32 wiz Exp $
{
register int i;
char *re_comp();
-@@ -291,6 +294,7 @@ search_reverse_history (string)
+@@ -291,6 +294,7 @@
char *
search_forward_history (string)
@@ -36,7 +40,7 @@ $NetBSD: patch-ai,v 1.3 2003/11/11 10:42:32 wiz Exp $
{
register int i;
char *re_comp();
-@@ -412,7 +416,7 @@ char *
+@@ -412,7 +416,7 @@
mk_home_relative (cp)
char *cp;
{
@@ -45,7 +49,7 @@ $NetBSD: patch-ai,v 1.3 2003/11/11 10:42:32 wiz Exp $
/*
* If variable "history-file" is not absolute path name,
-@@ -540,7 +544,7 @@ read_history (file)
+@@ -540,7 +544,7 @@
char *file;
{
FILE *fp;
@@ -54,7 +58,7 @@ $NetBSD: patch-ai,v 1.3 2003/11/11 10:42:32 wiz Exp $
register int i;
if ((fp = fopen (file, "r")) == NULL) {
-@@ -550,7 +554,7 @@ read_history (file)
+@@ -550,7 +554,7 @@
return;
}