Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2005/1229/4

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


8-bit fixes.
 [jmk] --rw-rw-r-- M 1092710 sape sys 12915 Dec 29 17:54 sys/src/cmd/usb/lib/dump.c
	/n/sourcesdump/2005/1229/plan9/sys/src/cmd/usb/lib/dump.c:515,523 - 
	/n/sourcesdump/2005/1230/plan9/sys/src/cmd/usb/lib/dump.c:515,522
	  			if (d->nif <= ep) d->nif = ep+1;
	  			break;
	  		default:
	- 			f = nil;
	- 			if(b[1] < nelem(dprinter))
	- 				f = dprinter[b[1]];
	+ 			assert(nelem(dprinter) == 0x100);
	+ 			f = dprinter[b[1]];
	  			if(f != nil) {
	  				(*f)(d, c, (dalt<<24) | (ifc<<16) | (csp&0xffff), b, b[0]);
	  				if (debug & Dbginfo)


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