Browse Source

Plan 9 from Bell Labs 2003-12-11

David du Colombier 18 years ago
parent
commit
50e2c04eae

+ 1 - 1
dist/replica/network

@@ -15,7 +15,7 @@ if ( ! test -e /srv/boot && ! test -e /srv/kfs ) {
 	exit '/srv/boot or /srv/kfs not present'
 }
 
-if (test -e /srv/boot) {
+if (test -e /srv/fscons) {
 	if ( ! test -w /srv/fscons ) { 
 		echo 'error: no write access to /srv/fscons, make sure you are the host owner' 
 		exit 'no write access to /srv/fscons'

+ 4 - 4
dist/replica/plan9.db

@@ -851,7 +851,7 @@ dist - 20000000775 sys sys 1017437778 0
 dist/replica - 20000000775 sys sys 1019277119 0
 dist/replica/cd - 664 sys sys 1019527959 390
 dist/replica/kfs - 664 sys sys 1019527929 237
-dist/replica/network - 775 sys sys 1070911277 994
+dist/replica/network - 775 sys sys 1071079179 996
 dist/replica/plan9.proto - 664 sys sys 1022112985 1209
 env - 20000000775 sys sys 1015094872 0
 fd - 20000000775 sys sys 947958544 0
@@ -2816,7 +2816,7 @@ mail/lib/remotemail - 775 upas upas 959722371 180
 mail/lib/rewrite - 664 upas upas 964036209 295
 mail/lib/rewrite.direct - 664 upas upas 1020271916 1048
 mail/lib/rewrite.gateway - 664 upas upas 1020271916 1078
-mail/lib/setup.bayes - 775 upas upas 1063950943 441
+mail/lib/setup.bayes - 775 upas upas 1071065627 468
 mail/lib/smtpd.conf - 664 upas upas 961114164 536
 mail/lib/smtpd.conf.ext - 664 upas upas 956777845 763
 mail/lib/spam.rc - 775 upas upas 1063950954 400
@@ -5977,7 +5977,7 @@ sys/src/ape/lib/ap/math/tan.c - 664 sys sys 1014921986 1295
 sys/src/ape/lib/ap/math/tanh.c - 664 sys sys 1014921986 374
 sys/src/ape/lib/ap/mips - 20000000775 sys sys 1014921989 0
 sys/src/ape/lib/ap/mips/getfcr.s - 664 sys sys 1014921989 167
-sys/src/ape/lib/ap/mips/lock.c - 664 sys sys 1014921989 2381
+sys/src/ape/lib/ap/mips/lock.c - 664 sys sys 1071110410 2380
 sys/src/ape/lib/ap/mips/main9.s - 664 sys sys 1014921988 205
 sys/src/ape/lib/ap/mips/main9p.s - 664 sys sys 1014921989 538
 sys/src/ape/lib/ap/mips/memchr.s - 664 sys sys 1014921989 425
@@ -10350,7 +10350,7 @@ sys/src/cmd/ssh/cipherdes.c - 664 sys sys 1016466379 567
 sys/src/cmd/ssh/ciphernone.c - 664 sys sys 1016466379 317
 sys/src/cmd/ssh/cipherrc4.c - 664 sys sys 1016466379 674
 sys/src/cmd/ssh/ciphertwiddle.c - 664 sys sys 1016466379 380
-sys/src/cmd/ssh/cmsg.c - 664 sys sys 1062091015 8350
+sys/src/cmd/ssh/cmsg.c - 664 sys sys 1071095546 8351
 sys/src/cmd/ssh/mkfile - 664 sys sys 1048179592 1045
 sys/src/cmd/ssh/msg.c - 664 sys sys 1062091016 8023
 sys/src/cmd/ssh/pubkey.c - 664 sys sys 1019928902 3974

+ 4 - 0
dist/replica/plan9.log

@@ -12957,3 +12957,7 @@
 1070911927 0 c dist/replica/network - 775 sys sys 1070911277 994
 1070983937 0 c sys/games/lib/fortunes - 664 sys sys 1070982320 246889
 1071009141 0 c sys/src/cmd/fossil/cache.c - 664 sys sys 1071007936 43090
+1071066749 0 c mail/lib/setup.bayes - 775 upas upas 1071065627 468
+1071079350 0 c dist/replica/network - 775 sys sys 1071079179 996
+1071095553 0 c sys/src/cmd/ssh/cmsg.c - 664 sys sys 1071095546 8351
+1071111756 0 c sys/src/ape/lib/ap/mips/lock.c - 664 sys sys 1071110410 2380

+ 2 - 0
mail/lib/setup.bayes

@@ -2,6 +2,7 @@
 
 cd /mail/box/$user
 >>_bounced
+>>L.spam
 chmod +arw _bounced
 >>_prof.mbox
 >>_prof.spam
@@ -10,6 +11,7 @@ if(! test -s _prof.mbox)
 if(! test -s _prof.spam)
 	cp /mail/lib/prof.spam _prof.spam
 chmod +lrw _prof.mbox _prof.spam
+chmod +lrw L.spam
 >>spam
 chmod +alrw spam
 i=0

+ 1 - 1
sys/src/ape/lib/ap/mips/lock.c

@@ -138,7 +138,7 @@ unlock(Lock *lk)
 }
 
 int
-_tas(int *p)
+tas(int *p)
 {
 	int *hwsem;
 	int hash;

+ 1 - 1
sys/src/cmd/ssh/cmsg.c

@@ -77,7 +77,7 @@ authuser(Conn *c)
 	putstring(m, c->user);
 	sendmsg(m);
 
-	m = recvmsg(c, 0);
+	m = recvmsg(c, -1);
 	switch(m->type){
 	case SSH_SMSG_SUCCESS:
 		free(m);