Browse Source

Plan 9 from Bell Labs 2006-02-16

David du Colombier 15 years ago
parent
commit
dd9f4e78ea
5 changed files with 15 additions and 9 deletions
  1. 3 3
      dist/replica/_plan9.db
  2. 3 3
      dist/replica/plan9.db
  3. 4 0
      dist/replica/plan9.log
  4. 2 0
      sys/games/lib/fortunes
  5. 3 3
      sys/src/cmd/fossil/9p.c

+ 3 - 3
dist/replica/_plan9.db

@@ -234,7 +234,7 @@
 386/bin/fossil/conf - 775 sys sys 1085077052 1506
 386/bin/fossil/flchk - 775 sys sys 1139680590 238422
 386/bin/fossil/flfmt - 775 sys sys 1139680591 246569
-386/bin/fossil/fossil - 775 sys sys 1139680592 363654
+386/bin/fossil/fossil - 775 sys sys 1140019618 363642
 386/bin/fossil/last - 775 sys sys 1135570812 63280
 386/bin/freq - 775 sys sys 1136397208 61797
 386/bin/fs - 20000000775 sys sys 954380769 0
@@ -5745,7 +5745,7 @@ sys/games - 20000000775 sys sys 952648872 0
 sys/games/lib - 20000000775 sys sys 952648879 0
 sys/games/lib/4scores - 10000000664 sys sys 1118680448 0
 sys/games/lib/5scores - 10000000664 sys sys 1118680453 0
-sys/games/lib/fortunes - 664 sys sys 1139760252 257379
+sys/games/lib/fortunes - 664 sys sys 1140048019 257519
 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
@@ -10134,7 +10134,7 @@ sys/src/cmd/fossil/9excl.c - 664 sys sys 1042005502 1887
 sys/src/cmd/fossil/9fid.c - 664 sys sys 1045600016 5521
 sys/src/cmd/fossil/9fsys.c - 664 sys sys 1139667252 33422
 sys/src/cmd/fossil/9lstn.c - 664 sys sys 1138469518 3024
-sys/src/cmd/fossil/9p.c - 664 sys sys 1138465942 22935
+sys/src/cmd/fossil/9p.c - 664 sys sys 1140010159 22931
 sys/src/cmd/fossil/9ping.c - 664 sys sys 1042005503 1563
 sys/src/cmd/fossil/9proc.c - 664 sys sys 1138469518 15148
 sys/src/cmd/fossil/9srv.c - 664 sys sys 1138465941 3956

+ 3 - 3
dist/replica/plan9.db

@@ -234,7 +234,7 @@
 386/bin/fossil/conf - 775 sys sys 1085077052 1506
 386/bin/fossil/flchk - 775 sys sys 1139680590 238422
 386/bin/fossil/flfmt - 775 sys sys 1139680591 246569
-386/bin/fossil/fossil - 775 sys sys 1139680592 363654
+386/bin/fossil/fossil - 775 sys sys 1140019618 363642
 386/bin/fossil/last - 775 sys sys 1135570812 63280
 386/bin/freq - 775 sys sys 1136397208 61797
 386/bin/fs - 20000000775 sys sys 954380769 0
@@ -5745,7 +5745,7 @@ sys/games - 20000000775 sys sys 952648872 0
 sys/games/lib - 20000000775 sys sys 952648879 0
 sys/games/lib/4scores - 10000000664 sys sys 1118680448 0
 sys/games/lib/5scores - 10000000664 sys sys 1118680453 0
-sys/games/lib/fortunes - 664 sys sys 1139760252 257379
+sys/games/lib/fortunes - 664 sys sys 1140048019 257519
 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
@@ -10134,7 +10134,7 @@ sys/src/cmd/fossil/9excl.c - 664 sys sys 1042005502 1887
 sys/src/cmd/fossil/9fid.c - 664 sys sys 1045600016 5521
 sys/src/cmd/fossil/9fsys.c - 664 sys sys 1139667252 33422
 sys/src/cmd/fossil/9lstn.c - 664 sys sys 1138469518 3024
-sys/src/cmd/fossil/9p.c - 664 sys sys 1138465942 22935
+sys/src/cmd/fossil/9p.c - 664 sys sys 1140010159 22931
 sys/src/cmd/fossil/9ping.c - 664 sys sys 1042005503 1563
 sys/src/cmd/fossil/9proc.c - 664 sys sys 1138469518 15148
 sys/src/cmd/fossil/9srv.c - 664 sys sys 1138465941 3956

+ 4 - 0
dist/replica/plan9.log

@@ -27604,3 +27604,7 @@
 1139853617 2 a 386/bin/aux/usage - 775 sys sys 1139853471 59587
 1139853617 3 c 386/bin/touch - 775 sys sys 1139853472 63826
 1139853617 4 c sys/src/cmd/ls.c - 664 sys sys 1139853105 5706
+1140010266 0 c sys/src/cmd/fossil/9p.c - 664 sys sys 1140010159 22931
+1140021069 0 c 386/bin/fossil/fossil - 775 sys sys 1140019618 363642
+1140028271 0 c sys/games/lib/fortunes - 664 sys sys 1140028225 257450
+1140048076 0 c sys/games/lib/fortunes - 664 sys sys 1140048019 257519

+ 2 - 0
sys/games/lib/fortunes

@@ -4103,3 +4103,5 @@ Revision control is like any other form of accountancy -- worthy but dull. -fors
 There are but 10 types of people in the world. Those who understand the binary numbering system and those who don't.
 we live in a world of dogmas, probably trying to fight it with a stronger dogma is a bad idea, but trying to fight it with preumpted objectivism clearly doesn't work.  - uriel
 Equations are the devil's sentences.  - Stephen Colbert
+cpu: can't dial: plan9.lanl.gov: The operation completed successfully.
+A kiss without a beard is like an egg without salt.  - Dutch proverb

+ 3 - 3
sys/src/cmd/fossil/9p.c

@@ -744,16 +744,16 @@ rTopen(Msg* m)
 	/*
 	 * Everything checks out, try to commit any changes.
 	 */
-	if((m->t.mode & OTRUNC) && !(mode & ModeAppend)){
+	if((m->t.mode & OTRUNC) && !(mode & ModeAppend))
 		if(!fileTruncate(fid->file, fid->uid))
 			goto error;
-		fid->qid.vers = fileGetMcount(fid->file);
-	}
+
 	if(isdir && fid->db != nil){
 		dirBufFree(fid->db);
 		fid->db = nil;
 	}
 
+	fid->qid.vers = fileGetMcount(fid->file);
 	m->r.qid = fid->qid;
 	m->r.iounit = m->con->msize-IOHDRSZ;