Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2005/1119/23

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


64-bit fixes.
 [jmk] --rw-rw-r-- M 107020 presotto sys 12318 Nov 19 20:57 sys/src/cmd/fossil/flfmt9660.c
	/n/sourcesdump/2005/1119/plan9/sys/src/cmd/fossil/flfmt9660.c:515,521 - 
	/n/sourcesdump/2005/1120/plan9/sys/src/cmd/fossil/flfmt9660.c:515,521
	  	ind++;
	  	memset(&d, 0, sizeof d);
	  	p = c->name + c->namelen;
	- 	if(((ulong)p) & 1)
	+ 	if(((uintptr)p) & 1)
	  		p++;
	  	sysl = (uchar*)c + c->len - p;
	  	if(sysl <= 0)
	/n/sourcesdump/2005/1119/plan9/sys/src/cmd/fossil/flfmt9660.c:523,529 - 
	/n/sourcesdump/2005/1120/plan9/sys/src/cmd/fossil/flfmt9660.c:523,529
	  	d.name = getname(&p);
	  	d.uid = getname(&p);
	  	d.gid = getname(&p);
	- 	if((ulong)p & 1)
	+ 	if((uintptr)p & 1)
	  		p++;
	  	d.mode = little(p, 4);
	  	if(d.name[0] == 0)


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