Browse Source

Plan 9 from Bell Labs 2005-12-10

David du Colombier 15 years ago
parent
commit
376b76d7bc
4 changed files with 70 additions and 46 deletions
  1. 23 23
      dist/replica/_plan9.db
  2. 23 23
      dist/replica/plan9.db
  3. 23 0
      dist/replica/plan9.log
  4. 1 0
      sys/src/ape/lib/ap/stdio/sclose.c

+ 23 - 23
dist/replica/_plan9.db

@@ -22,21 +22,21 @@
 386/bin/acid - 775 sys sys 1133814393 400982
 386/bin/acme - 775 sys sys 1133287400 429175
 386/bin/ape - 20000000775 sys sys 1016944144 0
-386/bin/ape/basename - 775 sys sys 1134058382 132864
+386/bin/ape/basename - 775 sys sys 1134151323 132870
 386/bin/ape/cc - 775 sys sys 1132418758 70437
-386/bin/ape/diff - 775 sys sys 1134058383 349759
-386/bin/ape/diff3 - 775 sys sys 1134058384 188247
-386/bin/ape/dirname - 775 sys sys 1134058384 132643
-386/bin/ape/expr - 775 sys sys 1134058385 142285
-386/bin/ape/kill - 775 sys sys 1134058385 138214
-386/bin/ape/make - 775 sys sys 1134058386 209106
-386/bin/ape/patch - 775 sys sys 1134058387 302550
+386/bin/ape/diff - 775 sys sys 1134151324 349765
+386/bin/ape/diff3 - 775 sys sys 1134151324 188253
+386/bin/ape/dirname - 775 sys sys 1134151325 132649
+386/bin/ape/expr - 775 sys sys 1134151325 142291
+386/bin/ape/kill - 775 sys sys 1134151325 138220
+386/bin/ape/make - 775 sys sys 1134151326 209112
+386/bin/ape/patch - 775 sys sys 1134151326 302556
 386/bin/ape/psh - 775 sys sys 1042220689 34
-386/bin/ape/sed - 775 sys sys 1134058387 158316
-386/bin/ape/sh - 775 sys sys 1134058388 477228
+386/bin/ape/sed - 775 sys sys 1134151327 158322
+386/bin/ape/sh - 775 sys sys 1134151328 477234
 386/bin/ape/stty - 775 sys sys 1130384232 41057
 386/bin/ape/tar - 775 sys sys 1132418759 61979
-386/bin/ape/uname - 775 sys sys 1134058389 132693
+386/bin/ape/uname - 775 sys sys 1134151328 132699
 386/bin/ar - 775 sys sys 1131296672 111983
 386/bin/archfs - 775 sys sys 1133186773 141184
 386/bin/ascii - 775 sys sys 1130594693 64691
@@ -108,8 +108,8 @@
 386/bin/aux/lines - 775 sys sys 1130594708 60515
 386/bin/aux/listen - 775 sys sys 1132506838 108044
 386/bin/aux/listen1 - 775 sys sys 1130594708 94523
-386/bin/aux/lpdaemon - 775 sys sys 1134058389 168277
-386/bin/aux/lpdsend - 775 sys sys 1134058390 155115
+386/bin/aux/lpdaemon - 775 sys sys 1134151329 168283
+386/bin/aux/lpdsend - 775 sys sys 1134151329 155121
 386/bin/aux/lpsend - 775 sys sys 1130384251 52558
 386/bin/aux/mapd - 775 sys sys 1132506839 190822
 386/bin/aux/mkflashfs - 775 sys sys 1130594709 67389
@@ -154,7 +154,7 @@
 386/bin/aux/write - 775 sys sys 1085077011 4188
 386/bin/aux/zerotrunc - 775 sys sys 1108268388 3891
 386/bin/awd - 775 sys sys 1130594717 58770
-386/bin/awk - 775 sys sys 1134058390 321761
+386/bin/awk - 775 sys sys 1134151330 321767
 386/bin/basename - 775 sys sys 1130384262 37902
 386/bin/bc - 775 sys sys 1131163701 81808
 386/bin/bind - 775 sys sys 1130594717 59598
@@ -217,7 +217,7 @@
 386/bin/du - 775 sys sys 1130594730 73605
 386/bin/echo - 775 sys sys 1130594730 57387
 386/bin/ed - 775 sys sys 1130594731 93057
