Browse Source

Plan 9 from Bell Labs 2008-06-20

David du Colombier 13 years ago
parent
commit
2685192975

+ 4 - 4
dist/replica/_plan9.db

@@ -5521,7 +5521,7 @@ rc/bin/delkey - 775 sys sys 1109429137 643
 rc/bin/dial - 20000000775 sys sys 1059180057 0
 rc/bin/diffy - 775 sys sys 1140694870 277
 rc/bin/dircp - 775 sys sys 1186289104 181
-rc/bin/diskparts - 775 sys sys 1213733501 1052
+rc/bin/diskparts - 775 sys sys 1213893784 1066
 rc/bin/dmaon - 775 sys sys 1205288448 220
 rc/bin/doc2ps - 775 sys sys 1205813503 338
 rc/bin/doc2txt - 775 sys sys 1025197880 563
@@ -5855,7 +5855,7 @@ sys/games - 20000000775 sys sys 1117225532 0
 sys/games/lib - 20000000775 sys sys 1165337608 0
 sys/games/lib/4scores - 10000000666 sys sys 1118680448 0
 sys/games/lib/5scores - 10000000666 sys sys 1118680453 0
-sys/games/lib/fortunes - 664 sys sys 1213360784 269499
+sys/games/lib/fortunes - 664 sys sys 1213899205 269744
 sys/games/lib/mahjongg - 20000000775 sys sys 1095792278 0
 sys/games/lib/mahjongg/backgrounds - 20000000775 sys sys 1095792293 0
 sys/games/lib/mahjongg/backgrounds/default.bit - 664 sys sys 1095792293 346803
@@ -12555,7 +12555,7 @@ sys/src/cmd/ip/imap4d/mkfile - 664 sys sys 1063897579 332
 sys/src/cmd/ip/imap4d/msg.c - 664 sys sys 1168894057 31415
 sys/src/cmd/ip/imap4d/mutf7.c - 664 sys sys 1015013077 2724
 sys/src/cmd/ip/imap4d/nodes.c - 664 sys sys 1015013077 3173
-sys/src/cmd/ip/imap4d/search.c - 664 sys sys 1015013077 4520
+sys/src/cmd/ip/imap4d/search.c - 664 sys sys 1213893891 4557
 sys/src/cmd/ip/imap4d/store.c - 664 sys sys 1066317059 1910
 sys/src/cmd/ip/imap4d/utils.c - 664 sys sys 1168894057 2587
 sys/src/cmd/ip/ipconfig - 20000000775 sys sys 1176933436 0
@@ -13620,7 +13620,7 @@ sys/src/cmd/telco/telcofax - 664 sys sys 944961289 30
 sys/src/cmd/test.c - 664 sys sys 1211997263 5784
 sys/src/cmd/time.c - 664 sys sys 1014926662 1546
 sys/src/cmd/tlsclient.c - 664 sys sys 1024375149 1631
-sys/src/cmd/tlssrv.c - 664 sys sys 1161442158 3480
+sys/src/cmd/tlssrv.c - 664 sys sys 1213893726 3478
 sys/src/cmd/touch.c - 664 sys sys 1139758085 960
 sys/src/cmd/tprof.c - 664 sys sys 1124305452 2731
 sys/src/cmd/tr.c - 664 sys sys 944961464 6008

+ 4 - 4
dist/replica/plan9.db

@@ -5521,7 +5521,7 @@ rc/bin/delkey - 775 sys sys 1109429137 643
 rc/bin/dial - 20000000775 sys sys 1059180057 0
 rc/bin/diffy - 775 sys sys 1140694870 277
 rc/bin/dircp - 775 sys sys 1186289104 181
-rc/bin/diskparts - 775 sys sys 1213733501 1052
+rc/bin/diskparts - 775 sys sys 1213893784 1066
 rc/bin/dmaon - 775 sys sys 1205288448 220
 rc/bin/doc2ps - 775 sys sys 1205813503 338
 rc/bin/doc2txt - 775 sys sys 1025197880 563
@@ -5855,7 +5855,7 @@ sys/games - 20000000775 sys sys 1117225532 0
 sys/games/lib - 20000000775 sys sys 1165337608 0
 sys/games/lib/4scores - 10000000666 sys sys 1118680448 0
 sys/games/lib/5scores - 10000000666 sys sys 1118680453 0
-sys/games/lib/fortunes - 664 sys sys 1213360784 269499
+sys/games/lib/fortunes - 664 sys sys 1213899205 269744
 sys/games/lib/mahjongg - 20000000775 sys sys 1095792278 0
 sys/games/lib/mahjongg/backgrounds - 20000000775 sys sys 1095792293 0
 sys/games/lib/mahjongg/backgrounds/default.bit - 664 sys sys 1095792293 346803
