diff options
Diffstat (limited to 'inputmethod/skkfep/patches/patch-bc')
-rw-r--r-- | inputmethod/skkfep/patches/patch-bc | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/inputmethod/skkfep/patches/patch-bc b/inputmethod/skkfep/patches/patch-bc index 17fd65bd7d5..15b8023e5ef 100644 --- a/inputmethod/skkfep/patches/patch-bc +++ b/inputmethod/skkfep/patches/patch-bc @@ -1,8 +1,8 @@ -$NetBSD: patch-bc,v 1.1.1.1 2002/05/31 13:00:04 seb Exp $ +$NetBSD: patch-bc,v 1.2 2005/12/30 16:05:55 joerg Exp $ ---- connsh.c.orig Tue Sep 22 01:50:12 1998 -+++ connsh.c Sun Sep 27 13:41:53 1998 -@@ -21,6 +21,10 @@ +--- connsh.c.orig 1998-09-21 16:50:12.000000000 +0000 ++++ connsh.c +@@ -21,6 +21,10 @@ extern struct passwd *getpwent(), *getpw #define vfork fork #endif @@ -13,7 +13,16 @@ $NetBSD: patch-bc,v 1.1.1.1 2002/05/31 13:00:04 seb Exp $ #define DEVICELEN 16 #define DEFAULT_SHELL "/bin/csh" -@@ -171,8 +175,9 @@ +@@ -94,8 +98,6 @@ int ShellPID; + + char SlaveName[DEVICELEN]; + +-extern int errno; +- + #ifdef NO_SETEUID + # ifdef HAVE_SETREUID + # define seteuid(e) setreuid(-1, (e)) +@@ -171,8 +173,9 @@ establishShell() #endif /* not HPUX */ if((i = vfork()) < 0) { @@ -25,7 +34,7 @@ $NetBSD: patch-bc,v 1.1.1.1 2002/05/31 13:00:04 seb Exp $ } if(i == 0) { /* child */ -@@ -226,6 +231,10 @@ +@@ -226,6 +229,10 @@ establishShell() dup2(slave,1); dup2(slave,2); close(slave); |