-386/bin/eqn - 775 sys sys 1134058392 243032
+386/bin/eqn - 775 sys sys 1134151330 243031
 386/bin/execnet - 775 sys sys 1133186778 172310
 386/bin/exportfs - 775 sys sys 1130594732 162273
 386/bin/ext2srv - 775 sys sys 1133186778 174299
@@ -258,10 +258,10 @@
 386/bin/games/sudoku - 775 sys sys 1117249746 171666
 386/bin/getmap - 775 sys sys 1130594742 65212
 386/bin/gif - 775 sys sys 1131646641 158163
-386/bin/grap - 775 sys sys 1134058392 280494
+386/bin/grap - 775 sys sys 1134151331 280493
 386/bin/graph - 775 sys sys 1130594743 127361
 386/bin/grep - 775 sys sys 1130594743 79090
-386/bin/gs - 775 sys sys 1134058419 11125163
+386/bin/gs - 775 sys sys 1134151357 11125169
 386/bin/gunzip - 775 sys sys 1130594744 80307
 386/bin/gview - 775 sys sys 1132418761 238559
 386/bin/gzip - 775 sys sys 1130594745 84785
@@ -354,7 +354,7 @@
 386/bin/passwd - 775 sys sys 1130594770 83779
 386/bin/pbd - 775 sys sys 1085077087 4661
 386/bin/pcc - 775 sys sys 1132418763 67946
-386/bin/pic - 775 sys sys 1134058420 305712
+386/bin/pic - 775 sys sys 1134151358 305711
 386/bin/pipefile - 775 sys sys 1130384320 39414
 386/bin/plot - 775 sys sys 1132506868 222348
 386/bin/plumb - 775 sys sys 1133287402 69363
@@ -399,7 +399,7 @@
 386/bin/sniffer - 775 sys sys 1038443185 99028
 386/bin/snoopy - 775 sys sys 1130594784 168241
 386/bin/sort - 775 sys sys 1130594784 82308
-386/bin/spin - 775 sys sys 1134058421 758521
+386/bin/spin - 775 sys sys 1134151359 758520
 386/bin/split - 775 sys sys 1130594784 75667
 386/bin/srv - 775 sys sys 1132418764 82481
 386/bin/srvfs - 775 sys sys 1130384335 40083
@@ -431,7 +431,7 @@
 386/bin/tprof - 775 sys sys 1132950495 297591
 386/bin/tr - 775 sys sys 1130594793 61883
 386/bin/trace - 775 sys sys 1132418767 181163
-386/bin/troff - 775 sys sys 1134058423 357942
+386/bin/troff - 775 sys sys 1134151360 357941
 386/bin/troff2html - 775 sys sys 1132506877 85770
 386/bin/tweak - 775 sys sys 1132418767 192895
 386/bin/unicode - 775 sys sys 1130594795 62546
@@ -467,7 +467,7 @@
 386/bin/upas/spam - 775 sys sys 1064598366 36
 386/bin/upas/testscan - 775 sys sys 1130594804 83691
 386/bin/upas/token - 775 sys sys 1130594804 77586
-386/bin/upas/unesc - 775 sys sys 1134058423 132258
+386/bin/upas/unesc - 775 sys sys 1134151361 132264
 386/bin/upas/unspam - 775 sys sys 1064598367 38
 386/bin/upas/vf - 775 sys sys 1130594804 97025
 386/bin/usb - 20000000775 sys sys 1019538890 0
@@ -525,7 +525,7 @@
 386/lib - 20000000775 sys sys 1016826328 0
 386/lib/ape - 20000000775 sys sys 944969312 0
 386/lib/ape/lib9.a - 664 sys sys 1132506894 6988
-386/lib/ape/libap.a - 664 sys sys 1134073611 809448
+386/lib/ape/libap.a - 664 sys sys 1134151363 809462
 386/lib/ape/libbsd.a - 664 sys sys 1122001336 179308
 386/lib/ape/libdraw.a - 664 sys sys 1131646653 574552
 386/lib/ape/libfmt.a - 664 sys sys 1122001337 147204
