Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2006/0312/9

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


kernel: remove various wrong code
 [rsc] --rw-rw-r-- M 467740 glenda sys 22993 Mar 12 10:33 sys/src/9/port/devcons.c
	/n/sourcesdump/2006/0312/plan9/sys/src/9/port/devcons.c:397,403 - 
	/n/sourcesdump/2006/0313/plan9/sys/src/9/port/devcons.c:397,402
	  echo(char *buf, int n)
	  {
	  	static int ctrlt, pid;
	- 	extern ulong etext;
	  	int x;
	  	char *e, *p;
	  
 [rsc] --rw-rw-r-- M 467740 presotto sys 19576 Mar 12 10:33 sys/src/9/ppc/etherfcc.c
	/n/sourcesdump/2006/0312/plan9/sys/src/9/ppc/etherfcc.c:684,690 - 
	/n/sourcesdump/2006/0313/plan9/sys/src/9/ppc/etherfcc.c:684,690
	  		return -1;
	  	}
	  
	- 	if(!(ether->port >= 0 && ether->port < 3)){
	+ 	if(ether->port > 3){
	  		print("%s ether: no FCC port %ld\n", ether->type, ether->port);
	  		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].