Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2005/1002/3

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


64-bit fix.
 [rsc] --rw-rw-r-- M 733409 glenda sys 3126 Oct  2 08:11 sys/src/cmd/9660srv/iobuf.c
	/n/sourcesdump/2005/1002/plan9/sys/src/cmd/9660srv/iobuf.c:42,48 - 
	/n/sourcesdump/2005/1003/plan9/sys/src/cmd/9660srv/iobuf.c:42,48
	  
	  	n = NCLUST*sizeof(Ioclust)+NCLUST*BUFPERCLUST*(sizeof(Iobuf)+Sectorsize);
	  	mem = sbrk(n);
	- 	if((long)mem == -1)
	+ 	if(mem == (void*)-1)
	  		panic(0, "iobuf_init");
	  	memset(mem, 0, n);
	  


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