Plan 9 from Bell Labs’s /usr/web/sources/extra/changes/2006/0311

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


kernel: various cleanups, attempt to fix mmu
 [rsc] --rw-rw-r-- M 413509 glenda sys 21147 Mar 11 09:19 sys/src/9/port/devaudio.c
	/n/sourcesdump/2006/0311/plan9/sys/src/9/port/devaudio.c:1206,1211 - 
	/n/sourcesdump/2006/0312/plan9/sys/src/9/port/devaudio.c:1206,1212
	  				audio.filling = 0;
	  				swab(b->virt);
	  				putbuf(&audio.full, b);
	+ 				pokeaudio();
	  			}
	  		}
	  		poperror();
 [rsc] --rw-rw-r-- M 413509 glenda sys 28500 Mar 11 09:20 sys/src/9/port/devproc.c
	/n/sourcesdump/2006/0311/plan9/sys/src/9/port/devproc.c:1395,1401 - 
	/n/sourcesdump/2006/0312/plan9/sys/src/9/port/devproc.c:1395,1401
	  			p->trace ^= 1;
	  			break;
	  		case 2:
	- 			p->trace = atoi(cb->f[1])?1:0;
	+ 			p->trace = (atoi(cb->f[1]) != 0);
	  			break;
	  		default:
	  			error("args");
 [rsc] --rw-rw-r-- M 413509 glenda sys 25229 Mar 11 19:45 sys/src/9/pc/mmu.c
	[diffs elided - too long]
	[diff -c /n/sourcesdump/2006/0311/plan9/sys/src/9/pc/mmu.c /n/sourcesdump/2006/0312/plan9/sys/src/9/pc/mmu.c]

faces: avoid 512x directories
 [rsc] --rw-rw-r-- M 413509 glenda sys 10551 Mar 11 09:20 sys/src/cmd/faces/facedb.c
	/n/sourcesdump/2006/0311/plan9/sys/src/cmd/faces/facedb.c:275,281 - 
	/n/sourcesdump/2006/0312/plan9/sys/src/cmd/faces/facedb.c:275,281
	  	while((n = dirread(fd, &d)) > 0){
	  		for(i=0; i<n; i++){
	  			if((d[i].mode&DMDIR)
	- 			&& strncmp(d[i].name, "512x512x", 8) != 0
	+ 			&& strncmp(d[i].name, "512x", 4) != 0
	  			&& strncmp(d[i].name, "48x48x", 6) != 0){
	  				ndir = emalloc(strlen(dir)+1+strlen(d[i].name)+1);
	  				strcpy(ndir, dir);


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.