master hovercats/oakiss / pkg / rc / patch / 0001-Use-proc-self-fd-0-instead-of-dev-fd-0.patch
 1From 40656566e36b0eb4b557a522c9c309bd5d845cec Mon Sep 17 00:00:00 2001
 2From: Michael Forney <mforney@mforney.org>
 3Date: Mon, 4 Nov 2019 20:59:30 -0800
 4Subject: [PATCH] Use /proc/self/fd/0 instead of /dev/fd/0
 5
 6---
 7 rcmain.unix | 4 ++--
 8 1 file changed, 2 insertions(+), 2 deletions(-)
 9
10diff --git a/rcmain.unix b/rcmain.unix
11index 7ccbe1b..2aa9ddb 100644
12--- a/rcmain.unix
13+++ b/rcmain.unix
14@@ -29,9 +29,9 @@ if not if(flag i){
15 	}
16 	status=''
17 	if(! ~ $#* 0) . $*
18-	. -i /dev/fd/0
19+	. -i /proc/self/fd/0
20 }
21-if not if(~ $#* 0) . /dev/fd/0
22+if not if(~ $#* 0) . /proc/self/fd/0
23 if not{
24 	status=''
25 	. $*
26-- 
272.45.2
28