Plan 9 from Bell Labs’s /usr/web/sources/extra/changes/2006/0102

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


More 64-bit fixes.
 [jmk] --rw-rw-r-- M 106895 glenda sys 14263 Jan  2 11:26 sys/src/cmd/lex/parser.y
	/n/sourcesdump/2006/0102/plan9/sys/src/cmd/lex/parser.y:120,126 - 
	/n/sourcesdump/2006/0103/plan9/sys/src/cmd/lex/parser.y:120,126
	  			}
	  		else
	  			p = psave;
	- 		$$.i = mnp(RCCL, (uchar*)p);
	+ 		$$.i = mnp(RCCL, p);
	  		cclinter(1);
	  		}
	  	| CCL
	/n/sourcesdump/2006/0102/plan9/sys/src/cmd/lex/parser.y:254,260 - 
	/n/sourcesdump/2006/0103/plan9/sys/src/cmd/lex/parser.y:254,261
	  						right = myalloc(treesize,sizeof(*right));
	  						nullstr = myalloc(treesize,sizeof(*nullstr));
	  						parent = myalloc(treesize,sizeof(*parent));
	- 						if(name == 0 || left == 0 || right == 0 || parent == 0 || nullstr == 0)
	+ 						ptr = myalloc(treesize,sizeof(*ptr));
	+ 						if(name == 0 || left == 0 || right == 0 || parent == 0 || nullstr == 0 || ptr == 0)
	  							error("Too little core for parse tree");
	  						return(freturn(DELIM));
	  					case 'p': case 'P':	/* has overridden number of positions */


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].