@@ -8765,7 +8765,7 @@ sys/src/ape/lib/ap/stdio/remove.c - 664 sys sys 1014921982 106
 sys/src/ape/lib/ap/stdio/rename.c - 664 sys sys 1014921982 225
 sys/src/ape/lib/ap/stdio/rewind.c - 664 sys sys 1014921982 99
 sys/src/ape/lib/ap/stdio/scanf.c - 664 sys sys 1014921982 185
-sys/src/ape/lib/ap/stdio/sclose.c - 664 sys sys 1014921982 556
+sys/src/ape/lib/ap/stdio/sclose.c - 664 sys sys 1134143011 575
 sys/src/ape/lib/ap/stdio/setbuf.c - 664 sys sys 1014921982 281
 sys/src/ape/lib/ap/stdio/setvbuf.c - 664 sys sys 1134052382 679
 sys/src/ape/lib/ap/stdio/snprintf.c - 664 sys sys 1050684385 307

+ 23 - 23
dist/replica/plan9.db

@@ -22,21 +22,21 @@
 386/bin/acid - 775 sys sys 1133814393 400982
 386/bin/acme - 775 sys sys 1133287400 429175
 386/bin/ape - 20000000775 sys sys 1016944144 0
-386/bin/ape/basename - 775 sys sys 1134058382 132864
+386/bin/ape/basename - 775 sys sys 1134151323 132870
 386/bin/ape/cc - 775 sys sys 1132418758 70437
-386/bin/ape/diff - 775 sys sys 1134058383 349759
-386/bin/ape/diff3 - 775 sys sys 1134058384 188247
-386/bin/ape/dirname - 775 sys sys 1134058384 132643
-386/bin/ape/expr - 775 sys sys 1134058385 142285
-386/bin/ape/kill - 775 sys sys 1134058385 138214
-386/bin/ape/make - 775 sys sys 1134058386 209106
-386/bin/ape/patch - 775 sys sys 1134058387 302550
+386/bin/ape/diff - 775 sys sys 1134151324 349765
+386/bin/ape/diff3 - 775 sys sys 1134151324 188253
+386/bin/ape/dirname - 775 sys sys 1134151325 132649
+386/bin/ape/expr - 775 sys sys 1134151325 142291
+386/bin/ape/kill - 775 sys sys 1134151325 138220
+386/bin/ape/make - 775 sys sys 1134151326 209112
+386/bin/ape/patch - 775 sys sys 1134151326 302556
 386/bin/ape/psh - 775 sys sys 1042220689 34
-386/bin/ape/sed - 775 sys sys 1134058387 158316
-386/bin/ape/sh - 775 sys sys 1134058388 477228
+386/bin/ape/sed - 775 sys sys 1134151327 158322
+386/bin/ape/sh - 775 sys sys 1134151328 477234
 386/bin/ape/stty - 775 sys sys 1130384232 41057
 386/bin/ape/tar - 775 sys sys 1132418759 61979
-386/bin/ape/uname - 775 sys sys 1134058389 132693
+386/bin/ape/uname - 775 sys sys 1134151328 132699
 386/bin/ar - 775 sys sys 1131296672 111983
 386/bin/archfs - 775 sys sys 1133186773 141184
 386/bin/ascii - 775 sys sys 1130594693 64691
@@ -108,8 +108,8 @@
 386/bin/aux/lines - 775 sys sys 1130594708 60515
 386/bin/aux/listen - 775 sys sys 1132506838 108044
 386/bin/aux/listen1 - 775 sys sys 1130594708 94523
-386/bin/aux/lpdaemon - 775 sys sys 1134058389 168277
-386/bin/aux/lpdsend - 775 sys sys 1134058390 155115
+386/bin/aux/lpdaemon - 775 sys sys 1134151329 168283
+386/bin/aux/lpdsend - 775 sys sys 1134151329 155121
 386/bin/aux/lpsend - 775 sys sys 1130384251 52558
 386/bin/aux/mapd - 775 sys sys 1132506839 190822
 386/bin/aux/mkflashfs - 775 sys sys 1130594709 67389
@@ -154,7 +154,7 @@
 386/bin/aux/write - 775 sys sys 1085077011 4188
 386/bin/aux/zerotrunc - 775 sys sys 1108268388 3891
 386/bin/awd - 775 sys sys 1130594717 58770
