Oops.
[rsc] --rw-rw-r-- M 431165 glenda sys 7080 Nov 29 10:51 sys/src/libplumb/mesg.c
/n/sourcesdump/2005/1129/plan9/sys/src/libplumb/mesg.c:15,23 -
/n/sourcesdump/2005/1130/plan9/sys/src/libplumb/mesg.c:15,23
return open(name, omode);
/* find elusive plumber */
- if(access("/mnt/plumb/send", OWRITE) >= 0)
+ if(access("/mnt/plumb/send", AWRITE) >= 0)
plumber = "/mnt/plumb";
- else if(access("/mnt/term/mnt/plumb/send", OWRITE) >= 0)
+ else if(access("/mnt/term/mnt/plumb/send", AWRITE) >= 0)
plumber = "/mnt/term/mnt/plumb";
else{
/* last resort: try mounting service */
/n/sourcesdump/2005/1129/plan9/sys/src/libplumb/mesg.c:32,38 -
/n/sourcesdump/2005/1130/plan9/sys/src/libplumb/mesg.c:32,38
close(f);
return -1;
}
- if(access("/mnt/plumb/send", OWRITE) < 0)
+ if(access("/mnt/plumb/send", AWRITE) < 0)
return -1;
}
|