Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2005/1106/14

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


More buffering changes.
 [rsc] --rw-rw-r-- M 451989 glenda sys 23883 Nov  6 11:10 sys/src/cmd/cc/lex.c
	/n/sourcesdump/2005/1106/plan9/sys/src/cmd/cc/lex.c:188,193 - 
	/n/sourcesdump/2005/1107/plan9/sys/src/cmd/cc/lex.c:188,194
	  		}
	  		Binit(&outbuf, c, OWRITE);
	  	}
	+ 	Binit(&diagbuf, 1, OWRITE);
	  	newio();
	  
	  	/* Use an ANSI preprocessor */
	/n/sourcesdump/2005/1106/plan9/sys/src/cmd/cc/lex.c:232,238 - 
	/n/sourcesdump/2005/1107/plan9/sys/src/cmd/cc/lex.c:233,239
	  			if(debug['p'] > 1) {
	  				for(c = 0; c < i; c++)
	  					fprint(2, "%s ", av[c]);
	- 				print("\n");
	+ 				fprint(2, "\n");
	  			}
	  			myexec(av[0], av);
	  			fprint(2, "can't exec C preprocessor %s: %r\n", CPP);
	/n/sourcesdump/2005/1106/plan9/sys/src/cmd/cc/lex.c:1458,1464 - 
	/n/sourcesdump/2005/1107/plan9/sys/src/cmd/cc/lex.c:1459,1465
	  {
	  	void *p;
	  
	- 	while((ulong)hunk & MAXALIGN) {
	+ 	while((uintptr)hunk & MAXALIGN) {
	  		hunk++;
	  		nhunk--;
	  	}
 [rsc] --rw-rw-r-- M 451989 glenda sys 9188 Nov  6 11:10 sys/src/cmd/cc/lexbody
	/n/sourcesdump/2005/1106/plan9/sys/src/cmd/cc/lexbody:45,51 - 
	/n/sourcesdump/2005/1107/plan9/sys/src/cmd/cc/lexbody:45,51
	  {
	  	void *p;
	  
	- 	while((ulong)hunk & MAXALIGN) {
	+ 	while((uintptr)hunk & MAXALIGN) {
	  		hunk++;
	  		nhunk--;
	  	}


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