-386/bin/awk - 775 sys sys 1134058390 321761
+386/bin/awk - 775 sys sys 1134151330 321767
 386/bin/basename - 775 sys sys 1130384262 37902
 386/bin/bc - 775 sys sys 1131163701 81808
 386/bin/bind - 775 sys sys 1130594717 59598
@@ -217,7 +217,7 @@
 386/bin/du - 775 sys sys 1130594730 73605
 386/bin/echo - 775 sys sys 1130594730 57387
 386/bin/ed - 775 sys sys 1130594731 93057
-386/bin/eqn - 775 sys sys 1134058392 243032
+386/bin/eqn - 775 sys sys 1134151330 243031
 386/bin/execnet - 775 sys sys 1133186778 172310
 386/bin/exportfs - 775 sys sys 1130594732 162273
 386/bin/ext2srv - 775 sys sys 1133186778 174299
@@ -258,10 +258,10 @@
 386/bin/games/sudoku - 775 sys sys 1117249746 171666
 386/bin/getmap - 775 sys sys 1130594742 65212
 386/bin/gif - 775 sys sys 1131646641 158163
-386/bin/grap - 775 sys sys 1134058392 280494
+386/bin/grap - 775 sys sys 1134151331 280493
 386/bin/graph - 775 sys sys 1130594743 127361
 386/bin/grep - 775 sys sys 1130594743 79090
-386/bin/gs - 775 sys sys 1134058419 11125163
+386/bin/gs - 775 sys sys 1134151357 11125169
 386/bin/gunzip - 775 sys sys 1130594744 80307
 386/bin/gview - 775 sys sys 1132418761 238559
 386/bin/gzip - 775 sys sys 1130594745 84785
@@ -354,7 +354,7 @@
 386/bin/passwd - 775 sys sys 1130594770 83779
 386/bin/pbd - 775 sys sys 1085077087 4661
 386/bin/pcc - 775 sys sys 1132418763 67946
-386/bin/pic - 775 sys sys 1134058420 305712
+386/bin/pic - 775 sys sys 1134151358 305711
 386/bin/pipefile - 775 sys sys 1130384320 39414
 386/bin/plot - 775 sys sys 1132506868 222348
 386/bin/plumb - 775 sys sys 1133287402 69363
@@ -399,7 +399,7 @@
 386/bin/sniffer - 775 sys sys 1038443185 99028
 386/bin/snoopy - 775 sys sys 1130594784 168241
 386/bin/sort - 775 sys sys 1130594784 82308
-386/bin/spin - 775 sys sys 1134058421 758521
+386/bin/spin - 775 sys sys 1134151359 758520
 386/bin/split - 775 sys sys 1130594784 75667
 386/bin/srv - 775 sys sys 1132418764 82481
 386/bin/srvfs - 775 sys sys 1130384335 40083
@@ -431,7 +431,7 @@
 386/bin/tprof - 775 sys sys 1132950495 297591
 386/bin/tr - 775 sys sys 1130594793 61883
 386/bin/trace - 775 sys sys 1132418767 181163
-386/bin/troff - 775 sys sys 1134058423 357942
+386/bin/troff - 775 sys sys 1134151360 357941
 386/bin/troff2html - 775 sys sys 1132506877 85770
 386/bin/tweak - 775 sys sys 1132418767 192895
 386/bin/unicode - 775 sys sys 1130594795 62546
@@ -467,7 +467,7 @@
 386/bin/upas/spam - 775 sys sys 1064598366 36
 386/bin/upas/testscan - 775 sys sys 1130594804 83691
 386/bin/upas/token - 775 sys sys 1130594804 77586
-386/bin/upas/unesc - 775 sys sys 1134058423 132258
+386/bin/upas/unesc - 775 sys sys 1134151361 132264
 386/bin/upas/unspam - 775 sys sys 1064598367 38
 386/bin/upas/vf - 775 sys sys 1130594804 97025
 386/bin/usb - 20000000775 sys sys 1019538890 0
@@ -525,7 +525,7 @@
 386/lib - 20000000775 sys sys 1016826328 0
 386/lib/ape - 20000000775 sys sys 944969312 0
 386/lib/ape/lib9.a - 664 sys sys 1132506894 6988
