commit 915ce5c28fb8a5413d307ec978ec0c9b85fa72fe from: rsc date: Tue Nov 25 03:03:30 2003 UTC fix libplumb commit - f16134194619967ffa53151eeb9538b127aae850 commit + 915ce5c28fb8a5413d307ec978ec0c9b85fa72fe blob - ba80ef2a4648d13424cb428a5ce820e1b578c396 blob + 8678d753fa954b55073739bc5a4cecf6d72c9be7 --- src/libplumb/mesg.c +++ src/libplumb/mesg.c @@ -9,8 +9,10 @@ char *home; int plumbopen(char *name, int omode) { +#if 0 int fd, f; char *s; +#endif char buf[256]; if(name[0] == '/') @@ -21,19 +23,20 @@ plumbopen(char *name, int omode) 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 @@ -1,10 +1,11 @@ -