Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2006/0330/1

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


remove unreachable code
 [rsc] --rw-rw-r-- M 76409 glenda sys 18403 Mar 30 00:02 sys/src/cmd/auth/authsrv.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/auth/authsrv.c:100,106 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/auth/authsrv.c:100,106
	  			exits(0);
	  		}
	  	}
	- 	exits(0);
	+ 	/* not reached */
	  }
	  
	  int
 [rsc] --rw-rw-r-- M 76409 glenda sys 11443 Mar 30 00:02 sys/src/cmd/auth/cron.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/auth/cron.c:127,133 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/auth/cron.c:127,133
	  		if(x - now < 2)
	  			sleep((2 - (x - now))*60*1000);
	  	}
	- 	exits(0);
	+ 	/* not reached */
	  }
	  
	  void
 [rsc] --rw-rw-r-- M 76409 rsc sys 7325 Mar 30 00:01 sys/src/cmd/auth/debug.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/auth/debug.c:86,92 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/auth/debug.c:86,91
	  				buf[m++] = line[0];
	  		}
	  	}
	- 	return buf;	/* how does this happen */
	  }
	  
	  void authdialfutz(char*, char*);
 [rsc] --rw-rw-r-- M 76409 glenda sys 10527 Mar 30 00:01 sys/src/cmd/auth/factotum/fs.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/auth/factotum/fs.c:444,450 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/auth/factotum/fs.c:444,449
	  		a += n;
	  		off++;
	  	}
	- 	return -1;		/* not reached */
	  }
	  
	  static int
 [rsc] --rw-rw-r-- M 76409 glenda sys 18460 Mar 30 00:01 sys/src/cmd/auth/factotum/util.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/auth/factotum/util.c:775,781 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/auth/factotum/util.c:775,780
	  			s = estrappend(s, "%c", line[0]);
	  		}
	  	}
	- 	return nil; /* not reached */
	  }
	  
	  /*
 [rsc] --rw-rw-r-- M 76409 glenda sys 1741 Mar 30 00:01 sys/src/cmd/auth/secstore/util.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/auth/secstore/util.c:84,90 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/auth/secstore/util.c:84,89
	  			p = line;
	  		}
	  	}
	- 	return nil;  // NOT REACHED
	  }
	  
	  char *
 [rsc] --rw-rw-r-- M 76409 glenda sys 24380 Mar 30 00:24 sys/src/cmd/2l/obj.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/2l/obj.c:1025,1031 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/2l/obj.c:1025,1031
	  		pc++;
	  		goto loop;
	  	}
	- 	goto loop;
	+ 	/* not reached */
	  
	  eof:
	  	diag("%s: truncated object file in %s", pn, TNAME);
 [rsc] --rw-rw-r-- M 76409 glenda sys 8549 Mar 30 00:03 sys/src/cmd/acid/main.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/acid/main.c:152,159 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/acid/main.c:152,158
	  
	  		unwind();
	  	}
	- 	Bputc(bout, '\n');
	- 	exits(0);
	+ 	/* not reached */
	  }
	  
	  static int
 [rsc] --rw-rw-r-- M 76409 glenda sys 41022 Mar 30 00:07 sys/src/cmd/ms2html.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/ms2html.c:892,898 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/ms2html.c:892,897
	  		/* escape backslash */
	  		case 'e':
	  			return "\\";
	- 			break;
	  
	  		/* font change */
	  		case 'f':
 [rsc] --rw-rw-r-- M 76409 glenda sys 15510 Mar 30 00:06 sys/src/cmd/1c/peep.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/1c/peep.c:565,573 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/1c/peep.c:565,570
	  	if(regtyp(a->type))
	  		return 1;
	  	return 0;
	- 	if(a->type == D_AUTO || a->type == D_PARAM)
	- 		return 1;
	- 	return 0;
	  }
	  
	  /*
 [rsc] --rw-rw-r-- M 76409 glenda sys 18860 Mar 30 00:07 sys/src/cmd/nntpfs.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/nntpfs.c:247,254 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/nntpfs.c:247,252
	  		if(indial || tried++ || nntpconnect(n) < 0)
	  			return -1;
	  	}
	- 
	- 	return -1;	/* shut up 8c */
	  }
	  
	  int
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/nntpfs.c:479,485 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/nntpfs.c:477,482
	  		strcat(p+l, "\n");
	  		l += strlen(p+l);
	  	}
	- 	return nil;	/* shut up 8c */
	  }
	  
	  /*
 [rsc] --rw-rw-r-- M 76409 glenda sys 27804 Mar 30 00:06 sys/src/cmd/1l/asm.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/1l/asm.c:1259,1269 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/1l/asm.c:1259,1264
	  	diag("unknown addressing mode: %d in %s", t, TNAME);
	  	return 0;
	  
	- 	if(!debug['a'])
	- 		print("%P\n", p);
	- 	diag("bad operand in %s", TNAME);
	- 	return 0;
	- 
	  toobig:
	  	if(!debug['a'])
	  		print("%P\n", p);
 [rsc] --rw-rw-r-- M 76409 glenda sys 23894 Mar 30 00:06 sys/src/cmd/1l/obj.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/1l/obj.c:1001,1007 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/1l/obj.c:1001,1007
	  		pc++;
	  		goto loop;
	  	}
	- 	goto loop;
	+ 	/* not reached */
	  
	  eof:
	  	diag("%s: truncated object file in %s", pn, TNAME);
 [rsc] --rw-rw-r-- M 76409 glenda sys 13463 Mar 30 00:24 sys/src/cmd/bc.y
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/bc.y:971,977 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/bc.y:971,977
	  		yyinit(argc, argv);
	  		for(;;)
	  			yyparse();
	- 		exits(0);
	+ 		/* not reached */
	  	}
	  	pipe(p);
	  	if(fork() == 0) {
 [rsc] --rw-rw-r-- M 76409 glenda sys 21126 Mar 30 00:08 sys/src/cmd/cpu.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/cpu.c:684,690 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/cpu.c:684,689
	  			buf[n] = 0;
	  			postnote(PNGROUP, pid, buf);
	  		}
	- 		break;
	  	}
	  
	  	/* original proc waits for shell proc to die and kills note proc */
 [rsc] --rw-rw-r-- M 76409 glenda sys 21933 Mar 30 00:08 sys/src/cmd/ed.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/ed.c:738,744 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/ed.c:738,743
	  		if(p >= &linebuf[LBSIZE-2])
	  			error(Q);
	  	}
	- 	return 0;
	  }
	  
	  int
 [rsc] --rw-rw-r-- M 76409 glenda sys 38963 Mar 30 00:07 sys/src/cmd/tweak.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/tweak.c:824,830 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/tweak.c:824,829
	  			p += runetochar(p, &r);
	  		}
	  	}
	- 	return 0;	/* shut up compiler */
	  }
	  
	  void
 [rsc] --rw-rw-r-- M 76409 glenda sys 488 Mar 30 00:14 sys/src/libauthsrv/passtokey.c
	/n/sourcesdump/2006/0330/plan9/sys/src/libauthsrv/passtokey.c:29,33 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libauthsrv/passtokey.c:29,32
	  		}
	  		encrypt(key, t, 8);
	  	}
	- 	return 1;	/* not reached */
	  }
 [rsc] --rw-rw-r-- M 76409 glenda sys 8769 Mar 30 00:14 sys/src/libauthsrv/readnvram.c
	/n/sourcesdump/2006/0330/plan9/sys/src/libauthsrv/readnvram.c:114,120 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libauthsrv/readnvram.c:114,119
	  				buf[m++] = line[0];
	  		}
	  	}
	- 	return buf;	/* how does this happen */
	  }
	  
	  
 [rsc] --rw-rw-r-- M 76409 glenda sys 2096 Mar 30 00:13 sys/src/libbio/brdstr.c
	/n/sourcesdump/2006/0330/plan9/sys/src/libbio/brdstr.c:109,113 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libbio/brdstr.c:109,112
	  		bp->icount = 0;
	  		bp->gbuf = bp->ebuf;
	  	}
	- 	return 0;	/* never happens */
	  }
 [rsc] --rw-rw-r-- M 76409 glenda sys 8629 Mar 30 00:13 sys/src/libc/fmt/dofmt.c
	/n/sourcesdump/2006/0330/plan9/sys/src/libc/fmt/dofmt.c:63,69 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libc/fmt/dofmt.c:63,68
	  		if(fmt == nil)
	  			return -1;
	  	}
	- 	return 0;	/* not reached */
	  }
	  
	  void *
 [rsc] --rw-rw-r-- M 76409 glenda sys 747 Mar 30 00:13 sys/src/libc/fmt/dorfmt.c
	/n/sourcesdump/2006/0330/plan9/sys/src/libc/fmt/dorfmt.c:42,46 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libc/fmt/dorfmt.c:42,45
	  		if(fmt == nil)
	  			return -1;
	  	}
	- 	return 0;		/* not reached */
	  }
 [rsc] --rw-rw-r-- M 76409 glenda sys 599 Mar 30 00:13 sys/src/libc/port/hypot.c
	/n/sourcesdump/2006/0330/plan9/sys/src/libc/port/hypot.c:38,42 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libc/port/hypot.c:38,41
	  		q *= r;
	  		r = q/p;
	  	}
	- 	return 0;
	  }
 [rsc] --rw-rw-r-- M 76409 glenda sys 31040 Mar 30 00:12 sys/src/libc/port/pool.c
	/n/sourcesdump/2006/0330/plan9/sys/src/libc/port/pool.c:245,251 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libc/port/pool.c:245,250
	  		else
	  			t = &(*t)->right;
	  	}
	- 	return nil;	/* not reached */
	  }
	  
	  /* treelookup: find node in tree with size == size */
	/n/sourcesdump/2006/0330/plan9/sys/src/libc/port/pool.c:321,331 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libc/port/pool.c:320,328
	  		if(size < t->size) {
	  			lastgood = t;
	  			t = t->left;
	- 		} else {
	+ 		} else
	  			t = t->right;
	- 		}
	  	}
	- 	return nil;	/* not reached */
	  }
	  
	  /* 
	/n/sourcesdump/2006/0330/plan9/sys/src/libc/port/pool.c:1001,1006 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libc/port/pool.c:998,1006
	  
	  	ab = trim(p, pooldel(p, fb), dsize);
	  	p->curalloc += ab->size;
	+ 	antagonism {
	+ 		memset(B2D(p, ab), 0xDF, dsize);
	+ 	}
	  	return B2D(p, ab);
	  }
	  
	/n/sourcesdump/2006/0330/plan9/sys/src/libc/port/pool.c:1078,1083 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libc/port/pool.c:1078,1086
	  
	  	/* enough cleverness */
	  	memmove(nv, v, odsize);
	+ 	antagonism { 
	+ 		memset((char*)nv+odsize, 0xDE, ndsize-odsize);
	+ 	}
	  	poolfreel(p, v);
	  	return nv;
	  }
	/n/sourcesdump/2006/0330/plan9/sys/src/libc/port/pool.c:1173,1178 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libc/port/pool.c:1176,1184
	  	}
	  	trim(p, b, skip+dsize);
	  	assert(D2B(p, c) == b);
	+ 	antagonism { 
	+ 		memset(c, 0xDD, dsize);
	+ 	}
	  	return c;
	  }
	  
	/n/sourcesdump/2006/0330/plan9/sys/src/libc/port/pool.c:1457,1463 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libc/port/pool.c:1463,1469
	  	lp = v;
	  	elp = lp+size/4;
	  	while(lp < elp)
	- 		*lp++ = (sig<<24) ^ (ulong)(uintptr)v;
	+ 		*lp++ = (sig<<24) ^ ((uintptr)lp-(uintptr)v);
	  	p = (uchar*)lp;
	  	ep = (uchar*)v+size;
	  	while(p<ep)
 [rsc] --rw-rw-r-- M 76409 glenda sys 8380 Mar 30 00:11 sys/src/libc/port/strtod.c
	/n/sourcesdump/2006/0330/plan9/sys/src/libc/port/strtod.c:353,359 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libc/port/strtod.c:353,358
	  		a++;
	  	cont:;
	  	}
	- 	return 0;
	  }
	  
	  static void
 [rsc] --rw-rw-r-- M 76409 glenda sys 231 Mar 30 00:11 sys/src/libc/port/utflen.c
	/n/sourcesdump/2006/0330/plan9/sys/src/libc/port/utflen.c:19,23 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libc/port/utflen.c:19,22
	  			s += chartorune(&rune, s);
	  		n++;
	  	}
	- 	return 0;
	  }
 [rsc] --rw-rw-r-- M 76409 glenda sys 403 Mar 30 00:11 sys/src/libc/port/utfrrune.c
	/n/sourcesdump/2006/0330/plan9/sys/src/libc/port/utfrrune.c:27,31 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libc/port/utfrrune.c:27,30
	  			s1 = s;
	  		s += c1;
	  	}
	- 	return 0;
	  }
 [rsc] --rw-rw-r-- M 76409 glenda sys 390 Mar 30 00:11 sys/src/libc/port/utfrune.c
	/n/sourcesdump/2006/0330/plan9/sys/src/libc/port/utfrune.c:26,30 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libc/port/utfrune.c:26,29
	  			return s;
	  		s += n;
	  	}
	- 	return 0;
	  }
 [rsc] --rw-rw-r-- M 76409 glenda sys 6635 Mar 30 00:11 sys/src/libdisk/disk.c
	/n/sourcesdump/2006/0330/plan9/sys/src/libdisk/disk.c:159,165 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libdisk/disk.c:159,164
	  		disk->c = disk->secs / (disk->h * disk->s);
	  		return 0;
	  	}
	- 	return -1;	/* not reached */
	  }
	  
	  /*
 [rsc] --rw-rw-r-- M 76409 glenda sys 8960 Mar 30 00:11 sys/src/libdraw/event.c
	/n/sourcesdump/2006/0330/plan9/sys/src/libdraw/event.c:100,106 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libdraw/event.c:100,105
	  			}
	  		extract();
	  	}
	- 	return 0;
	  }
	  
	  int
	/n/sourcesdump/2006/0330/plan9/sys/src/libdraw/event.c:139,145 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libdraw/event.c:138,143
	  			return 0;
	  		extract();
	  	}
	- 	return -1;
	  }
	  
	  ulong
 [rsc] --rw-rw-r-- M 76409 glenda sys 18934 Mar 30 00:10 sys/src/libhttpd/parse.c
	/n/sourcesdump/2006/0330/plan9/sys/src/libhttpd/parse.c:355,361 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libhttpd/parse.c:355,360
	  		}
	  		lex(h);
	  	}
	- 	return head;
	  }
	  
	  /*
	/n/sourcesdump/2006/0330/plan9/sys/src/libhttpd/parse.c:394,400 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libhttpd/parse.c:393,398
	  		if(lex(h) != ',')
	  			return head;
	  	}
	- 	return head;
	  }
	  
	  /*
	/n/sourcesdump/2006/0330/plan9/sys/src/libhttpd/parse.c:847,854 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libhttpd/parse.c:845,851
	  		}
	  		return Word;
	  	}
	- 	goto top;
	- 	return 0;
	+ 	/* not reached */
	  }
	  
	  /*
 [rsc] --rw-rw-r-- M 76409 glenda sys 5042 Mar 30 00:10 sys/src/libhttpd/parsereq.c
	/n/sourcesdump/2006/0330/plan9/sys/src/libhttpd/parsereq.c:285,291 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libhttpd/parsereq.c:285,290
	  		}
	  		ch = getc(c);
	  	}
	- 	return nil;	/* stupid 8c */
	  }
	  
	  static int
 [rsc] --rw-rw-r-- M 76409 glenda sys 61333 Mar 30 00:21 sys/src/libmach/2db.c
	/n/sourcesdump/2006/0330/plan9/sys/src/libmach/2db.c:1007,1013 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libmach/2db.c:1007,1013
	  			ip->errmsg = "bad immediate float data";
	  			return -1;
	  		}
	- 		break;
	+ 		/* not reached */
	  	case IV:	/* size encoded in bits 6&7 of opcode word */
	  	default:
	  		switch((ip->raw[0]>>6)&0x03)
	/n/sourcesdump/2006/0330/plan9/sys/src/libmach/2db.c:1022,1030 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libmach/2db.c:1022,1029
	  			ip->errmsg = "bad immediate size";
	  			return -1;
	  		}
	- 		break;
	+ 		/* not reached */
	  	}
	- 	return 1;
	  }
	  
	  static int
	/n/sourcesdump/2006/0330/plan9/sys/src/libmach/2db.c:1817,1823 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libmach/2db.c:1816,1821
	  	default:
	  		return isize[(ip->raw[0]>>6)&0x03];
	  	}
	- 	return -1;
	  }
	  
	  static int
 [rsc] --rw-rw-r-- M 76409 glenda sys 21599 Mar 30 00:22 sys/src/libmach/5db.c
	/n/sourcesdump/2006/0330/plan9/sys/src/libmach/5db.c:696,702 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libmach/5db.c:696,702
	  
	  	 /* LDR */
	  	/* BUG: Needs LDH/B, too */
	- 	if((i->w>>26)&0x3 == 1) {
	+ 	if(((i->w>>26)&0x3) == 1) {
	  		if(get4(map, armaddr(map, rget, i), &v) < 0) {
	  			werrstr("can't read instruction: %r");
	  			return pc+4;
 [rsc] --rw-rw-r-- M 76409 glenda sys 13228 Mar 30 00:08 sys/src/libventi/packet.c
	/n/sourcesdump/2006/0330/plan9/sys/src/libventi/packet.c:643,649 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libventi/packet.c:643,648
	  			n1 = FRAGSIZE(f1);
	  		}
	  	}
	- 	return 0; /* for ken */
	  }
	  	
	  
 [rsc] --rw-rw-r-- M 76409 rsc sys 7308 Mar 30 00:08 sys/src/libventi/rpc.c
	/n/sourcesdump/2006/0330/plan9/sys/src/libventi/rpc.c:269,275 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libventi/rpc.c:269,274
	  			return 0;
	  		p++;
	  	}	
	- 	return 0;
	  }
	  
	  Packet*
 [rsc] --rw-rw-r-- M 76409 glenda sys 3995 Mar 30 17:55 sys/lib/lex/ncform
	/n/sourcesdump/2006/0330/plan9/sys/lib/lex/ncform:156,162 - 
	/n/sourcesdump/2006/0331/plan9/sys/lib/lex/ncform:156,161
	  		if(debug)putchar('\n');
	  # endif
	  		}
	- 	return(0);	/* shut up the compiler; i have no idea what should be returned */
	  	}
	  yyback(int *p, int m)
	  {
 [rsc] --rw-rw-r-- M 76409 rsc sys 9991 Mar 30 17:55 sys/src/ape/lib/fmt/dofmt.c
	/n/sourcesdump/2006/0330/plan9/sys/src/ape/lib/fmt/dofmt.c:78,84 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/ape/lib/fmt/dofmt.c:78,83
	  		if(fmt == nil)
	  			return -1;
	  	}
	- 	return 0;	/* not reached */
	  }
	  
	  void *
 [rsc] --rw-rw-r-- M 76409 rsc sys 9348 Mar 30 17:55 sys/src/ape/lib/fmt/strtod.c
	/n/sourcesdump/2006/0330/plan9/sys/src/ape/lib/fmt/strtod.c:383,389 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/ape/lib/fmt/strtod.c:383,388
	  		a++;
	  	cont:;
	  	}
	- 	return 0;
	  }
	  
	  static void
 [rsc] --rw-rw-r-- M 76409 rsc sys 1026 Mar 30 17:55 sys/src/ape/lib/utf/utflen.c
	/n/sourcesdump/2006/0330/plan9/sys/src/ape/lib/utf/utflen.c:34,38 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/ape/lib/utf/utflen.c:34,37
	  			s += chartorune(&rune, s);
	  		n++;
	  	}
	- 	return 0;
	  }
 [rsc] --rw-rw-r-- M 76409 rsc sys 1198 Mar 30 17:55 sys/src/ape/lib/utf/utfrrune.c
	/n/sourcesdump/2006/0330/plan9/sys/src/ape/lib/utf/utfrrune.c:42,46 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/ape/lib/utf/utfrrune.c:42,45
	  			s1 = s;
	  		s += c1;
	  	}
	- 	return 0;
	  }
 [rsc] --rw-rw-r-- M 76409 rsc sys 1185 Mar 30 17:55 sys/src/ape/lib/utf/utfrune.c
	/n/sourcesdump/2006/0330/plan9/sys/src/ape/lib/utf/utfrune.c:41,45 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/ape/lib/utf/utfrune.c:41,44
	  			return s;
	  		s += n;
	  	}
	- 	return 0;
	  }
 [rsc] --rw-rw-r-- M 76409 glenda sys 15858 Mar 30 17:55 sys/src/cmd/2c/peep.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/2c/peep.c:572,580 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/2c/peep.c:572,577
	  	if(regtyp(a->type))
	  		return 1;
	  	return 0;
	- 	if(a->type == D_AUTO || a->type == D_PARAM)
	- 		return 1;
	- 	return 0;
	  }
	  
	  /*
 [rsc] --rw-rw-r-- M 76409 glenda sys 6146 Mar 30 17:55 sys/src/cmd/5c/gc.h
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/5c/gc.h:147,153 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/5c/gc.h:147,152
	  EXTERN	long	maxargsafe;
	  EXTERN	int	mnstring;
	  EXTERN	Multab	multab[20];
	- EXTERN	int	retok;
	  EXTERN	int	hintabsize;
	  EXTERN	Node*	nodrat;
	  EXTERN	Node*	nodret;
 [rsc] --rw-rw-r-- M 76409 glenda sys 24458 Mar 30 17:55 sys/src/cmd/5c/peep.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/5c/peep.c:1091,1097 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/5c/peep.c:1091,1096
	  				return 3;
	  		return 0;
	  	}
	- 	return 0;
	  }
	  
	  int
 [rsc] --rw-rw-r-- M 76409 jmk sys 16261 Mar 30 17:55 sys/src/cmd/8c/bound.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/8c/bound.c:514,520 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/8c/bound.c:514,519
	  		if(c == nil)
	  			return s;
	  	}
	- 	return nil;
	  }
	  
	  static void
 [rsc] --rw-rw-r-- M 76409 glenda sys 6431 Mar 30 17:55 sys/src/cmd/8c/gc.h
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/8c/gc.h:143,149 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/8c/gc.h:143,148
	  EXTERN	Prog*	lastp;
	  EXTERN	long	maxargsafe;
	  EXTERN	int	mnstring;
	- EXTERN	int	retok;
	  EXTERN	Node*	nodrat;
	  EXTERN	Node*	nodret;
	  EXTERN	Node*	nodsafe;
 [rsc] --rw-rw-r-- M 76409 glenda sys 23879 Mar 30 17:55 sys/src/cmd/8c/txt.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/8c/txt.c:370,384 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/8c/txt.c:370,388
	  void
	  regaalloc1(Node *n, Node *nn)
	  {
	+ 	USED(nn);
	+ 
	  	if(REGARG < 0) {
	  		diag(n, "regaalloc1");
	  		return;
	  	}
	+ /* not reached 
	  	nodreg(n, nn, REGARG);
	  	reg[REGARG]++;
	  	curarg = align(curarg, nn->type, Aarg1);
	  	curarg = align(curarg, nn->type, Aarg2);
	  	maxargsafe = maxround(maxargsafe, cursafe+curarg);
	+ */
	  }
	  
	  void
 [rsc] --rw-rw-r-- M 76409 glenda sys 11860 Mar 30 17:55 sys/src/cmd/8l/asm.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/8l/asm.c:228,234 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/8l/asm.c:228,233
	  		lput(0L);
	  		lput(~0L);			/* gp value ?? */
	  		break;
	- 		lputl(0);			/* x */
	  	case 1:	/* unix coff */
	  		/*
	  		 * file header
 [rsc] --rw-rw-r-- M 76409 glenda sys 2412 Mar 30 17:55 sys/src/cmd/auth/guard.srv.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/auth/guard.srv.c:80,86 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/auth/guard.srv.c:80,86
	  	alarm(0);
	  
	  	if(!findkey(NETKEYDB, user, ukey) || !netcheck(ukey, chal, resp))
	- 	if(!findkey(KEYDB, user, ukey) || !netcheck(ukey, chal, resp))
	+ 	/* if(!findkey(KEYDB, user, ukey) || !netcheck(ukey, chal, resp)) /* remove password login from guard.research.bell-labs.com, sucre, etc. */
	  	if((err = secureidcheck(user, resp)) != nil){
	  		print("NO %s", err);
	  		write(1, "NO", 2);
 [rsc] --rw-rw-r-- M 76409 glenda sys 4420 Mar 30 17:55 sys/src/cmd/aux/flashfs/conv.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/aux/flashfs/conv.c:179,219 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/aux/flashfs/conv.c:179,210
	  	case FT_DCREATE1:
	  		return fmtprint(fp, "create f %ld p %ld t %lud m %ulo %s",
	  			j->fnum, j->parent, j->mtime, j->mode, j->name);
	- 		break;
	  	case FT_chmod:
	  	case FT_CHMOD0:
	  	case FT_CHMOD1:
	  		return fmtprint(fp, "chmod f %ld m %ulo #%ld",
	  			j->fnum, j->mode, j->mnum);
	- 		break;
	  	case FT_REMOVE:
	  		return fmtprint(fp, "remove f %ld", j->fnum);
	- 		break;
	  	case FT_WRITE:
	  		return fmtprint(fp, "write f %ld z %ld o %ld t %uld",
	  			j->fnum, j->size, j->offset, j->mtime);
	- 		break;
	  	case FT_AWRITE:
	  		return fmtprint(fp, "awrite f %ld z %ld o %ld",
	  			j->fnum, j->size, j->offset);
	- 		break;
	  	case FT_trunc:
	  	case FT_TRUNC0:
	  	case FT_TRUNC1:
	  		return fmtprint(fp, "trunc f %ld o %ld p %ld t %ld m %ulo %s",
	  			j->fnum, j->tnum, j->parent, j->mtime, j->mode, j->name);
	- 		break;
	  	case FT_SUMMARY:
	  		return fmtprint(fp, "summary %ld",
	  			j->seq);
	- 		break;
	  	case FT_SUMBEG:
	  		return fmtprint(fp, "sumbeg %ld",
	  			j->seq);
	- 		break;
	  	case FT_SUMEND:
	  		return fmtprint(fp, "end");
	- 		break;
	  	default:
	  		return fmtprint(fp, "?type %d", j->type);
	  	}
 [rsc] --rw-rw-r-- M 76409 glenda sys 8150 Mar 30 17:55 sys/src/cmd/aux/listen.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/aux/listen.c:178,184 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/aux/listen.c:178,183
	  					dolisten(proto, dir, ctl, srvdir);
	  					close(ctl);
	  				}
	- 				break;
	  			default:
	  				a->announced = pid;
	  				break;
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/aux/listen.c:197,203 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/aux/listen.c:196,202
	  		if(start > 0)
	  			sleep(start*1000);
	  	}
	- 	exits(0);
	+ 	/* not reached */
	  }
	  
	  /*
 [rsc] --rw-rw-r-- M 76409 rsc sys 2005 Mar 30 17:55 sys/src/cmd/aux/listen1.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/aux/listen1.c:120,124 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/aux/listen1.c:120,123
	  			break;
	  		}
	  	}
	- 	exits(nil);
	  }
 [rsc] --rw-rw-r-- M 76409 jmk sys 14023 Mar 30 17:55 sys/src/cmd/aux/msexceltables.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/aux/msexceltables.c:487,494 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/aux/msexceltables.c:487,492
	  			sysfatal("in STRING expected CONTINUE, got op=0x%x\n", b->op);
	  		opt = gint(b, 1);
	  	}
	- 	sysfatal("cannot ever happen error\n");
	- 	return nil;  // shut up 8c
	  }
	  
	  void
 [rsc] --rw-rw-r-- M 76409 glenda sys 18163 Mar 30 17:55 sys/src/cmd/aux/searchfs.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/aux/searchfs.c:266,272 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/aux/searchfs.c:266,271
	  
	  		where = e;
	  	}
	- 	return nil;
	  }
	  
	  /*
 [rsc] --rw-rw-r-- M 76409 glenda sys 1749 Mar 30 17:55 sys/src/cmd/aux/typepasswd.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/aux/typepasswd.c:88,94 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/aux/typepasswd.c:88,93
	  			p = line;
	  		}
	  	}
	- 	return -1;
	  }
	  
	  void
 [rsc] --rw-rw-r-- M 76409 glenda sys 9487 Mar 30 17:55 sys/src/cmd/bitsy/keyboard.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/bitsy/keyboard.c:434,438 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/bitsy/keyboard.c:434,437
	  			break;
	  		}
	  	}
	- 	threadexitsall(nil);
	  }
 [rsc] --rw-rw-r-- M 76409 glenda sys 15257 Mar 30 17:55 sys/src/cmd/bzip2/lib/bzdecompress.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/bzip2/lib/bzdecompress.c:431,440 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/bzip2/lib/bzdecompress.c:431,436
	           if (s->state != BZ_X_OUTPUT) return r;
	        }
	     }
	- 
	-    AssertH ( 0, 6001 );
	- 
	-    return 0;  /*NOTREACHED*/
	  }
	  
	  
 [rsc] --rw-rw-r-- M 76409 glenda sys 7041 Mar 30 17:55 sys/src/cmd/bzip2/lib/bzread.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/bzip2/lib/bzread.c:211,217 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/bzip2/lib/bzread.c:211,216
	        
	     }
	  
	-    return 0; /*not reached*/
	  }
	  
	  
 [rsc] --rw-rw-r-- M 76409 glenda sys 15227 Mar 30 17:55 sys/src/cmd/con/con.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/con/con.c:338,344 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/con/con.c:338,343
	  			break;
	  		case 'q':
	  			return -1;
	- 			break;
	  		case 'i':
	  			buf[0] = 0x1c;
	  			if(msgfd <= 0)
 [rsc] --rw-rw-r-- M 76409 glenda sys 2872 Mar 30 17:55 sys/src/cmd/con/xmr.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/con/xmr.c:170,176 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/con/xmr.c:170,175
	  			send(Nak);
	  		}
	  	}
	- 	return -1;
	  }
	  
	  int
 [rsc] --rw-rw-r-- M 76409 glenda sys 13584 Mar 30 17:55 sys/src/cmd/cpp/lex.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/cpp/lex.c:470,476 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/cpp/lex.c:470,475
	  		tp->len = ip - tp->t;
	  		tp++;
	  	}
	- 	return 0;
	  }
	  
	  /* have seen ?; handle the trigraph it starts (if any) else 0 */
 [rsc] --rw-rw-r-- M 76409 glenda sys 12759 Mar 30 17:55 sys/src/cmd/disk/kfs/con.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/disk/kfs/con.c:627,633 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/disk/kfs/con.c:627,632
	  			name[i] = c;
	  		cons.arg++;
	  	}
	- 	return 0;
	  }
	  
	  char*
 [rsc] --rw-rw-r-- M 76409 glenda sys 9504 Mar 30 17:55 sys/src/cmd/disk/kfs/main.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/disk/kfs/main.c:361,367 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/disk/kfs/main.c:361,366
	  			continue;
	  		}
	  	}
	- 	return 0;
	  }
	  
	  int
 [rsc] --rw-rw-r-- M 76409 glenda sys 6779 Mar 30 17:55 sys/src/cmd/disk/kfs/uid.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/disk/kfs/uid.c:62,68 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/disk/kfs/uid.c:62,67
	  		if(i < NAMELEN-1)
	  			name[i] = c;
	  	}
	- 	return -1;
	  }
	  
	  #ifdef sometime
 [rsc] --rw-rw-r-- M 76409 glenda sys 17008 Mar 30 17:55 sys/src/cmd/dossrv/dosfs.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/dossrv/dosfs.c:299,306 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/dossrv/dosfs.c:299,304
	  			return Long;
	  		putsect(tmpdp.p);
	  	}
	- 	abort();
	- 	return -1;
	  }
	  
	  /*
 [rsc] --rw-rw-r-- M 76409 glenda sys 3463 Mar 30 17:55 sys/src/cmd/fax/fax2receive.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/fax/fax2receive.c:165,171 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/fax/fax2receive.c:165,170
	  	default:
	  		return r;
	  	}
	- 	goto loop;
	  }
	  
	  int
 [rsc] --rw-rw-r-- M 76409 glenda sys 6037 Mar 30 17:55 sys/src/cmd/gzip/gunzip.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/gzip/gunzip.c:210,216 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/gzip/gunzip.c:210,215
	  		h.file = nil;
	  		gzok = Boffset(bin);
	  	}
	- 	return 0;
	  }
	  
	  static void
 [rsc] --rw-rw-r-- M 76409 glenda sys 13800 Mar 30 17:55 sys/src/cmd/gzip/unzip.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/gzip/unzip.c:268,275 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/gzip/unzip.c:268,273
	  		free(zh.file);
	  		zh.file = nil;
	  	}
	- 
	- 	return ok;
	  }
	  
	  /*
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/gzip/unzip.c:338,345 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/gzip/unzip.c:336,341
	  		if(eok < 0)
	  			return 0;
	  	}
	- 
	- 	return 1;
	  }
	  
	  /*
 [rsc] --rw-rw-r-- M 76409 glenda sys 33045 Mar 30 17:55 sys/src/cmd/ip/ftpd.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/ip/ftpd.c:487,493 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/ip/ftpd.c:487,492
	  	if(nsfile != nil && newns(user, nsfile) < 0){
	  		logit("namespace file %s does not exist", nsfile);
	  		return reply("530 Not logged in: login out of service");
	- 		return -1;
	  	}
	  	getwd(curdir, sizeof(curdir));
	  	if(gotoslash){
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/ip/ftpd.c:689,695 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/ip/ftpd.c:688,693
	  			break;
	  		default:
	  			return reply("501 Unimplemented type %s", x);
	- 			break;
	  		}
	  	}
	  	return reply("200 Type %s", type==Tascii ? "Ascii" : "Image");
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/ip/ftpd.c:707,713 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/ip/ftpd.c:705,710
	  			break;
	  		default:
	  			return reply("501 Unimplemented mode %c", *arg);
	- 			break;
	  		}
	  		arg++;
	  	}
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/ip/ftpd.c:726,732 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/ip/ftpd.c:723,728
	  			break;
	  		default:
	  			return reply("501 Unimplemented structure %c", *arg);
	- 			break;
	  		}
	  	}
	  	return reply("200 File structure");
 [rsc] --rw-rw-r-- M 76409 glenda sys 6282 Mar 30 17:55 sys/src/cmd/ip/httpd/hints.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/ip/httpd/hints.c:58,64 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/ip/httpd/hints.c:58,63
	  			return j;
	  		j = urlnext[j];
	  	}
	- 	return 0;  /* not reached */
	  }
	  
	  int
 [rsc] --rw-rw-r-- M 76409 glenda sys 11305 Mar 30 17:55 sys/src/cmd/ip/httpd/httpd.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/ip/httpd/httpd.c:171,178 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/ip/httpd/httpd.c:171,176
	  	ctl = announce(address, dir);
	  	if(ctl < 0){
	  		syslog(0, HTTPLOG, "can't announce on %s: %r", address);
	- fprint(2, "failed: %d\n", getpid());
	- for(;;)sleep(1000);
	  		return;
	  	}
	  	strcpy(netdirb, dir);
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/ip/httpd/httpd.c:254,261 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/ip/httpd/httpd.c:252,259
	  
	  				hreqcleanup(c);
	  			}
	+ 			/* not reached */
	  
	- 			exits(nil);
	  		default:
	  			close(nctl);
	  			break;
 [rsc] --rw-rw-r-- M 76409 glenda sys 59898 Mar 30 17:55 sys/src/cmd/ip/ppp/ppp.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/ip/ppp/ppp.c:476,482 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/ip/ppp/ppp.c:476,481
	  
	  		freeb(b);
	  	}
	- 	return nil;
	  }
	  
	  /* send a PPP frame */
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/ip/ppp/ppp.c:845,850 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/ip/ppp/ppp.c:844,850
	  			switch(o->type){
	  			case Octhwack:
	  				break;
	+ 			/*
	  				if(o->len == 2){
	  					ctype = &cthwack;
	  					continue;
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/ip/ppp/ppp.c:856,861 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/ip/ppp/ppp.c:856,862
	  				}
	  				puto(repb, Octhwack);
	  				continue;
	+ 			*/
	  			case Ocmppc:
	  				x = nhgetl(o->data);
	  
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/ip/ppp/ppp.c:1659,1665 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/ip/ppp/ppp.c:1660,1665
	  			ppp->stat.uncompout += BLEN(b);
	  /* netlog("ppp: uncompressed frame %ux %d %d (%d uchars)\n", proto, b->rptr[0], b->rptr[1], BLEN(b)); /* */
	  			goto Again;	
	- 			break;
	  		default:
	  			syslog(0, LOG, "unknown proto %ux", proto);
	  			if(ppp->lcp->state == Sopened){
 [rsc] --rw-rw-r-- M 76409 glenda sys 16573 Mar 30 17:55 sys/src/cmd/ip/pptp.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/ip/pptp.c:419,427 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/ip/pptp.c:419,427
	  void
	  waitacks(void)
	  {
	+ /*
	  	int start;
	  
	- return;
	  	start = now;
	  	while(seq-ack > remwin && now-start < Sendtimeout){
	  		print("seq %d ack %d remwin %d now %d start %d\n",
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/ip/pptp.c:428,433 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/ip/pptp.c:428,434
	  			seq, ack, remwin, now, start);
	  		recvul(tickchan);
	  	}
	+ */
	  }
	  
	  void
 [rsc] --rw-rw-r-- M 76409 glenda sys 12432 Mar 30 17:55 sys/src/cmd/ip/rip.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/ip/rip.c:318,324 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/ip/rip.c:318,324
	  			considerroute(&route);
	  		}
	  	}
	- 	exits(0);
	+ 	/* not reached */
	  }
	  
	  int
 [rsc] --rw-rw-r-- M 76409 glenda sys 7726 Mar 30 17:55 sys/src/cmd/ip/snoopy/icmp6.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/ip/snoopy/icmp6.c:249,255 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/ip/snoopy/icmp6.c:249,254
	  			a += osz;
	  			m->ps = a;
	  			return p;			
	- 			break;
	  
	  		case mtu:
	  			if ((pktsz < osz) || (osz != 8)) { 
 [rsc] --rw-rw-r-- M 76409 glenda sys 8614 Mar 30 17:55 sys/src/cmd/ip/telnet.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/ip/telnet.c:343,349 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/ip/telnet.c:343,348
	  		case 'q':
	  			comm->stopped = 0;
	  			return -1;
	- 			break;
	  		case 'o':
	  			switch(*(cp+1)){
	  			case 'd':
 [rsc] --rw-rw-r-- M 76409 glenda sys 5906 Mar 30 17:55 sys/src/cmd/kc/gc.h
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/kc/gc.h:142,148 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/kc/gc.h:142,147
	  EXTERN	long	maxargsafe;
	  EXTERN	Multab	multab[20];
	  EXTERN	int	mnstring;
	- EXTERN	int	retok;
	  EXTERN	Node*	nodrat;
	  EXTERN	Node*	nodret;
	  EXTERN	Node*	nodsafe;
 [rsc] --rw-rw-r-- M 76409 glenda sys 10152 Mar 30 17:55 sys/src/cmd/kl/span.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/kl/span.c:182,187 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/kl/span.c:182,188
	  			instoffset = s->value + a->offset + INITDAT;
	  /* not sure why this barfs */
	  return C_LCON;
	+ /*
	  			if(instoffset == 0)
	  				return C_ZCON;
	  			if(instoffset >= -0x1000 && instoffset <= 0xfff)
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/kl/span.c:189,194 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/kl/span.c:190,196
	  			if((instoffset & 0x3ff) == 0)
	  				return C_UCON;
	  			return C_LCON;
	+ */
	  
	  		case D_AUTO:
	  			instoffset = autosize + a->offset;
 [rsc] --rw-rw-r-- M 76409 glenda sys 2304 Mar 30 17:55 sys/src/cmd/mk/lex.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/mk/lex.c:130,134 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/mk/lex.c:130,133
	  			mkinline++;
	  		return c;
	  	}
	- 	return 0;
	  }
 [rsc] --rw-rw-r-- M 76409 rsc sys 4233 Mar 30 17:55 sys/src/cmd/vnc/auth.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/vnc/auth.c:104,110 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/vnc/auth.c:104,109
	  			p = line;
	  		}
	  	}
	- 	return -1;
	  }
	  
	  int
 [rsc] --rw-rw-r-- M 76409 rsc sys 5485 Mar 30 17:55 sys/src/cmd/vnc/dev.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/vnc/dev.c:217,223 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/vnc/dev.c:217,222
	  			}
	  			break;
	  		}
	- 	return 0;
	  }
	  
	  long
 [rsc] --rw-rw-r-- M 76409 glenda sys 9476 Mar 30 17:55 sys/src/cmd/webfs/http.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/webfs/http.c:257,263 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/webfs/http.c:257,262
	  			}
	  		}
	  	}
	- 	return 0;
	  }
	  
	  int
 [rsc] --rw-rw-r-- M 76409 glenda sys 7029 Mar 30 17:55 sys/src/cmd/faces/plumb.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/faces/plumb.c:239,245 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/faces/plumb.c:239,244
	  		if(parselog(buf, sender, xtime))
	  			return 1;
	  	}
	- 	return -1;
	  }
	  
	  char*
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/faces/plumb.c:310,316 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/faces/plumb.c:309,314
	  		f->str[Sdigest] = digestp;
	  		return f;
	  	}
	- 	return nil;
	  }
	  
	  char*
 [rsc] --rw-rw-r-- M 76409 presotto sys 8806 Mar 30 17:55 sys/src/cmd/jpg/ico.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/jpg/ico.c:501,506 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/jpg/ico.c:501,505
	  				mousemoved();
	  			break;
	  		}
	- 
	- 	exits(0);
	+ 	/* not reached */
	  }
 [rsc] --rw-rw-r-- M 76409 glenda sys 6019 Mar 30 17:55 sys/src/cmd/qc/gc.h
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/qc/gc.h:147,153 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/qc/gc.h:147,152
	  EXTERN	long	maxargsafe;
	  EXTERN	Multab	multab[20];
	  EXTERN	int	mnstring;
	- EXTERN	int	retok;
	  EXTERN	Node*	nodrat;
	  EXTERN	Node*	nodret;
	  EXTERN	Node*	nodsafe;
 [rsc] --rw-rw-r-- M 76409 glenda sys 19898 Mar 30 17:55 sys/src/cmd/ql/span.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/ql/span.c:224,231 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/ql/span.c:224,232
	  			instoffset = s->value + a->offset + INITDAT;
	  			if(dlm)
	  				return C_LCON;
	- /* not sure why this barfs */
	- return C_LCON;
	+ 			/* not sure why this barfs */
	+ 			return C_LCON;
	+ 		/*
	  			if(instoffset == 0)
	  				return C_ZCON;
	  			if(instoffset >= -0x8000 && instoffset <= 0xffff)
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/ql/span.c:233,238 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/ql/span.c:234,240
	  			if((instoffset & 0xffff) == 0)
	  				return C_UCON;
	  			return C_LCON;
	+ 		*/
	  
	  		case D_AUTO:
	  			instoffset = autosize + a->offset;
 [rsc] --rw-rw-r-- M 76409 glenda sys 23038 Mar 30 17:55 sys/src/cmd/spell/sprog.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/spell/sprog.c:588,594 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/spell/sprog.c:588,594
	  		} else if(affix[0] != 0 && affix[0] != '.')
	  			print("%s\t%s\n", affix, original);
	  	}
	- 	exits(0);
	+ 	/* not reached */
	  }
	  
	  /*	strip exactly one suffix and do
 [rsc] --rw-rw-r-- M 76409 glenda sys 1331 Mar 30 17:55 sys/src/cmd/upas/filterkit/readaddrs.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/upas/filterkit/readaddrs.c:60,66 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/upas/filterkit/readaddrs.c:60,65
	  			args[na++] = str;
	  			intok = 1;
	  		}
	- 	return 0;	/* can't get here; silence compiler */
	  }
	  
	  Addr*
 [rsc] --rw-rw-r-- M 76409 glenda sys 44533 Mar 30 17:55 sys/src/cmd/upas/ned/nedmail.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/upas/ned/nedmail.c:1756,1762 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/upas/ned/nedmail.c:1756,1761
	  			args[na++] = str;
	  			intok = 1;
	  		}
	- 	return 0;	/* can't get here; silence compiler */
	  }
	  
	  Message*
 [rsc] --rw-rw-r-- M 76409 glenda sys 20123 Mar 30 17:55 sys/src/cmd/upas/smtp/smtp.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/upas/smtp/smtp.c:1007,1013 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/upas/smtp/smtp.c:1007,1012
	  			break;
	  		}
	  	}
	- 	return 0;
	  }
	  
	  /*
 [rsc] --rw-rw-r-- M 76409 glenda sys 20030 Mar 30 17:55 sys/src/cmd/upas/vf/vf.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/upas/vf/vf.c:355,361 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/upas/vf/vf.c:355,360
	  			}
	  		Bwrite(&out, cp, Blinelen(b));
	  	}
	- 	return nil;
	  }
	  
	  /*
 [rsc] --rw-rw-r-- M 76409 sape sys 18169 Mar 30 17:55 sys/src/cmd/usb/audio/audiofs.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/usb/audio/audiofs.c:902,908 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/usb/audio/audiofs.c:902,907
	  		if(write(mfd[1], mdata, n) != n)
	  			sysfatal("mount write");
	  	}
	- 	threadexitsall("die yankee pig dog");
	  }
	  
	  int
 [rsc] --rw-rw-r-- M 76409 sape sys 5169 Mar 30 17:55 sys/src/cmd/usb/usbd/usbd.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/usb/usbd/usbd.c:194,200 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/usb/usbd/usbd.c:194,199
	  			fprint(2, "%H: port %d detached\n", h, port);
	  		detach(h, port);
	  	}
	- 	threadexits(nil);
	  }
	  
	  Device*
 [rsc] --rw-rw-r-- M 76409 glenda sys 5796 Mar 30 17:55 sys/src/cmd/vc/gc.h
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/vc/gc.h:142,148 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/vc/gc.h:142,147
	  EXTERN	long	maxargsafe;
	  EXTERN	int	mnstring;
	  EXTERN	Multab	multab[20];
	- EXTERN	int	retok;
	  EXTERN	int	hintabsize;
	  EXTERN	Node*	nodrat;
	  EXTERN	Node*	nodret;
 [rsc] --rw-rw-r-- M 76409 glenda sys 10291 Mar 30 17:55 sys/src/cmd/vc/peep.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/vc/peep.c:569,575 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/vc/peep.c:569,574
	  				return 3;
	  		return 0;
	  	}
	- 	return 0;
	  }
	  
	  int
 [rsc] --rw-rw-r-- M 76409 glenda sys 3162 Mar 30 17:55 sys/src/cmd/venti/buildindex.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/venti/buildindex.c:40,46 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/venti/buildindex.c:40,45
	  	if(b == nil || z == nil || ies == nil){
	  		ok = 0;
	  		goto breakout;
	- 		return 0;
	  	}
	  	ok = 1;
	  	next = 0;
 [rsc] --rw-rw-r-- M 76409 glenda sys 4094 Mar 30 17:55 sys/src/cmd/venti/checkindex.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/venti/checkindex.c:57,63 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/venti/checkindex.c:57,62
	  if(1)		fprint(2, "spurious entry in index for score=%V; found %d entries expected %d\n",
	  			&eib.data[ei * IEntrySize], eib.n, ib->n);
	  		ok = 0;
	- 		break;
	  	}
	  	putDBlock(eb);
	  	return ok;
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/venti/checkindex.c:80,86 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/venti/checkindex.c:79,84
	  	if(b == nil || z == nil || ies == nil){
	  		ok = 0;
	  		goto breakout;
	- 		return 0;
	  	}
	  	ok = 1;
	  	next = 0;
 [rsc] --rw-rw-r-- M 76409 glenda sys 7436 Mar 30 17:55 sys/src/cmd/venti/sortientry.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/venti/sortientry.c:241,247 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/venti/sortientry.c:241,246
	  		tot += n;
	  	}
	  	return tot;
	- 	return 1;
	  }
	  
	  /*
 [rsc] --rw-rw-r-- M 76409 glenda sys 14446 Mar 30 17:55 sys/src/cmd/wikifs/fs.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/wikifs/fs.c:234,241 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/wikifs/fs.c:234,240
	  	default:
	  		return "bad programming";
	  	}
	- 
	- 	assert(0);
	+ 	/* not reached */
	  
	  Gotfile:
	  	t = qidtype(qid->path);
 [rsc] --rw-rw-r-- M 76409 glenda sys 5907 Mar 30 17:55 sys/src/cmd/7c/gc.h
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/7c/gc.h:147,153 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/7c/gc.h:147,152
	  EXTERN long	maxargsafe;
	  EXTERN int	mnstring;
	  EXTERN Multab	multab[20];
	- EXTERN int	retok;
	  EXTERN int	hintabsize;
	  EXTERN Node*	nodrat;
	  EXTERN Node*	nodret;
 [rsc] --rw-rw-r-- M 76409 glenda sys 11462 Mar 30 17:55 sys/src/cmd/7c/peep.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/7c/peep.c:630,636 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/7c/peep.c:630,635
	  				return 3;
	  		return 0;
	  	}
	- 	return 0;
	  }
	  
	  int
 [rsc] --rw-rw-r-- M 76409 rsc sys 38666 Mar 30 17:55 sys/src/cmd/ext2srv/ext2subs.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/ext2srv/ext2subs.c:194,200 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/ext2srv/ext2subs.c:194,199
	  		break;
	  	default:
	  		goto error;
	- 		break;
	  	}
	  	return e;
	  error:
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/ext2srv/ext2subs.c:1427,1434 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/ext2srv/ext2subs.c:1426,1432
	  		}
	  		de = (DirEntry *)((char *)de + de->rec_len);
	  	}
	- 	putbuf(ibuf);
	- 	return -1;
	+ 	/* not reached */
	  }
	  int
	  unlink( Xfile *file )
 [rsc] --rw-rw-r-- M 76409 rsc sys 43875 Mar 30 17:55 sys/src/cmd/fossil/cache.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/fossil/cache.c:2009,2015 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/fossil/cache.c:2009,2014
	  		if(c->bw < c->be)
	  			c->baddr[c->bw++] = *p;
	  	}
	- 	return 0;
	  }
	  
	  /*
 [rsc] --rw-rw-r-- M 76409 glenda sys 4420 Mar 30 17:55 sys/src/cmd/page/page.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/page/page.c:138,144 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/page/page.c:138,144
	  		atnotify(watcher, 1);
	  		for(;;)
	  			sleep(1000);
	- 		_exits(0);
	+ 		/* not reached */
	  	}
	  
	  	rfork(RFNOTEG);
 [rsc] --rw-rw-r-- M 76409 glenda sys 6646 Mar 30 17:55 sys/src/cmd/proof/screen.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/proof/screen.c:87,93 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/proof/screen.c:87,92
	  			}
	  		}
	  	}
	- 	return nil;
	  }
	  
	  static char *
 [rsc] --rw-rw-r-- M 76409 glenda sys 4791 Mar 30 17:55 sys/src/cmd/scat/util.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/scat/util.c:319,325 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/scat/util.c:319,324
	  			break;
	  		}
	  	}
	- 	return 0;
	  }
	  
	  double
 [rsc] --rw-rw-r-- M 76409 glenda sys 5847 Mar 30 17:55 sys/src/libc/port/malloc.c
	/n/sourcesdump/2006/0330/plan9/sys/src/libc/port/malloc.c:1,6 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libc/port/malloc.c:1,7
	  #include <u.h>
	  #include <libc.h>
	  #include <pool.h>
	+ #include <tos.h>
	  
	  static void*	sbrkalloc(ulong);
	  static int		sbrkmerge(void*, void*);
	/n/sourcesdump/2006/0330/plan9/sys/src/libc/port/malloc.c:12,17 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libc/port/malloc.c:13,19
	  typedef struct Private Private;
	  struct Private {
	  	Lock		lk;
	+ 	int		pid;
	  	int		printfd;	/* gets debugging output if set */
	  };
	  
	/n/sourcesdump/2006/0330/plan9/sys/src/libc/port/malloc.c:76,81 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libc/port/malloc.c:78,86
	  	Private *pv;
	  	pv = p->private;
	  	lock(&pv->lk);
	+ 	if(pv->pid != 0)
	+ 		abort();
	+ 	pv->pid = _tos->pid;
	  }
	  
	  static void
	/n/sourcesdump/2006/0330/plan9/sys/src/libc/port/malloc.c:83,88 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libc/port/malloc.c:88,96
	  {
	  	Private *pv;
	  	pv = p->private;
	+ 	if(pv->pid != _tos->pid)
	+ 		abort();
	+ 	pv->pid = 0;
	  	unlock(&pv->lk);
	  }
	  
	/n/sourcesdump/2006/0330/plan9/sys/src/libc/port/malloc.c:154,160 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libc/port/malloc.c:162,168
	  		write(pv->printfd, "\n", 1);
	  	}
	  	va_end(v);
	- 	unlock(&pv->lk);
	+ //	unlock(&pv->lk);
	  	abort();
	  }
	  
 [rsc] --rw-rw-r-- M 76409 rsc sys 12028 Mar 30 17:55 sys/src/libc/port/pool.acid
	/n/sourcesdump/2006/0330/plan9/sys/src/libc/port/pool.acid:34,40 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libc/port/pool.acid:34,40
	  UTFmax = 3;
	  Runesync = 128;
	  Runeself = 128;
	- Runeerror = 128;
	+ Runeerror = 65533;
	  sizeofFmt = 48;
	  aggr Fmt
	  {
 [rsc] --rw-rw-r-- M 76409 glenda sys 3987 Mar 30 17:55 sys/src/libcontrol/label.c
	/n/sourcesdump/2006/0330/plan9/sys/src/libcontrol/label.c:151,159 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/libcontrol/label.c:151,160
	  	case EShow:
	  		_ctlargcount(l, cp, 1);
	  		labelshow(l);
	- 		break;
	+ 		/*
	  		_ctlargcount(l, cp, 2);
	  		_setctlimage(l, &l->textcolor, cp->args[1]);
	+ 		*/
	  		break;
	  	case ESize:
	  		if (cp->nargs == 3)


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.