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

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


64-bit fixes.
 [jmk] --rwxrwxr-- M 107020 glenda sys 8676 Nov 19 20:33 sys/src/cmd/7l/pass.c
	/n/sourcesdump/2005/1119/plan9/sys/src/cmd/7l/pass.c:130,138 - 
	/n/sourcesdump/2005/1120/plan9/sys/src/cmd/7l/pass.c:130,138
	  				continue;
	  			/* size should be 19 max */
	  			if(strlen(s->name) >= 10)	/* has loader address */ 
	- 				sprint(literal, "$%lux.%lux", (long)s, (long)p->from.offset);
	+ 				sprint(literal, "$%p.%llux", s, p->from.offset);
	  			else
	- 				sprint(literal, "$%s.%d.%lux", s->name, s->version, (long)p->from.offset);
	+ 				sprint(literal, "$%s.%d.%llux", s->name, s->version, p->from.offset);
	  		} else {
	  			if(p->from.name != D_NONE)
	  				continue;


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.