ref: 748a95266fccc6ad85913fbaa9fc197ccfdf728c
parent: 081bbcf0a1f25f71bd12e3853ede060b8a82f155
author: BurnZeZ <brz-9dev@intma.in>
date: Sat Oct 11 07:47:38 EDT 2014
rio: fix "-cd dir" in mountspec being ignored
--- a/sys/src/cmd/rio/xfid.c
+++ b/sys/src/cmd/rio/xfid.c
@@ -179,6 +179,7 @@
qlock(&all);
w = nil;
err = Eunkid;
+ dir = nil;
newlymade = FALSE;
hideit = 0;
scrollit = scrolling;
@@ -209,7 +210,7 @@
if(i){
if(pid == 0)
pid = -1; /* make sure we don't pop a shell! - UGH */
- w = new(i, hideit, scrollit, pid, nil, nil, nil);
+ w = new(i, hideit, scrollit, pid, dir, nil, nil);
newlymade = TRUE;
}else
err = Ewindow;