Plan 9 from Bell Labs’s /usr/web/sources/extra/changes/2005/1215

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


Purging.
 [rsc] --rw-rw-r-- M 318707 glenda sys 20918 Dec 15 10:16 sys/src/9/port/devmnt.c
	/n/sourcesdump/2005/1215/plan9/sys/src/9/port/devmnt.c:477,502 - 
	/n/sourcesdump/2005/1216/plan9/sys/src/9/port/devmnt.c:477,485
	  	r->request.fid = c->fid;
	  	mountrpc(m, r);
	  
	- 	if(r->reply.nstat >= 1<<(8*BIT16SZ))
	- 		error("returned stat buffer count too large");
	- 
	  	if(r->reply.nstat > n){
	- 		/*
	- 		 * 12/31/2002 RSC
	- 		 * 
	- 		 * This should be nstat-2, which is the first two
	- 		 * bytes of the stat buffer.  But dirstat and dirfstat
	- 		 * depended on getting the full nstat (they didn't
	- 		 * add BIT16SZ themselves).  I fixed dirstat and dirfstat
	- 		 * but am leaving this unchanged for now.  After a
	- 		 * few months, once enough of the relevant binaries
	- 		 * have been recompiled for other reasons, we can
	- 		 * change this to nstat-2.  Devstat gets this right
	- 		 * (via convD2M).
	- 		 */
	- 		/* doesn't fit; just patch the count and return */
	- 		PBIT16((uchar*)dp, r->reply.nstat);
	  		n = BIT16SZ;
	+ 		PBIT16((uchar*)dp, r->reply.nstat-2);
	  	}else{
	  		n = r->reply.nstat;
	  		memmove(dp, r->reply.stat, n);

Usage update.
 [rsc] --rw-rw-r-- M 318707 jmk sys 13922 Dec 15 10:16 sys/src/cmd/aux/msexceltables.c
	/n/sourcesdump/2005/1215/plan9/sys/src/cmd/aux/msexceltables.c:703,709 - 
	/n/sourcesdump/2005/1216/plan9/sys/src/cmd/aux/msexceltables.c:703,709
	  void
	  usage(void)
	  {
	- 	fprint(2, "usage: %s [-aDnt] [-d delim] file.xls\n", argv0);
	+ 	fprint(2, "usage: %s [-aDnt] [-d delim] /mnt/doc/Workbook\n", argv0);
	  	exits("usage");
	  }
	  

Usage update.
 [rsc] --rw-rw-r-- M 318707 glenda sys 4338 Dec 15 10:16 sys/src/cmd/diff/main.c
	/n/sourcesdump/2005/1215/plan9/sys/src/cmd/diff/main.c:11,17 - 
	/n/sourcesdump/2005/1216/plan9/sys/src/cmd/diff/main.c:11,17
	  static char *tmp[] = {"/tmp/diff1XXXXXXXXXXX", "/tmp/diff2XXXXXXXXXXX"};
	  static int whichtmp;
	  static char *progname;
	- static char usage[] = "diff [-acefmnbwr] file1 ... file2\n";
	+ static char usage[] = "diff [-abcefmnrw] file1 ... file2\n";
	  
	  static void
	  rmtmpfiles(void)

Usage update.
 [rsc] --rw-rw-r-- M 318707 glenda sys 3421 Dec 15 10:16 sys/src/cmd/du.c
	/n/sourcesdump/2005/1215/plan9/sys/src/cmd/du.c:21,27 - 
	/n/sourcesdump/2005/1216/plan9/sys/src/cmd/du.c:21,27
	  void
	  usage(void)
	  {
	- 	fprint(2, "usage: du [-afnqstu] [-b size] [file...]\n");
	+ 	fprint(2, "usage: du [-afnqstu] [-b size] [file ...]\n");
	  	exits("usage");
	  }
	  

Reorg.
 [rsc] --rw-rw-r-- M 318707 glenda sys 743 Dec 15 10:18 sys/src/libc/mkfile
	/n/sourcesdump/2005/1215/plan9/sys/src/libc/mkfile:2,7 - 
	/n/sourcesdump/2005/1216/plan9/sys/src/libc/mkfile:2,8
	  
	  PORTDIRS=9sys 9syscall fmt port
	  DIRS=$PORTDIRS $CPUS
	+ OLDCPUS=68000 68020 sparc
	  
	  all install:V:
	  	for(i in $PORTDIRS $objtype)@{
	/n/sourcesdump/2005/1215/plan9/sys/src/libc/mkfile:43,49 - 
	/n/sourcesdump/2005/1216/plan9/sys/src/libc/mkfile:44,50
	  
	  everything:V:
	  	rm -f */*.[012456789kqvxz]
	- 	for(objtype in 68000 68020 arm alpha 386 sparc power mips)@{
	+ 	for(objtype in $CPUS $OLDCPUS)@{
	  		echo $objtype
	  		mk $MKFLAGS install
	  	}


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