regen old patches, fix type of void function

This commit is contained in:
espie 2017-05-01 22:25:54 +00:00
parent f73e33a45e
commit 22a6c0fc38
8 changed files with 60 additions and 31 deletions

View File

@ -1,7 +1,17 @@
$OpenBSD: patch-h_eproto_h,v 1.1 2004/01/06 03:29:09 espie Exp $
--- h/eproto.h.orig 2004-01-06 04:24:49.000000000 +0100
+++ h/eproto.h 2004-01-06 04:25:04.000000000 +0100
@@ -552,7 +552,7 @@ extern int PASCAL NEAR backtagword(int f
$OpenBSD: patch-h_eproto_h,v 1.2 2017/05/01 22:25:54 espie Exp $
Index: h/eproto.h
--- h/eproto.h.orig
+++ h/eproto.h
@@ -422,7 +422,7 @@ extern int PASCAL NEAR setfillcol(int f, int n);
extern int PASCAL NEAR setgmode(int f, int n);
extern int PASCAL NEAR setmark(int f, int n);
extern int PASCAL NEAR setmod(int f, int n);
-extern int PASCAL NEAR setwlist(char *wclist);
+extern void PASCAL NEAR setwlist(char *wclist);
extern int PASCAL NEAR shellprog(char *cmd);
extern int PASCAL NEAR showcpos(int f, int n);
extern int PASCAL NEAR showfiles(int f, int n);
@@ -552,7 +552,7 @@ extern int PASCAL NEAR backtagword(int f, int n); /* r
char *strrev(char *);

View File

@ -1,7 +1,8 @@
$OpenBSD: patch-src_bind_c,v 1.1 2004/01/06 03:29:09 espie Exp $
--- src/bind.c.orig 1995-11-19 03:09:20.000000000 +0100
+++ src/bind.c 2004-01-06 04:20:22.000000000 +0100
@@ -634,7 +634,8 @@ int hflag; /* Look in the HOME environme
$OpenBSD: patch-src_bind_c,v 1.2 2017/05/01 22:25:54 espie Exp $
Index: src/bind.c
--- src/bind.c.orig
+++ src/bind.c
@@ -634,7 +634,8 @@ int hflag; /* Look in the HOME environment variable fi
register char *sp; /* pointer into path spec */
register int i; /* index */
static char fspec[NFILEN]; /* full path spec to search */
@ -11,7 +12,7 @@ $OpenBSD: patch-src_bind_c,v 1.1 2004/01/06 03:29:09 espie Exp $
/* if we have an absolute path.. check only there! */
sp = fname;
while (*sp) {
@@ -689,9 +690,11 @@ int hflag; /* Look in the HOME environme
@@ -689,9 +690,11 @@ int hflag; /* Look in the HOME environment variable fi
#if OS2
path = getenv("DPATH");
#else

View File

@ -1,7 +1,8 @@
$OpenBSD: patch-src_char_c,v 1.1 2004/01/06 03:29:09 espie Exp $
--- src/char.c.orig 1995-11-19 03:09:20.000000000 +0100
+++ src/char.c 2004-01-06 04:20:22.000000000 +0100
@@ -142,14 +142,14 @@ VOID PASCAL NEAR initchars() /* initiali
$OpenBSD: patch-src_char_c,v 1.2 2017/05/01 22:25:54 espie Exp $
Index: src/char.c
--- src/char.c.orig
+++ src/char.c
@@ -142,14 +142,14 @@ VOID PASCAL NEAR initchars() /* initialize the charact
lowcase[index] = index ^ DIFCASE;
upcase[index ^ DIFCASE] = index;
}

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_eval_c,v 1.1 2017/05/01 22:25:54 espie Exp $
Index: src/eval.c
--- src/eval.c.orig
+++ src/eval.c
@@ -1470,7 +1470,7 @@ xnext: ++sp;
/* setwlist: Set an alternative list of character to be
considered "in a word */
-PASCAL NEAR setwlist(wclist)
+void PASCAL NEAR setwlist(wclist)
char *wclist; /* list of characters to consider "in a word" */

View File

@ -1,6 +1,7 @@
$OpenBSD: patch-src_file_c,v 1.1 2004/01/06 03:29:09 espie Exp $
--- src/file.c.orig 1995-11-18 16:36:58.000000000 +0100
+++ src/file.c 2004-01-06 04:20:22.000000000 +0100
$OpenBSD: patch-src_file_c,v 1.2 2017/05/01 22:25:54 espie Exp $
Index: src/file.c
--- src/file.c.orig
+++ src/file.c
@@ -11,7 +11,7 @@
#include "eproto.h"
#include "edef.h"
@ -28,7 +29,7 @@ $OpenBSD: patch-src_file_c,v 1.1 2004/01/06 03:29:09 espie Exp $
while (cp1!=&fname[0] && cp1[-1]!='/')
--cp1;
#endif
@@ -600,7 +600,7 @@ char *mode; /* mode to open file (w = wr
@@ -600,7 +600,7 @@ char *mode; /* mode to open file (w = write a = append
int sflag; /* are we safe saving? */
char tname[NSTRING]; /* temporary file name */
char buf[NSTRING]; /* message buffer */
@ -37,7 +38,7 @@ $OpenBSD: patch-src_file_c,v 1.1 2004/01/06 03:29:09 espie Exp $
struct stat st; /* we need info about the file permisions */
#endif
@@ -680,14 +680,14 @@ char *mode; /* mode to open file (w = wr
@@ -680,14 +680,14 @@ char *mode; /* mode to open file (w = write a = append
strcat(buf, "s");
if (sflag) {

View File

@ -1,6 +1,7 @@
$OpenBSD: patch-src_input_c,v 1.1 2004/01/06 03:29:09 espie Exp $
--- src/input.c.orig 1995-12-29 19:10:12.000000000 +0100
+++ src/input.c 2004-01-06 04:20:22.000000000 +0100
$OpenBSD: patch-src_input_c,v 1.2 2017/05/01 22:25:54 espie Exp $
Index: src/input.c
--- src/input.c.orig
+++ src/input.c
@@ -47,7 +47,7 @@
#include "edef.h"
#include "elang.h"
@ -10,7 +11,7 @@ $OpenBSD: patch-src_input_c,v 1.1 2004/01/06 03:29:09 espie Exp $
#include <pwd.h>
extern struct passwd *getpwnam();
#endif
@@ -244,7 +244,7 @@ int maxlen; /* maximum length of input
@@ -244,7 +244,7 @@ int maxlen; /* maximum length of input field */
char *ptr; /* string pointer */
char user_name[NSTRING]; /* user name for directory */
static char buf[NSTRING];/* buffer to hold tentative name */
@ -19,7 +20,7 @@ $OpenBSD: patch-src_input_c,v 1.1 2004/01/06 03:29:09 espie Exp $
struct passwd *pwd; /* password structure */
#endif
@@ -353,7 +353,7 @@ int maxlen; /* maximum length of input
@@ -353,7 +353,7 @@ int maxlen; /* maximum length of input field */
--ttcol;
}

View File

@ -1,7 +1,8 @@
$OpenBSD: patch-src_keyboard_c,v 1.1 2004/01/06 03:29:09 espie Exp $
--- src/keyboard.c.orig 1995-11-18 16:36:58.000000000 +0100
+++ src/keyboard.c 2004-01-06 04:20:22.000000000 +0100
@@ -224,7 +224,7 @@ case 0x90: return(SPEC | CTRL | '+'); /*
$OpenBSD: patch-src_keyboard_c,v 1.2 2017/05/01 22:25:54 espie Exp $
Index: src/keyboard.c
--- src/keyboard.c.orig
+++ src/keyboard.c
@@ -224,7 +224,7 @@ case 0x90: return(SPEC | CTRL | '+'); /* ctrl grey + *
#endif
#endif

View File

@ -1,6 +1,7 @@
$OpenBSD: patch-src_lock_c,v 1.1 2004/01/06 03:29:09 espie Exp $
--- src/lock.c.orig 1995-11-19 03:09:22.000000000 +0100
+++ src/lock.c 2004-01-06 04:24:14.000000000 +0100
$OpenBSD: patch-src_lock_c,v 1.2 2017/05/01 22:25:54 espie Exp $
Index: src/lock.c
--- src/lock.c.orig
+++ src/lock.c
@@ -10,7 +10,7 @@
#if FILOCK
@ -10,7 +11,7 @@ $OpenBSD: patch-src_lock_c,v 1.1 2004/01/06 03:29:09 espie Exp $
#include <sys/errno.h>
extern int sys_nerr; /* number of system error messages defined */
extern char *sys_errlist[]; /* list of message texts */
@@ -158,7 +158,7 @@ char *errstr; /* lock error string to p
@@ -158,7 +158,7 @@ char *errstr; /* lock error string to print out */
strcpy(obuf, errstr);
strcat(obuf, " - ");