commit - f16134194619967ffa53151eeb9538b127aae850
commit + 915ce5c28fb8a5413d307ec978ec0c9b85fa72fe
blob - ba80ef2a4648d13424cb428a5ce820e1b578c396
blob + 8678d753fa954b55073739bc5a4cecf6d72c9be7
--- src/libplumb/mesg.c
+++ src/libplumb/mesg.c
int
plumbopen(char *name, int omode)
{
+#if 0
int fd, f;
char *s;
+#endif
char buf[256];
if(name[0] == '/')
return -1;
}
snprint(buf, sizeof buf, "%s/mnt/plumb", home);
-/* fd = open(buf, omode);
+#if 0
+ fd = open(buf, omode);
if(fd >= 0)
return fd;
snprint(buf, sizeof buf, "/mnt/term/mnt/plumb/%s", name);
fd = open(buf, omode);
if(fd >= 0)
return fd;
- /* try mounting service * /
+ /* try mounting service */
s = getenv("plumbsrv");
if(s == nil)
return -1;
snprint(buf, sizeof buf, "/mnt/plumb/%s", name);
-*/
+#endif
return open(buf, omode);
}
blob - a7b0b579ff786dac345f7018eb593cc1d289506f
blob + e2d42eddb8c198459535fe8aea9f90de25f262d8
--- src/libplumb/mkfile
+++ src/libplumb/mkfile
-</$objtype/mkfile
+PLAN9=../..
+<$PLAN9/src/mkhdr
-LIB=/$objtype/lib/libplumb.a
+LIB=libplumb.a
OFILES=\
event.$O\
mesg.$O\
-HFILES=/sys/include/plumb.h
+HFILES=$PLAN9/include/plumb.h
-</sys/src/cmd/mksyslib
+<$PLAN9/src/mksyslib