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

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


mach.h: add ObjSpim.
 [rsc] --rw-rw-r-- M 128579 glenda sys 8641 Mar 31 09:12 sys/include/mach.h
	/n/sourcesdump/2006/0331/plan9/sys/include/mach.h:92,97 - 
	/n/sourcesdump/2006/0401/plan9/sys/include/mach.h:92,98
	  	ObjAlpha,		/* .7 */
	  	ObjSparc64,		/* .u */
	  	ObjAmd64,		/* .6 */
	+ 	ObjSpim,		/* .0 */
	  	Maxobjtype,
	  
	  	CNONE  = 0,		/* symbol table classes */

plumb/basic: allow . in http names
 [rsc] --rw-rw-r-- M 128579 glenda sys 2878 Mar 31 09:10 sys/lib/plumb/basic
	/n/sourcesdump/2006/0331/plan9/sys/lib/plumb/basic:9,15 - 
	/n/sourcesdump/2006/0401/plan9/sys/lib/plumb/basic:9,15
	  
	  # cheap http/gif,jpeg,ps,pdf renderer
	  type is text
	- data matches '(https?|ftp|file|gopher|mailto|news|nntp|telnet|wais|prospero)://[a-zA-Z0-9_@\-]+([.:][a-zA-Z0-9_@\-]+)*/?[a-zA-Z0-9_?,%#~&/\-+=]+([:.][a-zA-Z0-9_?,%#~&/\-+=]+)*\.(jpe?g|JPE?G|gif|GIF|ps|PS|pdf|PDF|png|PNG)'
	+ data matches '(https?|ftp|file|gopher|mailto|news|nntp|telnet|wais|prospero)://[a-zA-Z0-9_@\-]+([.:][a-zA-Z0-9_@\-]+)*/?[a-zA-Z0-9_?.,%#~&/\-+=]+([:.][a-zA-Z0-9_?,%#~&/\-+=]+)*\.(jpe?g|JPE?G|gif|GIF|ps|PS|pdf|PDF|png|PNG)'
	  plumb start rc -c 'hget '$0' | page -w'
	  
	  # rtf files go to wdoc2txt

ndb(8): formatting fixes
 [rsc] --rw-rw-r-- M 128579 glenda sys 10087 Mar 31 09:12 sys/man/8/ndb
	/n/sourcesdump/2006/0331/plan9/sys/man/8/ndb:227,232 - 
	/n/sourcesdump/2006/0401/plan9/sys/man/8/ndb:227,233
	  	dns=ns2.cs.bell-labs.com
	  dom=ns1.cs.bell-labs.com ip=135.104.1.11
	  dom=ns2.cs.bell-labs.com ip=135.104.1.12
	+ .EE
	  .PP
	  The server for a domain is indicated by a database entry containing
	  both a
	/n/sourcesdump/2006/0331/plan9/sys/man/8/ndb:244,250 - 
	/n/sourcesdump/2006/0401/plan9/sys/man/8/ndb:245,250
	  dom=A.ROOT-SERVERS.NET ip=198.41.0.4
	  dom=B.ROOT-SERVERS.NET ip=128.9.0.107
	  dom=C.ROOT-SERVERS.NET ip=192.33.4.12
	- 
	  .EE
	  The last three lines provide a mapping for the
	  server names to their ip addresses.  This is only

libmach: rearrange mips2 files
 [rsc] --rw-rw-r-- M 128579 rsc sys 886 Mar 31 11:11 sys/src/libmach/mips2ureg.h
 [rsc] --rw-rw-r-- M 128579 glenda sys 4167 Mar 31 14:49 sys/src/libmach/0.c
	/n/sourcesdump/2006/0331/plan9/sys/src/libmach/0.c:1,9 - 
	/n/sourcesdump/2006/0401/plan9/sys/src/libmach/0.c:1,11
	  /*
	   * mips r4k definition
	+  *
	+  * currently no compiler - not related to 0c
	   */
	  #include <u.h>
	  #include <bio.h>
	- #include "0c/ureg.h"
	+ #include "mips2ureg.h"
	  #include <mach.h>
	  
	  #define	FPREGBYTES	4
	/n/sourcesdump/2006/0331/plan9/sys/src/libmach/0.c:109,114 - 
	/n/sourcesdump/2006/0401/plan9/sys/src/libmach/0.c:111,117
	  	0x1000,		/* page size */
	  	0xC0000000,	/* kernel base */
	  	0x40000000,	/* kernel text mask */
	+ 	0x7FFFFFFFULL,	/* user stack top */
	  	4,		/* quantization of pc */
	  	4,		/* szaddr */
	  	8,		/* szreg */

