git: 9front

Download patch

ref: ede8578100322bb57d09d07a6e15202906032e28
parent: b21aea5e4ffbfb9066dcb9b0840d370ff3e58974
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Dec 12 16:21:22 EST 2022

rc: use /fd/0 for standard-input instead of '#d/0' in non-interactive mode

--- a/rc/lib/rcmain
+++ b/rc/lib/rcmain
@@ -32,7 +32,7 @@
 	if(! ~ $#* 0) . $*
 	. -i /fd/0
 }
-if not if(~ $#* 0) . '#d/0'
+if not if(~ $#* 0) . /fd/0
 if not{
 	status=''
 	. $*
--