fixes to plumber and 9term

This commit is contained in:
rsc 2003-11-25 03:02:54 +00:00
parent 21a17ff3e9
commit f161341946
4 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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*);

View file

@ -1,4 +1,5 @@
#include "9term.h"
#include <libutil.h>
int
getchildwd(int pid, char *wdir, int bufn)

View file

@ -11,4 +11,3 @@ OFILES=\
LDFLAGS=-lframe -ldraw -lplumb -lthread -l9 -lfmt -lutf -L$X11/lib -lX11 -lutil