@@ -12555,7 +12555,7 @@ sys/src/cmd/ip/imap4d/mkfile - 664 sys sys 1063897579 332
 sys/src/cmd/ip/imap4d/msg.c - 664 sys sys 1168894057 31415
 sys/src/cmd/ip/imap4d/mutf7.c - 664 sys sys 1015013077 2724
 sys/src/cmd/ip/imap4d/nodes.c - 664 sys sys 1015013077 3173
-sys/src/cmd/ip/imap4d/search.c - 664 sys sys 1015013077 4520
+sys/src/cmd/ip/imap4d/search.c - 664 sys sys 1213893891 4557
 sys/src/cmd/ip/imap4d/store.c - 664 sys sys 1066317059 1910
 sys/src/cmd/ip/imap4d/utils.c - 664 sys sys 1168894057 2587
 sys/src/cmd/ip/ipconfig - 20000000775 sys sys 1176933436 0
@@ -13620,7 +13620,7 @@ sys/src/cmd/telco/telcofax - 664 sys sys 944961289 30
 sys/src/cmd/test.c - 664 sys sys 1211997263 5784
 sys/src/cmd/time.c - 664 sys sys 1014926662 1546
 sys/src/cmd/tlsclient.c - 664 sys sys 1024375149 1631
-sys/src/cmd/tlssrv.c - 664 sys sys 1161442158 3480
+sys/src/cmd/tlssrv.c - 664 sys sys 1213893726 3478
 sys/src/cmd/touch.c - 664 sys sys 1139758085 960
 sys/src/cmd/tprof.c - 664 sys sys 1124305452 2731
 sys/src/cmd/tr.c - 664 sys sys 944961464 6008

+ 4 - 0
dist/replica/plan9.log

@@ -19896,3 +19896,7 @@
 1213808404 0 c sys/lib/dist/mkfile - 664 sys sys 1213807255 5494
 1213808404 1 c sys/src/cmd/auth/rsa2x509.c - 664 sys sys 1213807380 795
 1213813804 0 c 386/bin/pump - 775 sys sys 1213813262 60580
+1213894803 0 c rc/bin/diskparts - 775 sys sys 1213893784 1066
+1213894803 1 c sys/src/cmd/ip/imap4d/search.c - 664 sys sys 1213893891 4557
+1213894803 2 c sys/src/cmd/tlssrv.c - 664 sys sys 1213893726 3478
+1213900204 0 c sys/games/lib/fortunes - 664 sys sys 1213899205 269744

+ 1 - 1
rc/bin/diskparts

@@ -19,7 +19,7 @@ for(disk in /dev/sd*) {
 		parts=($disk/data)
 	for(part in $parts)
 		if(test -f $part)
-			disk/prep -p $part |
+			disk/prep -p $part >[2]/dev/null |
 				grep -v '^delpart ' >$disk/ctl >[2]/dev/null
 }
 

+ 3 - 0
sys/games/lib/fortunes

@@ -4224,3 +4224,6 @@ Command (m for help):
 Please contact nicfae@realtek.com.tw for singing NDA form.
 /home/jmk/.wvdial.conf<Warn>: Ignoring malformed input line: ";Do NOT edit this file by hand!"
 We tried to find an office that was equally inconvenient for you and Thomas.
+2008-06-18 00:00:37: [650] DEBUG: msg 5 not interesting
+Your IP address is: <? echo getenv('REMOTE_ADDR'); ?>. By continuing to browse this website, you agree to the following terms.
+/*	dummy = malloc(0);  *//* prepare for garbage-collection */

+ 3 - 1
sys/src/cmd/ip/imap4d/search.c

@@ -102,7 +102,9 @@ searchMsg(Msg *m, Search *s)
 			ok = addrSearch(m->to, s->s);
 			break;
 		case SKSubject:
-			ok = cistrstr(m->info[ISubject], s->s) != nil;
+			ok = 0;
+			if(m->info[ISubject])
+				ok = cistrstr(m->info[ISubject], s->s) != nil;
 			break;
 
 		case SKBefore:

+ 1 - 1
sys/src/cmd/tlssrv.c

@@ -164,7 +164,7 @@ main(int argc, char *argv[])
 		reporter("failed: %r");
 		exits(0);
 	}
-	reporter("open\n");
+	reporter("open");
 
 	if(argc > 0){
 		if(pipe(p) < 0)