-386/lib/ape/libap.a - 664 sys sys 1134073611 809448
+386/lib/ape/libap.a - 664 sys sys 1134151363 809462
 386/lib/ape/libbsd.a - 664 sys sys 1122001336 179308
 386/lib/ape/libdraw.a - 664 sys sys 1131646653 574552
 386/lib/ape/libfmt.a - 664 sys sys 1122001337 147204
@@ -8765,7 +8765,7 @@ sys/src/ape/lib/ap/stdio/remove.c - 664 sys sys 1014921982 106
 sys/src/ape/lib/ap/stdio/rename.c - 664 sys sys 1014921982 225
 sys/src/ape/lib/ap/stdio/rewind.c - 664 sys sys 1014921982 99
 sys/src/ape/lib/ap/stdio/scanf.c - 664 sys sys 1014921982 185
-sys/src/ape/lib/ap/stdio/sclose.c - 664 sys sys 1014921982 556
+sys/src/ape/lib/ap/stdio/sclose.c - 664 sys sys 1134143011 575
 sys/src/ape/lib/ap/stdio/setbuf.c - 664 sys sys 1014921982 281
 sys/src/ape/lib/ap/stdio/setvbuf.c - 664 sys sys 1134052382 679
 sys/src/ape/lib/ap/stdio/snprintf.c - 664 sys sys 1050684385 307

+ 23 - 0
dist/replica/plan9.log

@@ -23418,3 +23418,26 @@
 1134059437 21 c 386/lib/ape/libap.a - 664 sys sys 1134058425 809460
 1134063038 0 c sys/src/ape/lib/ap/stdio/fgets.c - 664 sys sys 1134062985 263
 1134073840 0 c 386/lib/ape/libap.a - 664 sys sys 1134073611 809448
+1134144061 0 c sys/src/ape/lib/ap/stdio/sclose.c - 664 sys sys 1134143011 575
+1134153063 0 c 386/bin/awk - 775 sys sys 1134151330 321767
+1134153063 1 c 386/bin/eqn - 775 sys sys 1134151330 243031
+1134153063 2 c 386/bin/grap - 775 sys sys 1134151331 280493
+1134153063 3 c 386/bin/gs - 775 sys sys 1134151357 11125169
+1134153063 4 c 386/bin/pic - 775 sys sys 1134151358 305711
+1134153063 5 c 386/bin/spin - 775 sys sys 1134151359 758520
+1134153063 6 c 386/bin/ape/basename - 775 sys sys 1134151323 132870
+1134153063 7 c 386/bin/ape/diff - 775 sys sys 1134151324 349765
+1134153063 8 c 386/bin/ape/diff3 - 775 sys sys 1134151324 188253
+1134153063 9 c 386/bin/ape/dirname - 775 sys sys 1134151325 132649
+1134153063 10 c 386/bin/ape/expr - 775 sys sys 1134151325 142291
+1134153063 11 c 386/bin/ape/kill - 775 sys sys 1134151325 138220
+1134153063 12 c 386/bin/ape/make - 775 sys sys 1134151326 209112
+1134153063 13 c 386/bin/ape/patch - 775 sys sys 1134151326 302556
+1134153063 14 c 386/bin/ape/sed - 775 sys sys 1134151327 158322
+1134153063 15 c 386/bin/ape/sh - 775 sys sys 1134151328 477234
+1134153063 16 c 386/bin/ape/uname - 775 sys sys 1134151328 132699
+1134153063 17 c 386/bin/aux/lpdaemon - 775 sys sys 1134151329 168283
+1134153063 18 c 386/bin/aux/lpdsend - 775 sys sys 1134151329 155121
+1134153063 19 c 386/bin/troff - 775 sys sys 1134151360 357941
+1134153063 20 c 386/bin/upas/unesc - 775 sys sys 1134151361 132264
+1134153063 21 c 386/lib/ape/libap.a - 664 sys sys 1134151363 809462

+ 1 - 0
sys/src/ape/lib/ap/stdio/sclose.c

@@ -9,6 +9,7 @@ char *_IO_sclose(FILE *f){
 	default:	/* ERR CLOSED */
 		if(f->buf && f->flags&BALLOC)
 			free(f->buf);
+		f->state=CLOSED;
 		f->flags=0;
 		return NULL;
 	case OPEN: