Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2005/1207/1

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


Better maximums.
 [rsc] --rw-rw-r-- M 905070 glenda sys 37580 Dec  7 07:05 sys/src/cmd/scuzz/scuzz.c
	/n/sourcesdump/2005/1207/plan9/sys/src/cmd/scuzz/scuzz.c:134,140 - 
	/n/sourcesdump/2005/1208/plan9/sys/src/cmd/scuzz/scuzz.c:134,140
	  	char *p;
	  
	  	iosize = maxiosize;
	- 	nbytes = 0x7FFFFFFFFFFFULL & ~iosize;
	+ 	nbytes = ~0ULL >> 1;
	  	switch(argc){
	  
	  	default:
	/n/sourcesdump/2005/1207/plan9/sys/src/cmd/scuzz/scuzz.c:193,199 - 
	/n/sourcesdump/2005/1208/plan9/sys/src/cmd/scuzz/scuzz.c:193,199
	  	int fd, pid;
	  	char *p;
	  
	- 	nbytes = 0x7FFFFFFF & ~maxiosize;
	+ 	nbytes = ~0ULL >> 1;
	  	switch(argc){
	  
	  	default:


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