upas/marshal: encode UTF8 in subject lines
 [rsc] --rw-rw-r-- M 128579 glenda sys 33818 Mar 31 12:48 sys/src/cmd/upas/marshal/marshal.c
	[diffs elided - too long]
	[diff -c /n/sourcesdump/2006/0331/plan9/sys/src/cmd/upas/marshal/marshal.c /n/sourcesdump/2006/0401/plan9/sys/src/cmd/upas/marshal/marshal.c]
 [rsc] --rw-rw-r-- M 128579 glenda sys 4272 Mar 31 17:59 sys/src/cmd/upas/fs/dat.h
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/upas/fs/dat.h:134,140 - 
	/n/sourcesdump/2006/0401/plan9/sys/src/cmd/upas/fs/dat.h:134,140
	  int		cistrcmp(char*, char*);
	  int		latin1toutf(char*, char*, char*);
	  int		windows1257toutf(char*, char*, char*);
	- int		decquoted(char*, char*, char*);
	+ int		decquoted(char*, char*, char*, int);
	  int		xtoutf(char*, char**, char*, char*);
	  void		countlines(Message*);
	  int		headerlen(Message*);
 [rsc] --rw-rw-r-- M 128579 glenda sys 27463 Mar 31 17:59 sys/src/cmd/upas/fs/fs.c
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/upas/fs/fs.c:1403,1409 - 
	/n/sourcesdump/2006/0401/plan9/sys/src/cmd/upas/fs/fs.c:1403,1409
	  		decoded[len] = 0;
	  	} else if(cistrncmp(token, "q?", 2) == 0){
	  		token += 2;
	- 		len = decquoted(decoded, token, e);
	+ 		len = decquoted(decoded, token, e, 1);
	  		if(len > 0 && decoded[len-1] == '\n')
	  			len--;
	  		decoded[len] = 0;
 [rsc] --rw-rw-r-- M 128579 glenda sys 29022 Mar 31 17:59 sys/src/cmd/upas/fs/mbox.c
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/upas/fs/mbox.c:1042,1048 - 
	/n/sourcesdump/2006/0401/plan9/sys/src/cmd/upas/fs/mbox.c:1042,1048
	  	case Equoted:
	  		len = m->bend - m->body;
	  		x = emalloc(len+2);	// room for null and possible extra nl
	- 		len = decquoted(x, m->body, m->bend);
	+ 		len = decquoted(x, m->body, m->bend, 0);
	  		if(m->ballocd)
	  			free(m->body);
	  		m->body = x;
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/upas/fs/mbox.c:1189,1195 - 
	/n/sourcesdump/2006/0401/plan9/sys/src/cmd/upas/fs/mbox.c:1189,1195
	  }
	  
	  static char*
	- decquotedline(char *out, char *in, char *e)
	+ decquotedline(char *out, char *in, char *e, int uscores)
	  {
	  	int c, soft;
	  
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/upas/fs/mbox.c:1208,1213 - 
	/n/sourcesdump/2006/0401/plan9/sys/src/cmd/upas/fs/mbox.c:1208,1215
	  		c = (*in++) & 0xff;
	  		switch(tableqp[c]){
	  		case Self:
	+ 			if(uscores && c == '_')
	+ 				c = ' ';
	  			*out++ = c;
	  			break;
	  		case Hex:
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/upas/fs/mbox.c:1225,1231 - 
	/n/sourcesdump/2006/0401/plan9/sys/src/cmd/upas/fs/mbox.c:1227,1233
	  }
	  
	  int
	- decquoted(char *out, char *in, char *e)
	+ decquoted(char *out, char *in, char *e, int uscores)
	  {
	  	char *p, *nl;
	  
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/upas/fs/mbox.c:1234,1244 - 
	/n/sourcesdump/2006/0401/plan9/sys/src/cmd/upas/fs/mbox.c:1236,1246
	  
	  	p = out;
	  	while((nl = strchr(in, '\n')) != nil && nl < e){
	- 		p = decquotedline(p, in, nl);
	+ 		p = decquotedline(p, in, nl, uscores);
	  		in = nl + 1;
	  	}
	  	if(in < e)
	- 		p = decquotedline(p, in, e-1);
	+ 		p = decquotedline(p, in, e-1, uscores);
	  
	  	// make sure we end with a new line
	  	if(*(p-1) != '\n'){

timezone/US_East-Indiana - prepare for first ever daylight savings change
 [rsc] --rw-rw-r-- M 128579 glenda sys 726 Mar 31 17:38 adm/timezone/US_East-Indiana
	/n/sourcesdump/2006/0331/plan9/adm/timezone/US_East-Indiana:1 - 
	/n/sourcesdump/2006/0401/plan9/adm/timezone/US_East-Indiana:1,12
	- EST -18000 EST -18000
	+ EST -18000 EDT -14400
	+ 1143943200 1162083600 1175392800 1193533200 1207447200 1224982800
	+ 1238896800 1256432400 1270346400 1288486800 1301796000 1319936400
	+ 1333245600 1351386000 1365300000 1382835600 1396749600 1414285200
	+ 1428199200 1445734800 1459648800 1477789200 1491098400 1509238800
	+ 1522548000 1540688400 1554602400 1572138000 1586052000 1603587600
	+ 1617501600 1635642000 1648951200 1667091600 1680400800 1698541200
	+ 1712455200 1729990800 1743904800 1761440400 1775354400 1792890000
	+ 1806804000 1824944400 1838253600 1856394000 1869703200 1887843600
	+ 1901757600 1919293200 1933207200 1950742800 1964656800 1982797200
	+ 1996106400 2014246800 2027556000 2045696400 2059005600 2077146000
	+ 2091060000 2108595600 2122509600 2140045200


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.