fixes to plumber and 9term
This commit is contained in:
parent
21a17ff3e9
commit
f161341946
4 changed files with 3 additions and 3 deletions
|
|
@ -1315,7 +1315,7 @@ plumb(uint q0, uint q1)
|
|||
char cbuf[100];
|
||||
char *w;
|
||||
|
||||
if(getchildwdir(pid, childwdir, sizeof childwdir) == 0)
|
||||
if(getchildwd(rcpid, childwdir, sizeof childwdir) == 0)
|
||||
w = childwdir;
|
||||
else
|
||||
w = wdir;
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ void scrdraw(void);
|
|||
void scroll(int);
|
||||
void hostproc(void *arg);
|
||||
void hoststart(void);
|
||||
void getchildwd(int, char*, int);
|
||||
int getchildwd(int, char*, int);
|
||||
void plumbstart(void);
|
||||
void plumb(uint, uint);
|
||||
void plumbclick(uint*, uint*);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
#include "9term.h"
|
||||
#include <libutil.h>
|
||||
|
||||
int
|
||||
getchildwd(int pid, char *wdir, int bufn)
|
||||
|
|
|
|||
|
|
@ -11,4 +11,3 @@ OFILES=\
|
|||
|
||||
LDFLAGS=-lframe -ldraw -lplumb -lthread -l9 -lfmt -lutf -L$X11/lib -lX11 -lutil
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue