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

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


4scores, 5scores: set a666 mode
 [jmk] a-rw-rw-r-- M 898628 jmk sys 0 Jun 13  2005 sys/games/lib/4scores
 [jmk] a-rw-rw-r-- M 898628 jmk sys 0 Jun 13  2005 sys/games/lib/5scores
 [rsc] --rw-rw-r-- M 898628 rsc sys 2744 Mar 20 08:49 dist/replica/plan9.proto
	/n/sourcesdump/2006/0320/plan9/dist/replica/plan9.proto:73,79 - 
	/n/sourcesdump/2006/0321/plan9/dist/replica/plan9.proto:73,88
	  	doc	- sys sys
	  		+	- sys sys
	  	games	- sys sys
	- 		+	- sys sys
	+ 		lib	- sys sys
	+ 			4scores	a666 sys sys
	+ 			5scores	a666 sys sys
	+ 			fortunes	- sys sys
	+ 			mahjongg	- sys sys
	+ 				+	- sys sys
	+ 			sokoban	- sys sys
	+ 				+	- sys sys
	+ 			sudoku	- sys sys
	+ 				+	- sys sys
	  	include	- sys sys
	  		+	- sys sys
	  	lib	- sys sys
 [jmk] d-rwxrwxr-x M 898628 jmk sys 0 May 27  2005 sys/games/sudoku

httpd: used and not set bug
 [rsc] --rw-rw-r-- M 898628 glenda sys 3054 Mar 20 08:46 sys/src/cmd/ip/httpd/log.c
	/n/sourcesdump/2006/0320/plan9/sys/src/cmd/ip/httpd/log.c:44,49 - 
	/n/sourcesdump/2006/0321/plan9/sys/src/cmd/ip/httpd/log.c:44,50
	  
	  	if(c == nil)
	  		return;
	+ 	p = c->private;
	  	bufe = buf + sizeof(buf);
	  	now = time(nil);
	  	tm = gmtime(now);
	/n/sourcesdump/2006/0320/plan9/sys/src/cmd/ip/httpd/log.c:52,58 - 
	/n/sourcesdump/2006/0321/plan9/sys/src/cmd/ip/httpd/log.c:53,58
	  	/* verbose logfile, for research on web traffic */
	  	logfd = logall[today & 1];
	  	if(logfd > 0){
	- 		p = c->private;
	  		if(c->hstop == c->header || c->hstop[-1] != '\n')
	  			*c->hstop = '\n';
	  		*c->hstop = '\0';

libdraw: handle displayless font access
 [rsc] --rw-rw-r-- M 898628 glenda sys 4179 Mar 20 08:53 sys/src/libdraw/alloc.c
	/n/sourcesdump/2006/0320/plan9/sys/src/libdraw/alloc.c:201,207 - 
	/n/sourcesdump/2006/0321/plan9/sys/src/libdraw/alloc.c:201,207
	  	Display *d;
	  	Image *w;
	  
	- 	if(i == 0)
	+ 	if(i == 0 || i->display == 0)
	  		return 0;
	  	/* make sure no refresh events occur on this if we block in the write */
	  	d = i->display;
 [rsc] --rw-rw-r-- M 898628 glenda sys 9108 Mar 20 08:53 sys/src/libdraw/init.c
	/n/sourcesdump/2006/0320/plan9/sys/src/libdraw/init.c:419,424 - 
	/n/sourcesdump/2006/0321/plan9/sys/src/libdraw/init.c:419,426
	  int
	  flushimage(Display *d, int visible)
	  {
	+ 	if(d == nil)
	+ 		return 0;
	  	if(visible){
	  		*d->bufp++ = 'v';	/* five bytes always reserved for this */
	  		if(d->_isnewdisplay){
 [rsc] --rw-rw-r-- M 898628 glenda sys 1054 Mar 20 08:53 sys/src/libdraw/readsubfont.c
	/n/sourcesdump/2006/0320/plan9/sys/src/libdraw/readsubfont.c:54,60 - 
	/n/sourcesdump/2006/0321/plan9/sys/src/libdraw/readsubfont.c:54,60
	  }
	  
	  Subfont*
	- readsubfont(Display*d, char *name, int fd, int dolock)
	+ readsubfont(Display *d, char *name, int fd, int dolock)
	  {
	  	return readsubfonti(d, name, fd, nil, dolock);
	  }

fsconfig(8): remove doubled paragraph about halt
 [geoff] --rw-rw-r-- M 898628 glenda fs 8281 Mar 20 20:55 sys/man/8/fsconfig
	/n/sourcesdump/2006/0320/plan9/sys/man/8/fsconfig:323,333 - 
	/n/sourcesdump/2006/0321/plan9/sys/man/8/fsconfig:323,328
	  and loop.
	  It knows how to read a fake worm file system.
	  .PP
	- .I Halt
	- will cause the server to
	- .I immediately
	- exit and reboot.
	- .PP
	  .I Copydev
	  will copy the device
	  .I from-dev


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.