Plan 9 from Bell Labs’s /usr/web/sources/extra/changes/2005/1129

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


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


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].