Browse Source

Plan 9 from Bell Labs 2004-08-08

David du Colombier 16 years ago
parent
commit
dc33830ed7
50 changed files with 340 additions and 194 deletions
  1. 57 65
      dist/replica/_plan9.db
  2. 56 56
      dist/replica/plan9.db
  3. 57 0
      dist/replica/plan9.log
  4. 3 0
      sys/games/lib/fortunes
  5. 5 0
      sys/include/9p.h
  6. 1 0
      sys/include/String.h
  7. 0 1
      sys/include/auth.h
  8. 2 0
      sys/include/bin.h
  9. 2 0
      sys/include/draw.h
  10. 5 0
      sys/include/html.h
  11. 2 0
      sys/include/httpd.h
  12. 2 0
      sys/include/memdraw.h
  13. 3 0
      sys/include/ndb.h
  14. 2 0
      sys/include/scribble.h
  15. 3 0
      sys/include/thread.h
  16. 12 9
      sys/include/tos.h
  17. 6 1
      sys/include/venti.h
  18. 2 1
      sys/src/9/bitsy/dat.h
  19. 6 8
      sys/src/9/ip/ip.h
  20. 2 0
      sys/src/9/mtx/dat.h
  21. 2 0
      sys/src/9/pc/dat.h
  22. 11 12
      sys/src/9/port/portdat.h
  23. 0 1
      sys/src/9/port/portfns.h
  24. 2 0
      sys/src/9/ppc/dat.h
  25. 2 0
      sys/src/cmd/9660srv/dat.h
  26. 3 1
      sys/src/cmd/auth/factotum/dat.h
  27. 0 4
      sys/src/cmd/disk/kfs/9p1.h
  28. 0 1
      sys/src/cmd/disk/kfs/9p12.c
  29. 0 2
      sys/src/cmd/disk/kfs/9p2.c
  30. 4 0
      sys/src/cmd/disk/kfs/all.h
  31. 4 2
      sys/src/cmd/disk/mkext.c
  32. 4 0
      sys/src/cmd/fossil/9.h
  33. 0 2
      sys/src/cmd/fossil/check.c
  34. 7 0
      sys/src/cmd/fossil/dat.h
  35. 4 0
      sys/src/cmd/fossil/fs.h
  36. 2 2
      sys/src/cmd/grep/main.c
  37. 2 0
      sys/src/cmd/ip/ftpfs/ftpfs.h
  38. 1 0
      sys/src/cmd/ip/ppp/ppp.h
  39. 4 1
      sys/src/cmd/rc/rc.h
  40. 3 0
      sys/src/cmd/replica/all.h
  41. 2 0
      sys/src/cmd/ssh/ssh.h
  42. 1 1
      sys/src/cmd/vac/dat.h
  43. 3 0
      sys/src/cmd/vac/vac.h
  44. 2 1
      sys/src/cmd/venti/dat.h
  45. 2 0
      sys/src/cmd/venti/icache.c
  46. 2 2
      sys/src/cmd/venti/xml.c
  47. 24 2
      sys/src/libmach/executable.c
  48. 1 1
      sys/src/libscribble/hre_api.c
  49. 13 13
      sys/src/libscribble/hre_internal.h
  50. 7 5
      sys/src/libscribble/scribbleimpl.h

+ 57 - 65
dist/replica/_plan9.db

@@ -3,13 +3,13 @@
 386/9loaddebug - 775 sys sys 1091156989 270242
 386/9loadlite - 775 sys sys 1088798346 125004
 386/9loadlitedebug - 775 sys sys 1089402462 183654
-386/9pc - 775 sys sys 1091156992 1808630
+386/9pc - 775 sys sys 1091849704 1816945
 386/9pc.gz - 664 sys sys 1077049336 635727
-386/9pccpu - 775 sys sys 1091156995 1464782
+386/9pccpu - 775 sys sys 1091849706 1473097
 386/9pccpu.gz - 664 sys sys 1077049387 519909
-386/9pcdisk - 775 sys sys 1091156999 2011236
+386/9pcdisk - 775 sys sys 1091849710 2019551
 386/9pcdisk.gz - 664 sys sys 1040006345 703136
-386/9pcf - 775 sys sys 1091157003 2342879
+386/9pcf - 775 sys sys 1091849714 2351194
 386/9pcf.gz - 664 sys sys 1077049490 872650
 386/9pxeload - 775 sys sys 1088798346 188040
 386/_9pcdisk.gz - 664 sys sys 1039764191 695837
@@ -38,7 +38,7 @@
 386/bin/ape/tar - 775 sys sys 1085076974 59875
 386/bin/ape/uname - 775 sys sys 1087442505 132510
 386/bin/aquarela - 775 sys sys 1064598027 319170
-386/bin/ar - 775 sys sys 1089397307 105059
+386/bin/ar - 775 sys sys 1091849699 105399
 386/bin/archfs - 775 sys sys 1089397307 138740
 386/bin/ascii - 775 sys sys 1085076975 62654
 386/bin/astro - 775 sys sys 1085076975 138775
@@ -184,7 +184,7 @@
 386/bin/cpu - 775 sys sys 1085077026 135690
 386/bin/crop - 775 sys sys 1085077026 115107
 386/bin/date - 775 sys sys 1085077026 43216
-386/bin/db - 775 sys sys 1089397311 299837
+386/bin/db - 775 sys sys 1091849699 299839
 386/bin/dc - 775 sys sys 1085077028 96997
 386/bin/dd - 775 sys sys 1085077028 45322
 386/bin/deroff - 775 sys sys 1085077029 72249
@@ -220,7 +220,7 @@
 386/bin/ext2srv - 775 sys sys 1089397312 171855
 386/bin/faces - 775 sys sys 1085077041 190555
 386/bin/factor - 775 sys sys 1085077042 59443
-386/bin/file - 775 sys sys 1089397313 108021
+386/bin/file - 775 sys sys 1091849699 108361
 386/bin/fmt - 775 sys sys 1085077043 63269
 386/bin/fortune - 775 sys sys 1085077045 65146
 386/bin/fossil - 20000000775 sys sys 1042005470 0
@@ -328,7 +328,7 @@
 386/bin/netstat - 775 sys sys 1089257538 82357
 386/bin/news - 775 sys sys 1085077084 69654
 386/bin/nfs - 775 sys sys 1089397314 313346
-386/bin/nm - 775 sys sys 1089397314 112843
+386/bin/nm - 775 sys sys 1091849700 113183
 386/bin/nntpfs - 775 sys sys 1089397315 158830
 386/bin/ns - 775 sys sys 1085077086 63226
 386/bin/p - 775 sys sys 1085077086 62948
@@ -394,7 +394,7 @@
 386/bin/strip - 775 sys sys 1085077101 59994
 386/bin/sum - 775 sys sys 1085077102 39447
 386/bin/swap - 775 sys sys 1085077102 60111
-386/bin/syscall - 775 sys sys 1085077102 71534
+386/bin/syscall - 775 sys sys 1091849700 71497
 386/bin/tail - 775 sys sys 1085077102 63945
 386/bin/tar - 775 sys sys 1085077102 81780
 386/bin/tbl - 775 sys sys 1085077103 111047
@@ -478,7 +478,7 @@
 386/bin/venti/verifyarena - 775 sys sys 1085077125 102330
 386/bin/venti/wrarena - 775 sys sys 1085077126 174476
 386/bin/venti/write - 775 sys sys 1085077126 100504
-386/bin/vncs - 775 sys sys 1085077127 472667
+386/bin/vncs - 775 sys sys 1091849701 469227
 386/bin/vncv - 775 sys sys 1085077128 518402
 386/bin/vt - 775 sys sys 1085077128 170967
 386/bin/vtdump - 775 sys sys 1085077129 157507
@@ -534,7 +534,7 @@
 386/lib/libhttpd.a - 664 sys sys 1089397330 99488
 386/lib/libip.a - 664 sys sys 1089397330 35268
 386/lib/libl.a - 664 sys sys 1089397330 5384
-386/lib/libmach.a - 664 sys sys 1089397332 650354
+386/lib/libmach.a - 664 sys sys 1091849715 651390
 386/lib/libmemdraw.a - 664 sys sys 1089397332 283188
 386/lib/libmemlayer.a - 664 sys sys 1089397332 47360
 386/lib/libmp.a - 664 sys sys 1089397333 79532
@@ -3327,10 +3327,10 @@ sys/doc/venti/venti.pdf - 755 sys sys 1020384352 139090
 sys/doc/venti/venti.ps - 664 sys sys 1019852320 2012620
 sys/games - 20000000775 sys sys 952648872 0
 sys/games/lib - 20000000775 sys sys 952648879 0
-sys/games/lib/fortunes - 664 sys sys 1091127469 249033
+sys/games/lib/fortunes - 664 sys sys 1091904422 249281
 sys/include - 20000000775 sys sys 1016902416 0
-sys/include/9p.h - 664 sys sys 1044836327 4309
-sys/include/String.h - 664 sys sys 1055701304 1291
+sys/include/9p.h - 664 sys sys 1091904420 4392
+sys/include/String.h - 664 sys sys 1091904425 1319
 sys/include/a.out.h - 664 sys sys 1089314110 1168
 sys/include/ape - 20000000775 sys sys 1014927784 0
 sys/include/ape/Plan9libnet.h - 664 sys sys 944948760 487
@@ -3396,9 +3396,9 @@ sys/include/ape/unistd.h - 664 sys sys 944948760 3917
 sys/include/ape/utf.h - 664 sys sys 1070327359 1595
 sys/include/ape/utime.h - 664 sys sys 944948760 259
 sys/include/ar.h - 664 sys sys 1014929061 244
-sys/include/auth.h - 664 sys sys 1048614957 3469
+sys/include/auth.h - 664 sys sys 1091904428 3439
 sys/include/authsrv.h - 664 sys sys 1014929062 4542
-sys/include/bin.h - 664 sys sys 1014929062 215
+sys/include/bin.h - 664 sys sys 1091904425 239
 sys/include/bio.h - 664 sys sys 1014929062 1854
 sys/include/bootexec.h - 664 sys sys 1089314125 2610
 sys/include/complete.h - 664 sys sys 1076276516 562
@@ -3406,37 +3406,37 @@ sys/include/control.h - 664 sys sys 1084467622 4844
 sys/include/ctype.h - 664 sys sys 1014929062 951
 sys/include/cursor.h - 664 sys sys 1014929062 102
 sys/include/disk.h - 664 sys sys 1014929063 1096
-sys/include/draw.h - 664 sys sys 1040442977 15897
+sys/include/draw.h - 664 sys sys 1091904420 15923
 sys/include/event.h - 664 sys sys 1014929063 1426
 sys/include/fcall.h - 664 sys sys 1032058178 3062
 sys/include/flate.h - 664 sys sys 1014929063 1245
 sys/include/frame.h - 664 sys sys 1014929063 2666
 sys/include/geometry.h - 664 sys sys 1014929063 2632
-sys/include/html.h - 664 sys sys 1089299189 15169
-sys/include/httpd.h - 664 sys sys 1079372798 5747
+sys/include/html.h - 664 sys sys 1091904420 15220
+sys/include/httpd.h - 664 sys sys 1091904418 5771
 sys/include/ip.h - 664 sys sys 1089299185 2958
 sys/include/keyboard.h - 664 sys sys 1079577798 815
 sys/include/libc.h - 664 sys sys 1089299187 19463
 sys/include/libsec.h - 664 sys sys 1084318867 9264
 sys/include/mach.h - 664 sys sys 1089313992 8164
-sys/include/memdraw.h - 664 sys sys 1039752978 5616
+sys/include/memdraw.h - 664 sys sys 1091904419 5645
 sys/include/memlayer.h - 664 sys sys 1051031022 1851
 sys/include/mouse.h - 664 sys sys 1035232010 1003
 sys/include/mp.h - 664 sys sys 1014929065 4610
-sys/include/ndb.h - 664 sys sys 1078839927 4315
+sys/include/ndb.h - 664 sys sys 1091904429 4369
 sys/include/nfs3.h - 664 sys sys 1045589438 15082
 sys/include/plumb.h - 664 sys sys 1014929065 989
 sys/include/pool.h - 664 sys sys 1032058257 1156
 sys/include/rdbg.h - 664 sys sys 1014929066 95
 sys/include/realtime.h - 664 sys sys 1037669237 869
 sys/include/regexp.h - 664 sys sys 1014929066 1308
-sys/include/scribble.h - 664 sys sys 1014929066 679
+sys/include/scribble.h - 664 sys sys 1091904419 708
 sys/include/stdio.h - 664 sys sys 1055700381 4199
 sys/include/sunrpc.h - 664 sys sys 1046367129 7219
-sys/include/thread.h - 664 sys sys 1083523466 3566
-sys/include/tos.h - 664 sys sys 1067718947 562
+sys/include/thread.h - 664 sys sys 1091904419 3594
+sys/include/tos.h - 664 sys sys 1091904418 575
 sys/include/trace.h - 664 sys sys 1089299189 642
-sys/include/venti.h - 664 sys sys 1072705708 7049
+sys/include/venti.h - 664 sys sys 1091904426 7150
 sys/lib - 20000000775 sys sys 1018580948 0
 sys/lib/acid - 20000000775 sys sys 1016926088 0
 sys/lib/acid/386 - 664 sys sys 1032058272 2588
@@ -5172,7 +5172,7 @@ sys/src/9/bitsy/Booting101 - 664 sys sys 1054798506 8841
 sys/src/9/bitsy/bitsy - 664 sys sys 1067722592 424
 sys/src/9/bitsy/bitsyreset.s - 664 sys sys 1017695510 2352
 sys/src/9/bitsy/clock.c - 664 sys sys 1037028998 4835
-sys/src/9/bitsy/dat.h - 664 sys sys 1071245535 5792
+sys/src/9/bitsy/dat.h - 664 sys sys 1091904418 5790
 sys/src/9/bitsy/defont.c - 664 sys sys 1017695511 21570
 sys/src/9/bitsy/devether.c - 664 sys sys 1037029002 10675
 sys/src/9/bitsy/devflash.c - 664 sys sys 1018386999 16832
@@ -5253,7 +5253,7 @@ sys/src/9/ip/igmp.c - 664 sys sys 1055700768 5175
 sys/src/9/ip/il.c - 664 sys sys 1077376217 26959
 sys/src/9/ip/inferno.c - 664 sys sys 1022588098 517
 sys/src/9/ip/ip.c - 664 sys sys 1047951326 15285
-sys/src/9/ip/ip.h - 664 sys sys 1079538100 15922
+sys/src/9/ip/ip.h - 664 sys sys 1091904429 15818
 sys/src/9/ip/ipaux.c - 664 sys sys 1079538100 12862
 sys/src/9/ip/ipifc.c - 664 sys sys 1091733773 34267
 sys/src/9/ip/ipmux.c - 664 sys sys 1047260566 15362
@@ -5275,7 +5275,7 @@ sys/src/9/mkfile - 664 sys sys 1063857477 205
 sys/src/9/mtx - 20000000775 sys sys 1018721288 0
 sys/src/9/mtx/clock.c - 664 sys sys 1032053278 1293
 sys/src/9/mtx/cycintr.c - 664 sys sys 1018721285 230
-sys/src/9/mtx/dat.h - 664 sys sys 1071245548 3849
+sys/src/9/mtx/dat.h - 664 sys sys 1091904417 3874
 sys/src/9/mtx/devarch.c - 664 sys sys 1018721285 6793
 sys/src/9/mtx/devether.c - 664 sys sys 1071245412 9281
 sys/src/9/mtx/devrtc.c - 664 sys sys 1018721285 6772
@@ -5309,7 +5309,7 @@ sys/src/9/pc/apmjump.s - 664 sys sys 1032058947 1527
 sys/src/9/pc/archmp.c - 664 sys sys 1084475127 2311
 sys/src/9/pc/audio.h - 664 sys sys 1015014513 343
 sys/src/9/pc/cga.c - 664 sys sys 1015014513 1843
-sys/src/9/pc/dat.h - 664 sys sys 1084475127 6256
+sys/src/9/pc/dat.h - 664 sys sys 1091904418 6281
 sys/src/9/pc/devarch.c - 664 sys sys 1091733724 18481
 sys/src/9/pc/devether.c - 664 sys sys 1078928204 10183
 sys/src/9/pc/devfloppy.c - 664 sys sys 1055689885 20024
@@ -5490,8 +5490,8 @@ sys/src/9/port/page.c - 664 sys sys 1055688510 8107
 sys/src/9/port/parse.c - 664 sys sys 1014931177 2026
 sys/src/9/port/pgrp.c - 664 sys sys 1072704671 3940
 sys/src/9/port/portclock.c - 664 sys sys 1084475128 4542
-sys/src/9/port/portdat.h - 664 sys sys 1084475129 22196
-sys/src/9/port/portfns.h - 664 sys sys 1079463756 11455
+sys/src/9/port/portdat.h - 664 sys sys 1091904422 22118
+sys/src/9/port/portfns.h - 664 sys sys 1091904430 11426
 sys/src/9/port/portmkfile - 664 sys sys 1091733856 2087
 sys/src/9/port/print.c - 664 sys sys 1014931178 227
 sys/src/9/port/proc.c - 664 sys sys 1091733600 28176
@@ -5515,7 +5515,7 @@ sys/src/9/ppc - 20000000775 sys sys 1059490838 0
 sys/src/9/ppc/blast - 664 sys sys 1067722850 659
 sys/src/9/ppc/blast.h - 664 sys sys 1059490750 3109
 sys/src/9/ppc/clock.c - 664 sys sys 1068135488 1032
-sys/src/9/ppc/dat.h - 664 sys sys 1071245549 4727
+sys/src/9/ppc/dat.h - 664 sys sys 1091904417 4752
 sys/src/9/ppc/devether.c - 664 sys sys 1059490750 9264
 sys/src/9/ppc/devflash.c - 664 sys sys 1059490750 19885
 sys/src/9/ppc/devirq.c - 664 sys sys 1077376394 6053
@@ -6696,7 +6696,7 @@ sys/src/cmd/8l/pass.c - 664 sys sys 1089299184 13655
 sys/src/cmd/8l/span.c - 664 sys sys 1089299184 23295
 sys/src/cmd/9660srv - 20000000775 sys sys 944960735 0
 sys/src/cmd/9660srv/9660srv.c - 664 sys sys 1014924873 17018
-sys/src/cmd/9660srv/dat.h - 664 sys sys 1019425186 2069
+sys/src/cmd/9660srv/dat.h - 664 sys sys 1091904429 2097
 sys/src/cmd/9660srv/data.c - 664 sys sys 944960735 373
 sys/src/cmd/9660srv/fns.h - 664 sys sys 1019425186 428
 sys/src/cmd/9660srv/iobuf.c - 664 sys sys 1022085197 3125
@@ -6825,7 +6825,7 @@ sys/src/cmd/auth/factotum - 20000000775 sys sys 1017165894 0
 sys/src/cmd/auth/factotum/apop.c - 664 sys sys 1071260312 6074
 sys/src/cmd/auth/factotum/chap.c - 664 sys sys 1044829586 5324
 sys/src/cmd/auth/factotum/confirm.c - 664 sys sys 1044829586 3103
-sys/src/cmd/auth/factotum/dat.h - 664 sys sys 1048614970 4773
+sys/src/cmd/auth/factotum/dat.h - 664 sys sys 1091904428 4774
 sys/src/cmd/auth/factotum/fgui.c - 664 sys sys 1044829587 15948
 sys/src/cmd/auth/factotum/fs.c - 664 sys sys 1048614987 10353
 sys/src/cmd/auth/factotum/log.c - 664 sys sys 1046655068 1781
@@ -7346,11 +7346,11 @@ sys/src/cmd/disk/exsort.c - 664 sys sys 944960885 1964
 sys/src/cmd/disk/format.c - 664 sys sys 1022448818 17648
 sys/src/cmd/disk/kfs - 20000000775 sys sys 1019072794 0
 sys/src/cmd/disk/kfs/9p1.c - 664 sys sys 1065916867 25359
-sys/src/cmd/disk/kfs/9p1.h - 664 sys sys 1021579989 2261
-sys/src/cmd/disk/kfs/9p12.c - 664 sys sys 1022008487 1963
+sys/src/cmd/disk/kfs/9p1.h - 664 sys sys 1091904426 2220
+sys/src/cmd/disk/kfs/9p12.c - 664 sys sys 1091904426 1931
 sys/src/cmd/disk/kfs/9p1lib.c - 664 sys sys 1015009187 7102
-sys/src/cmd/disk/kfs/9p2.c - 664 sys sys 1065916867 34556
-sys/src/cmd/disk/kfs/all.h - 664 sys sys 944960883 67
+sys/src/cmd/disk/kfs/9p2.c - 664 sys sys 1091904427 34519
+sys/src/cmd/disk/kfs/all.h - 664 sys sys 1091904426 126
 sys/src/cmd/disk/kfs/auth.c - 664 sys sys 1037136028 2137
 sys/src/cmd/disk/kfs/chk.c - 664 sys sys 1068569643 10339
 sys/src/cmd/disk/kfs/con.c - 664 sys sys 1022008487 12770
@@ -7496,7 +7496,7 @@ sys/src/cmd/file.c - 664 sys sys 1084471672 21379
 sys/src/cmd/fmt.c - 664 sys sys 1070032009 4088
 sys/src/cmd/fortune.c - 664 sys sys 1072729222 1779
 sys/src/cmd/fossil - 20000000775 sys sys 1042005512 0
-sys/src/cmd/fossil/9.h - 664 sys sys 1084461821 4267
+sys/src/cmd/fossil/9.h - 664 sys sys 1091904424 4342
 sys/src/cmd/fossil/9auth.c - 664 sys sys 1061530721 3393
 sys/src/cmd/fossil/9dir.c - 664 sys sys 1085333382 2219
 sys/src/cmd/fossil/9excl.c - 664 sys sys 1042005502 1887
@@ -7517,9 +7517,9 @@ sys/src/cmd/fossil/build - 664 sys sys 1042005505 449
 sys/src/cmd/fossil/buildsh - 775 sys sys 1042005505 561
 sys/src/cmd/fossil/bwatch.c - 664 sys sys 1042005505 6754
 sys/src/cmd/fossil/cache.c - 664 sys sys 1087005594 42827
-sys/src/cmd/fossil/check.c - 664 sys sys 1087005595 17326
+sys/src/cmd/fossil/check.c - 664 sys sys 1091904423 17315
 sys/src/cmd/fossil/conf.rc - 775 sys sys 1084333190 1416
-sys/src/cmd/fossil/dat.h - 664 sys sys 1087005596 7429
+sys/src/cmd/fossil/dat.h - 664 sys sys 1091904423 7580
 sys/src/cmd/fossil/deadlock - 775 sys sys 1042005506 413
 sys/src/cmd/fossil/disk.c - 664 sys sys 1087005595 6424
 sys/src/cmd/fossil/dump.c - 664 sys sys 1042005506 1340
@@ -7536,7 +7536,7 @@ sys/src/cmd/fossil/fns.h - 664 sys sys 1087005596 3204
 sys/src/cmd/fossil/fossil-acid - 664 sys sys 1042005508 3965
 sys/src/cmd/fossil/fossil.c - 664 sys sys 1077896345 2435
 sys/src/cmd/fossil/fs.c - 664 sys sys 1087005595 21544
-sys/src/cmd/fossil/fs.h - 664 sys sys 1080586883 1503
+sys/src/cmd/fossil/fs.h - 664 sys sys 1091904424 1582
 sys/src/cmd/fossil/history - 664 sys sys 1055703793 1400
 sys/src/cmd/fossil/invariants - 664 sys sys 1042005509 4073
 sys/src/cmd/fossil/last.c - 664 sys sys 1087005593 812
@@ -9389,7 +9389,7 @@ sys/src/cmd/ip/ftpd.c - 664 sys sys 1046643070 32813
 sys/src/cmd/ip/ftpfs - 20000000775 sys sys 1014925642 0
 sys/src/cmd/ip/ftpfs/file.c - 664 sys sys 1014925642 4208
 sys/src/cmd/ip/ftpfs/ftpfs.c - 664 sys sys 1048285493 13555
-sys/src/cmd/ip/ftpfs/ftpfs.h - 664 sys sys 1048312051 2328
+sys/src/cmd/ip/ftpfs/ftpfs.h - 664 sys sys 1091904423 2353
 sys/src/cmd/ip/ftpfs/mkfile - 664 sys sys 1048312050 173
 sys/src/cmd/ip/ftpfs/proto.c - 664 sys sys 1089920400 29348
 sys/src/cmd/ip/glob.c - 664 sys sys 1015013111 2968
@@ -9452,7 +9452,7 @@ sys/src/cmd/ip/ppp/ipaux.c - 664 sys sys 1015090266 2326
 sys/src/cmd/ip/ppp/mkfile - 664 sys sys 1063897576 352
 sys/src/cmd/ip/ppp/mppc.c - 664 sys sys 1015090267 16624
 sys/src/cmd/ip/ppp/ppp.c - 664 sys sys 1072729353 59503
-sys/src/cmd/ip/ppp/ppp.h - 664 sys sys 1072729353 8260
+sys/src/cmd/ip/ppp/ppp.h - 664 sys sys 1091904423 8284
 sys/src/cmd/ip/ppp/testppp.c - 664 sys sys 1045505281 3011
 sys/src/cmd/ip/ppp/thw.c - 664 sys sys 1015090268 5962
 sys/src/cmd/ip/ppp/thwack.c - 664 sys sys 1015090268 8004
@@ -10167,7 +10167,7 @@ sys/src/cmd/rc/mkfile - 664 sys sys 1055698774 812
 sys/src/cmd/rc/pcmd.c - 664 sys sys 1055698775 2628
 sys/src/cmd/rc/pfnc.c - 664 sys sys 1055698776 1303
 sys/src/cmd/rc/plan9.c - 664 sys sys 1055698776 9382
-sys/src/cmd/rc/rc.h - 664 sys sys 944961083 3266
+sys/src/cmd/rc/rc.h - 664 sys sys 1091904421 3314
 sys/src/cmd/rc/simple.c - 664 sys sys 1055698777 8993
 sys/src/cmd/rc/subr.c - 664 sys sys 1055698779 1206
 sys/src/cmd/rc/syn.y - 664 sys sys 944961083 3128
@@ -10179,7 +10179,7 @@ sys/src/cmd/rc/win32.c - 664 sys sys 1055698781 8699
 sys/src/cmd/rdbfs.c - 664 sys sys 1049426950 7952
 sys/src/cmd/read.c - 664 sys sys 1022047660 1278
 sys/src/cmd/replica - 20000000775 sys sys 1018321113 0
-sys/src/cmd/replica/all.h - 664 sys sys 1068497832 1210
+sys/src/cmd/replica/all.h - 664 sys sys 1091904421 1265
 sys/src/cmd/replica/applychanges.c - 664 sys sys 1068497831 6123
 sys/src/cmd/replica/applylog.c - 664 sys sys 1053210813 17189
 sys/src/cmd/replica/avl.c - 664 sys sys 1068497830 6242
@@ -10369,7 +10369,7 @@ sys/src/cmd/ssh/pubkey.c - 664 sys sys 1019928902 3974
 sys/src/cmd/ssh/scp.c - 664 sys sys 1075130172 13886
 sys/src/cmd/ssh/smsg.c - 664 sys sys 1062091015 6135
 sys/src/cmd/ssh/ssh.c - 664 sys sys 1066515693 9667
-sys/src/cmd/ssh/ssh.h - 664 sys sys 1048179595 6054
+sys/src/cmd/ssh/ssh.h - 664 sys sys 1091904420 6086
 sys/src/cmd/ssh/sshnet.c - 664 sys sys 1078840016 17641
 sys/src/cmd/ssh/sshserve.c - 664 sys sys 1062091020 5786
 sys/src/cmd/ssh/util.c - 664 sys sys 1063858753 4478
@@ -10927,7 +10927,7 @@ sys/src/cmd/va/lex.c - 664 sys sys 1089299166 12004
 sys/src/cmd/va/mkfile - 664 sys sys 944961340 215
 sys/src/cmd/vac - 20000000775 sys sys 1019678788 0
 sys/src/cmd/vac/cache.c - 664 sys sys 1071245791 15806
-sys/src/cmd/vac/dat.h - 664 sys sys 1036006061 3997
+sys/src/cmd/vac/dat.h - 664 sys sys 1091904424 3994
 sys/src/cmd/vac/error.c - 664 sys sys 1036006057 633
 sys/src/cmd/vac/error.h - 664 sys sys 1036024048 327
 sys/src/cmd/vac/file.c - 664 sys sys 1048645298 18984
@@ -10941,7 +10941,7 @@ sys/src/cmd/vac/srcload.c - 664 sys sys 1036024047 4925
 sys/src/cmd/vac/stdinc.h - 664 sys sys 1036006059 121
 sys/src/cmd/vac/util.c - 664 sys sys 1019678787 930
 sys/src/cmd/vac/vac.c - 664 sys sys 1036470170 23082
-sys/src/cmd/vac/vac.h - 664 sys sys 1036006060 3516
+sys/src/cmd/vac/vac.h - 664 sys sys 1091904424 3598
 sys/src/cmd/vac/vacfs.c - 664 sys sys 1084333048 13630
 sys/src/cmd/vac/vactest.c - 664 sys sys 1036024047 2742
 sys/src/cmd/vac/vtdump.c - 664 sys sys 1036006056 7170
@@ -10975,7 +10975,7 @@ sys/src/cmd/venti/conf.rc - 775 sys sys 1055707446 1416
 sys/src/cmd/venti/config.c - 664 sys sys 1063854193 4956
 sys/src/cmd/venti/conv.c - 664 sys sys 1019678878 8202
 sys/src/cmd/venti/copy.c - 664 sys sys 1055707434 3517
-sys/src/cmd/venti/dat.h - 664 sys sys 1055707422 15323
+sys/src/cmd/venti/dat.h - 664 sys sys 1091904425 15321
 sys/src/cmd/venti/dcache.c - 664 sys sys 1019678878 7374
 sys/src/cmd/venti/dump.c - 664 sys sys 1068520313 1578
 sys/src/cmd/venti/dumparena.c - 664 sys sys 1019678878 6381
@@ -10986,7 +10986,7 @@ sys/src/cmd/venti/fmtindex.c - 664 sys sys 1055707425 2534
 sys/src/cmd/venti/fmtisect.c - 664 sys sys 1021579998 1290
 sys/src/cmd/venti/fns.h - 664 sys sys 1055707422 6793
 sys/src/cmd/venti/httpd.c - 664 sys sys 1045503654 9107
-sys/src/cmd/venti/icache.c - 664 sys sys 1055707439 3942
+sys/src/cmd/venti/icache.c - 664 sys sys 1091904425 3974
 sys/src/cmd/venti/ifile.c - 664 sys sys 1055707440 2288
 sys/src/cmd/venti/index.c - 664 sys sys 1045503654 15232
 sys/src/cmd/venti/lump.c - 664 sys sys 1055707441 3844
@@ -11021,7 +11021,7 @@ sys/src/cmd/venti/whack.h - 664 sys sys 1019678881 966
 sys/src/cmd/venti/wrarena.c - 664 sys sys 1038536023 2948
 sys/src/cmd/venti/write.c - 664 sys sys 1036470214 1051
 sys/src/cmd/venti/wrtape - 775 sys sys 1019678881 555
-sys/src/cmd/venti/xml.c - 664 sys sys 1068520313 2202
+sys/src/cmd/venti/xml.c - 664 sys sys 1091904425 2183
 sys/src/cmd/venti/xml.h - 664 sys sys 1019678881 450
 sys/src/cmd/venti/zeropart.c - 664 sys sys 1019678882 602
 sys/src/cmd/vi - 20000000775 sys sys 944961342 0
@@ -11222,7 +11222,7 @@ sys/src/fs/port/lib.h - 664 sys sys 1091803590 3339
 sys/src/fs/port/lrand.c - 664 sys sys 1091803568 1093
 sys/src/fs/port/main.c - 664 sys sys 1047663952 5698
 sys/src/fs/port/mkfile - 664 sys sys 1015110018 189
-sys/src/fs/port/portdat.h - 664 sys sys 1055699797 16701
+sys/src/fs/port/portdat.h - 664 sys sys 1091849428 16750
 sys/src/fs/port/portfns.h - 664 sys sys 1037805159 7454
 sys/src/fs/port/print.c - 664 sys sys 1015110022 153
 sys/src/fs/port/proc.c - 664 sys sys 1015110023 5244
@@ -11928,7 +11928,7 @@ sys/src/libmach/8db.c - 664 sys sys 1088653064 39144
 sys/src/libmach/8obj.c - 664 sys sys 1091732625 2200
 sys/src/libmach/access.c - 664 sys sys 1068478065 4309
 sys/src/libmach/elf.h - 664 sys sys 964540516 2234
-sys/src/libmach/executable.c - 664 sys sys 1089313993 13073
+sys/src/libmach/executable.c - 664 sys sys 1091914504 13505
 sys/src/libmach/k.c - 664 sys sys 964540516 3330
 sys/src/libmach/kdb.c - 664 sys sys 1014929544 21143
 sys/src/libmach/kobj.c - 664 sys sys 1091732625 2217
@@ -12102,12 +12102,12 @@ sys/src/libregexp/rregsub.c - 664 sys sys 988225293 1156
 sys/src/libscribble - 20000000775 sys sys 985636319 0
 sys/src/libscribble/graffiti.c - 664 sys sys 1014930922 7336
 sys/src/libscribble/graffiti.h - 664 sys sys 985554011 735
-sys/src/libscribble/hre_api.c - 664 sys sys 1014930922 27297
-sys/src/libscribble/hre_internal.h - 664 sys sys 985543525 5170
+sys/src/libscribble/hre_api.c - 664 sys sys 1091904427 27302
+sys/src/libscribble/hre_internal.h - 664 sys sys 1091904427 5155
 sys/src/libscribble/li_recognizer.c - 664 sys sys 985543526 57500
 sys/src/libscribble/li_recognizer_internal.h - 664 sys sys 985543526 1166
 sys/src/libscribble/mkfile - 664 sys sys 1035389780 514
-sys/src/libscribble/scribbleimpl.h - 664 sys sys 985543526 13063
+sys/src/libscribble/scribbleimpl.h - 664 sys sys 1091904427 13087
 sys/src/libsec - 20000000775 sys sys 985036585 0
 sys/src/libsec/386 - 20000000775 sys sys 984710514 0
 sys/src/libsec/386/md5block.s - 664 sys sys 985124884 5369
@@ -12337,11 +12337,3 @@ usr/glenda/lib/profile - 664 glenda glenda 1021580005 847
 usr/glenda/readme.acme - 664 glenda glenda 1019860628 4753
 usr/glenda/readme.rio - 664 glenda glenda 1019860628 6370
 usr/glenda/tmp - 20000000775 glenda glenda 1018802620 0
-386/bin/ar - 775 sys sys 1091848139 105399
-386/bin/db - 775 sys sys 1091848140 299839
-386/bin/vncs - 775 sys sys 1091848141 469227
-386/bin/file - 775 sys sys 1091848140 108361
-386/bin/nm - 775 sys sys 1091848140 113183
-386/bin/syscall - 775 sys sys 1091848141 71497
-386/lib/libmach.a - 664 sys sys 1091848143 651390
-sys/src/fs/port/portdat.h - 664 sys sys 1091849428 16750

+ 56 - 56
dist/replica/plan9.db

@@ -3,13 +3,13 @@
 386/9loaddebug - 775 sys sys 1091156989 270242
 386/9loadlite - 775 sys sys 1088798346 125004
 386/9loadlitedebug - 775 sys sys 1089402462 183654
-386/9pc - 775 sys sys 1091156992 1808630
+386/9pc - 775 sys sys 1091849704 1816945
 386/9pc.gz - 664 sys sys 1077049336 635727
-386/9pccpu - 775 sys sys 1091156995 1464782
+386/9pccpu - 775 sys sys 1091849706 1473097
 386/9pccpu.gz - 664 sys sys 1077049387 519909
-386/9pcdisk - 775 sys sys 1091156999 2011236
+386/9pcdisk - 775 sys sys 1091849710 2019551
 386/9pcdisk.gz - 664 sys sys 1040006345 703136
-386/9pcf - 775 sys sys 1091157003 2342879
+386/9pcf - 775 sys sys 1091849714 2351194
 386/9pcf.gz - 664 sys sys 1077049490 872650
 386/9pxeload - 775 sys sys 1088798346 188040
 386/_9pcdisk.gz - 664 sys sys 1039764191 695837
@@ -38,7 +38,7 @@
 386/bin/ape/tar - 775 sys sys 1085076974 59875
 386/bin/ape/uname - 775 sys sys 1087442505 132510
 386/bin/aquarela - 775 sys sys 1064598027 319170
-386/bin/ar - 775 sys sys 1091848139 105399
+386/bin/ar - 775 sys sys 1091849699 105399
 386/bin/archfs - 775 sys sys 1089397307 138740
 386/bin/ascii - 775 sys sys 1085076975 62654
 386/bin/astro - 775 sys sys 1085076975 138775
@@ -184,7 +184,7 @@
 386/bin/cpu - 775 sys sys 1085077026 135690
 386/bin/crop - 775 sys sys 1085077026 115107
 386/bin/date - 775 sys sys 1085077026 43216
-386/bin/db - 775 sys sys 1091848140 299839
+386/bin/db - 775 sys sys 1091849699 299839
 386/bin/dc - 775 sys sys 1085077028 96997
 386/bin/dd - 775 sys sys 1085077028 45322
 386/bin/deroff - 775 sys sys 1085077029 72249
@@ -220,7 +220,7 @@
 386/bin/ext2srv - 775 sys sys 1089397312 171855
 386/bin/faces - 775 sys sys 1085077041 190555
 386/bin/factor - 775 sys sys 1085077042 59443
-386/bin/file - 775 sys sys 1091848140 108361
+386/bin/file - 775 sys sys 1091849699 108361
 386/bin/fmt - 775 sys sys 1085077043 63269
 386/bin/fortune - 775 sys sys 1085077045 65146
 386/bin/fossil - 20000000775 sys sys 1042005470 0
@@ -328,7 +328,7 @@
 386/bin/netstat - 775 sys sys 1089257538 82357
 386/bin/news - 775 sys sys 1085077084 69654
 386/bin/nfs - 775 sys sys 1089397314 313346
-386/bin/nm - 775 sys sys 1091848140 113183
+386/bin/nm - 775 sys sys 1091849700 113183
 386/bin/nntpfs - 775 sys sys 1089397315 158830
 386/bin/ns - 775 sys sys 1085077086 63226
 386/bin/p - 775 sys sys 1085077086 62948
@@ -394,7 +394,7 @@
 386/bin/strip - 775 sys sys 1085077101 59994
 386/bin/sum - 775 sys sys 1085077102 39447
 386/bin/swap - 775 sys sys 1085077102 60111
-386/bin/syscall - 775 sys sys 1091848141 71497
+386/bin/syscall - 775 sys sys 1091849700 71497
 386/bin/tail - 775 sys sys 1085077102 63945
 386/bin/tar - 775 sys sys 1085077102 81780
 386/bin/tbl - 775 sys sys 1085077103 111047
@@ -478,7 +478,7 @@
 386/bin/venti/verifyarena - 775 sys sys 1085077125 102330
 386/bin/venti/wrarena - 775 sys sys 1085077126 174476
 386/bin/venti/write - 775 sys sys 1085077126 100504
-386/bin/vncs - 775 sys sys 1091848141 469227
+386/bin/vncs - 775 sys sys 1091849701 469227
 386/bin/vncv - 775 sys sys 1085077128 518402
 386/bin/vt - 775 sys sys 1085077128 170967
 386/bin/vtdump - 775 sys sys 1085077129 157507
@@ -534,7 +534,7 @@
 386/lib/libhttpd.a - 664 sys sys 1089397330 99488
 386/lib/libip.a - 664 sys sys 1089397330 35268
 386/lib/libl.a - 664 sys sys 1089397330 5384
-386/lib/libmach.a - 664 sys sys 1091848143 651390
+386/lib/libmach.a - 664 sys sys 1091849715 651390
 386/lib/libmemdraw.a - 664 sys sys 1089397332 283188
 386/lib/libmemlayer.a - 664 sys sys 1089397332 47360
 386/lib/libmp.a - 664 sys sys 1089397333 79532
@@ -3327,10 +3327,10 @@ sys/doc/venti/venti.pdf - 755 sys sys 1020384352 139090
 sys/doc/venti/venti.ps - 664 sys sys 1019852320 2012620
 sys/games - 20000000775 sys sys 952648872 0
 sys/games/lib - 20000000775 sys sys 952648879 0
-sys/games/lib/fortunes - 664 sys sys 1091127469 249033
+sys/games/lib/fortunes - 664 sys sys 1091904422 249281
 sys/include - 20000000775 sys sys 1016902416 0
-sys/include/9p.h - 664 sys sys 1044836327 4309
-sys/include/String.h - 664 sys sys 1055701304 1291
+sys/include/9p.h - 664 sys sys 1091904420 4392
+sys/include/String.h - 664 sys sys 1091904425 1319
 sys/include/a.out.h - 664 sys sys 1089314110 1168
 sys/include/ape - 20000000775 sys sys 1014927784 0
 sys/include/ape/Plan9libnet.h - 664 sys sys 944948760 487
@@ -3396,9 +3396,9 @@ sys/include/ape/unistd.h - 664 sys sys 944948760 3917
 sys/include/ape/utf.h - 664 sys sys 1070327359 1595
 sys/include/ape/utime.h - 664 sys sys 944948760 259
 sys/include/ar.h - 664 sys sys 1014929061 244
-sys/include/auth.h - 664 sys sys 1048614957 3469
+sys/include/auth.h - 664 sys sys 1091904428 3439
 sys/include/authsrv.h - 664 sys sys 1014929062 4542
-sys/include/bin.h - 664 sys sys 1014929062 215
+sys/include/bin.h - 664 sys sys 1091904425 239
 sys/include/bio.h - 664 sys sys 1014929062 1854
 sys/include/bootexec.h - 664 sys sys 1089314125 2610
 sys/include/complete.h - 664 sys sys 1076276516 562
@@ -3406,37 +3406,37 @@ sys/include/control.h - 664 sys sys 1084467622 4844
 sys/include/ctype.h - 664 sys sys 1014929062 951
 sys/include/cursor.h - 664 sys sys 1014929062 102
 sys/include/disk.h - 664 sys sys 1014929063 1096
-sys/include/draw.h - 664 sys sys 1040442977 15897
+sys/include/draw.h - 664 sys sys 1091904420 15923
 sys/include/event.h - 664 sys sys 1014929063 1426
 sys/include/fcall.h - 664 sys sys 1032058178 3062
 sys/include/flate.h - 664 sys sys 1014929063 1245
 sys/include/frame.h - 664 sys sys 1014929063 2666
 sys/include/geometry.h - 664 sys sys 1014929063 2632
-sys/include/html.h - 664 sys sys 1089299189 15169
-sys/include/httpd.h - 664 sys sys 1079372798 5747
+sys/include/html.h - 664 sys sys 1091904420 15220
+sys/include/httpd.h - 664 sys sys 1091904418 5771
 sys/include/ip.h - 664 sys sys 1089299185 2958
 sys/include/keyboard.h - 664 sys sys 1079577798 815
 sys/include/libc.h - 664 sys sys 1089299187 19463
 sys/include/libsec.h - 664 sys sys 1084318867 9264
 sys/include/mach.h - 664 sys sys 1089313992 8164
-sys/include/memdraw.h - 664 sys sys 1039752978 5616
+sys/include/memdraw.h - 664 sys sys 1091904419 5645
 sys/include/memlayer.h - 664 sys sys 1051031022 1851
 sys/include/mouse.h - 664 sys sys 1035232010 1003
 sys/include/mp.h - 664 sys sys 1014929065 4610
-sys/include/ndb.h - 664 sys sys 1078839927 4315
+sys/include/ndb.h - 664 sys sys 1091904429 4369
 sys/include/nfs3.h - 664 sys sys 1045589438 15082
 sys/include/plumb.h - 664 sys sys 1014929065 989
 sys/include/pool.h - 664 sys sys 1032058257 1156
 sys/include/rdbg.h - 664 sys sys 1014929066 95
 sys/include/realtime.h - 664 sys sys 1037669237 869
 sys/include/regexp.h - 664 sys sys 1014929066 1308
-sys/include/scribble.h - 664 sys sys 1014929066 679
+sys/include/scribble.h - 664 sys sys 1091904419 708
 sys/include/stdio.h - 664 sys sys 1055700381 4199
 sys/include/sunrpc.h - 664 sys sys 1046367129 7219
-sys/include/thread.h - 664 sys sys 1083523466 3566
-sys/include/tos.h - 664 sys sys 1067718947 562
+sys/include/thread.h - 664 sys sys 1091904419 3594
+sys/include/tos.h - 664 sys sys 1091904418 575
 sys/include/trace.h - 664 sys sys 1089299189 642
-sys/include/venti.h - 664 sys sys 1072705708 7049
+sys/include/venti.h - 664 sys sys 1091904426 7150
 sys/lib - 20000000775 sys sys 1018580948 0
 sys/lib/acid - 20000000775 sys sys 1016926088 0
 sys/lib/acid/386 - 664 sys sys 1032058272 2588
@@ -5172,7 +5172,7 @@ sys/src/9/bitsy/Booting101 - 664 sys sys 1054798506 8841
 sys/src/9/bitsy/bitsy - 664 sys sys 1067722592 424
 sys/src/9/bitsy/bitsyreset.s - 664 sys sys 1017695510 2352
 sys/src/9/bitsy/clock.c - 664 sys sys 1037028998 4835
-sys/src/9/bitsy/dat.h - 664 sys sys 1071245535 5792
+sys/src/9/bitsy/dat.h - 664 sys sys 1091904418 5790
 sys/src/9/bitsy/defont.c - 664 sys sys 1017695511 21570
 sys/src/9/bitsy/devether.c - 664 sys sys 1037029002 10675
 sys/src/9/bitsy/devflash.c - 664 sys sys 1018386999 16832
@@ -5253,7 +5253,7 @@ sys/src/9/ip/igmp.c - 664 sys sys 1055700768 5175
 sys/src/9/ip/il.c - 664 sys sys 1077376217 26959
 sys/src/9/ip/inferno.c - 664 sys sys 1022588098 517
 sys/src/9/ip/ip.c - 664 sys sys 1047951326 15285
-sys/src/9/ip/ip.h - 664 sys sys 1079538100 15922
+sys/src/9/ip/ip.h - 664 sys sys 1091904429 15818
 sys/src/9/ip/ipaux.c - 664 sys sys 1079538100 12862
 sys/src/9/ip/ipifc.c - 664 sys sys 1091733773 34267
 sys/src/9/ip/ipmux.c - 664 sys sys 1047260566 15362
@@ -5275,7 +5275,7 @@ sys/src/9/mkfile - 664 sys sys 1063857477 205
 sys/src/9/mtx - 20000000775 sys sys 1018721288 0
 sys/src/9/mtx/clock.c - 664 sys sys 1032053278 1293
 sys/src/9/mtx/cycintr.c - 664 sys sys 1018721285 230
-sys/src/9/mtx/dat.h - 664 sys sys 1071245548 3849
+sys/src/9/mtx/dat.h - 664 sys sys 1091904417 3874
 sys/src/9/mtx/devarch.c - 664 sys sys 1018721285 6793
 sys/src/9/mtx/devether.c - 664 sys sys 1071245412 9281
 sys/src/9/mtx/devrtc.c - 664 sys sys 1018721285 6772
@@ -5309,7 +5309,7 @@ sys/src/9/pc/apmjump.s - 664 sys sys 1032058947 1527
 sys/src/9/pc/archmp.c - 664 sys sys 1084475127 2311
 sys/src/9/pc/audio.h - 664 sys sys 1015014513 343
 sys/src/9/pc/cga.c - 664 sys sys 1015014513 1843
-sys/src/9/pc/dat.h - 664 sys sys 1084475127 6256
+sys/src/9/pc/dat.h - 664 sys sys 1091904418 6281
 sys/src/9/pc/devarch.c - 664 sys sys 1091733724 18481
 sys/src/9/pc/devether.c - 664 sys sys 1078928204 10183
 sys/src/9/pc/devfloppy.c - 664 sys sys 1055689885 20024
@@ -5490,8 +5490,8 @@ sys/src/9/port/page.c - 664 sys sys 1055688510 8107
 sys/src/9/port/parse.c - 664 sys sys 1014931177 2026
 sys/src/9/port/pgrp.c - 664 sys sys 1072704671 3940
 sys/src/9/port/portclock.c - 664 sys sys 1084475128 4542
-sys/src/9/port/portdat.h - 664 sys sys 1084475129 22196
-sys/src/9/port/portfns.h - 664 sys sys 1079463756 11455
+sys/src/9/port/portdat.h - 664 sys sys 1091904422 22118
+sys/src/9/port/portfns.h - 664 sys sys 1091904430 11426
 sys/src/9/port/portmkfile - 664 sys sys 1091733856 2087
 sys/src/9/port/print.c - 664 sys sys 1014931178 227
 sys/src/9/port/proc.c - 664 sys sys 1091733600 28176
@@ -5515,7 +5515,7 @@ sys/src/9/ppc - 20000000775 sys sys 1059490838 0
 sys/src/9/ppc/blast - 664 sys sys 1067722850 659
 sys/src/9/ppc/blast.h - 664 sys sys 1059490750 3109
 sys/src/9/ppc/clock.c - 664 sys sys 1068135488 1032
-sys/src/9/ppc/dat.h - 664 sys sys 1071245549 4727
+sys/src/9/ppc/dat.h - 664 sys sys 1091904417 4752
 sys/src/9/ppc/devether.c - 664 sys sys 1059490750 9264
 sys/src/9/ppc/devflash.c - 664 sys sys 1059490750 19885
 sys/src/9/ppc/devirq.c - 664 sys sys 1077376394 6053
@@ -6696,7 +6696,7 @@ sys/src/cmd/8l/pass.c - 664 sys sys 1089299184 13655
 sys/src/cmd/8l/span.c - 664 sys sys 1089299184 23295
 sys/src/cmd/9660srv - 20000000775 sys sys 944960735 0
 sys/src/cmd/9660srv/9660srv.c - 664 sys sys 1014924873 17018
-sys/src/cmd/9660srv/dat.h - 664 sys sys 1019425186 2069
+sys/src/cmd/9660srv/dat.h - 664 sys sys 1091904429 2097
 sys/src/cmd/9660srv/data.c - 664 sys sys 944960735 373
 sys/src/cmd/9660srv/fns.h - 664 sys sys 1019425186 428
 sys/src/cmd/9660srv/iobuf.c - 664 sys sys 1022085197 3125
@@ -6825,7 +6825,7 @@ sys/src/cmd/auth/factotum - 20000000775 sys sys 1017165894 0
 sys/src/cmd/auth/factotum/apop.c - 664 sys sys 1071260312 6074
 sys/src/cmd/auth/factotum/chap.c - 664 sys sys 1044829586 5324
 sys/src/cmd/auth/factotum/confirm.c - 664 sys sys 1044829586 3103
-sys/src/cmd/auth/factotum/dat.h - 664 sys sys 1048614970 4773
+sys/src/cmd/auth/factotum/dat.h - 664 sys sys 1091904428 4774
 sys/src/cmd/auth/factotum/fgui.c - 664 sys sys 1044829587 15948
 sys/src/cmd/auth/factotum/fs.c - 664 sys sys 1048614987 10353
 sys/src/cmd/auth/factotum/log.c - 664 sys sys 1046655068 1781
@@ -7346,11 +7346,11 @@ sys/src/cmd/disk/exsort.c - 664 sys sys 944960885 1964
 sys/src/cmd/disk/format.c - 664 sys sys 1022448818 17648
 sys/src/cmd/disk/kfs - 20000000775 sys sys 1019072794 0
 sys/src/cmd/disk/kfs/9p1.c - 664 sys sys 1065916867 25359
-sys/src/cmd/disk/kfs/9p1.h - 664 sys sys 1021579989 2261
-sys/src/cmd/disk/kfs/9p12.c - 664 sys sys 1022008487 1963
+sys/src/cmd/disk/kfs/9p1.h - 664 sys sys 1091904426 2220
+sys/src/cmd/disk/kfs/9p12.c - 664 sys sys 1091904426 1931
 sys/src/cmd/disk/kfs/9p1lib.c - 664 sys sys 1015009187 7102
-sys/src/cmd/disk/kfs/9p2.c - 664 sys sys 1065916867 34556
-sys/src/cmd/disk/kfs/all.h - 664 sys sys 944960883 67
+sys/src/cmd/disk/kfs/9p2.c - 664 sys sys 1091904427 34519
+sys/src/cmd/disk/kfs/all.h - 664 sys sys 1091904426 126
 sys/src/cmd/disk/kfs/auth.c - 664 sys sys 1037136028 2137
 sys/src/cmd/disk/kfs/chk.c - 664 sys sys 1068569643 10339
 sys/src/cmd/disk/kfs/con.c - 664 sys sys 1022008487 12770
@@ -7496,7 +7496,7 @@ sys/src/cmd/file.c - 664 sys sys 1084471672 21379
 sys/src/cmd/fmt.c - 664 sys sys 1070032009 4088
 sys/src/cmd/fortune.c - 664 sys sys 1072729222 1779
 sys/src/cmd/fossil - 20000000775 sys sys 1042005512 0
-sys/src/cmd/fossil/9.h - 664 sys sys 1084461821 4267
+sys/src/cmd/fossil/9.h - 664 sys sys 1091904424 4342
 sys/src/cmd/fossil/9auth.c - 664 sys sys 1061530721 3393
 sys/src/cmd/fossil/9dir.c - 664 sys sys 1085333382 2219
 sys/src/cmd/fossil/9excl.c - 664 sys sys 1042005502 1887
@@ -7517,9 +7517,9 @@ sys/src/cmd/fossil/build - 664 sys sys 1042005505 449
 sys/src/cmd/fossil/buildsh - 775 sys sys 1042005505 561
 sys/src/cmd/fossil/bwatch.c - 664 sys sys 1042005505 6754
 sys/src/cmd/fossil/cache.c - 664 sys sys 1087005594 42827
-sys/src/cmd/fossil/check.c - 664 sys sys 1087005595 17326
+sys/src/cmd/fossil/check.c - 664 sys sys 1091904423 17315
 sys/src/cmd/fossil/conf.rc - 775 sys sys 1084333190 1416
-sys/src/cmd/fossil/dat.h - 664 sys sys 1087005596 7429
+sys/src/cmd/fossil/dat.h - 664 sys sys 1091904423 7580
 sys/src/cmd/fossil/deadlock - 775 sys sys 1042005506 413
 sys/src/cmd/fossil/disk.c - 664 sys sys 1087005595 6424
 sys/src/cmd/fossil/dump.c - 664 sys sys 1042005506 1340
@@ -7536,7 +7536,7 @@ sys/src/cmd/fossil/fns.h - 664 sys sys 1087005596 3204
 sys/src/cmd/fossil/fossil-acid - 664 sys sys 1042005508 3965
 sys/src/cmd/fossil/fossil.c - 664 sys sys 1077896345 2435
 sys/src/cmd/fossil/fs.c - 664 sys sys 1087005595 21544
-sys/src/cmd/fossil/fs.h - 664 sys sys 1080586883 1503
+sys/src/cmd/fossil/fs.h - 664 sys sys 1091904424 1582
 sys/src/cmd/fossil/history - 664 sys sys 1055703793 1400
 sys/src/cmd/fossil/invariants - 664 sys sys 1042005509 4073
 sys/src/cmd/fossil/last.c - 664 sys sys 1087005593 812
@@ -9389,7 +9389,7 @@ sys/src/cmd/ip/ftpd.c - 664 sys sys 1046643070 32813
 sys/src/cmd/ip/ftpfs - 20000000775 sys sys 1014925642 0
 sys/src/cmd/ip/ftpfs/file.c - 664 sys sys 1014925642 4208
 sys/src/cmd/ip/ftpfs/ftpfs.c - 664 sys sys 1048285493 13555
-sys/src/cmd/ip/ftpfs/ftpfs.h - 664 sys sys 1048312051 2328
+sys/src/cmd/ip/ftpfs/ftpfs.h - 664 sys sys 1091904423 2353
 sys/src/cmd/ip/ftpfs/mkfile - 664 sys sys 1048312050 173
 sys/src/cmd/ip/ftpfs/proto.c - 664 sys sys 1089920400 29348
 sys/src/cmd/ip/glob.c - 664 sys sys 1015013111 2968
@@ -9452,7 +9452,7 @@ sys/src/cmd/ip/ppp/ipaux.c - 664 sys sys 1015090266 2326
 sys/src/cmd/ip/ppp/mkfile - 664 sys sys 1063897576 352
 sys/src/cmd/ip/ppp/mppc.c - 664 sys sys 1015090267 16624
 sys/src/cmd/ip/ppp/ppp.c - 664 sys sys 1072729353 59503
-sys/src/cmd/ip/ppp/ppp.h - 664 sys sys 1072729353 8260
+sys/src/cmd/ip/ppp/ppp.h - 664 sys sys 1091904423 8284
 sys/src/cmd/ip/ppp/testppp.c - 664 sys sys 1045505281 3011
 sys/src/cmd/ip/ppp/thw.c - 664 sys sys 1015090268 5962
 sys/src/cmd/ip/ppp/thwack.c - 664 sys sys 1015090268 8004
@@ -10167,7 +10167,7 @@ sys/src/cmd/rc/mkfile - 664 sys sys 1055698774 812
 sys/src/cmd/rc/pcmd.c - 664 sys sys 1055698775 2628
 sys/src/cmd/rc/pfnc.c - 664 sys sys 1055698776 1303
 sys/src/cmd/rc/plan9.c - 664 sys sys 1055698776 9382
-sys/src/cmd/rc/rc.h - 664 sys sys 944961083 3266
+sys/src/cmd/rc/rc.h - 664 sys sys 1091904421 3314
 sys/src/cmd/rc/simple.c - 664 sys sys 1055698777 8993
 sys/src/cmd/rc/subr.c - 664 sys sys 1055698779 1206
 sys/src/cmd/rc/syn.y - 664 sys sys 944961083 3128
@@ -10179,7 +10179,7 @@ sys/src/cmd/rc/win32.c - 664 sys sys 1055698781 8699
 sys/src/cmd/rdbfs.c - 664 sys sys 1049426950 7952
 sys/src/cmd/read.c - 664 sys sys 1022047660 1278
 sys/src/cmd/replica - 20000000775 sys sys 1018321113 0
-sys/src/cmd/replica/all.h - 664 sys sys 1068497832 1210
+sys/src/cmd/replica/all.h - 664 sys sys 1091904421 1265
 sys/src/cmd/replica/applychanges.c - 664 sys sys 1068497831 6123
 sys/src/cmd/replica/applylog.c - 664 sys sys 1053210813 17189
 sys/src/cmd/replica/avl.c - 664 sys sys 1068497830 6242
@@ -10369,7 +10369,7 @@ sys/src/cmd/ssh/pubkey.c - 664 sys sys 1019928902 3974
 sys/src/cmd/ssh/scp.c - 664 sys sys 1075130172 13886
 sys/src/cmd/ssh/smsg.c - 664 sys sys 1062091015 6135
 sys/src/cmd/ssh/ssh.c - 664 sys sys 1066515693 9667
-sys/src/cmd/ssh/ssh.h - 664 sys sys 1048179595 6054
+sys/src/cmd/ssh/ssh.h - 664 sys sys 1091904420 6086
 sys/src/cmd/ssh/sshnet.c - 664 sys sys 1078840016 17641
 sys/src/cmd/ssh/sshserve.c - 664 sys sys 1062091020 5786
 sys/src/cmd/ssh/util.c - 664 sys sys 1063858753 4478
@@ -10927,7 +10927,7 @@ sys/src/cmd/va/lex.c - 664 sys sys 1089299166 12004
 sys/src/cmd/va/mkfile - 664 sys sys 944961340 215
 sys/src/cmd/vac - 20000000775 sys sys 1019678788 0
 sys/src/cmd/vac/cache.c - 664 sys sys 1071245791 15806
-sys/src/cmd/vac/dat.h - 664 sys sys 1036006061 3997
+sys/src/cmd/vac/dat.h - 664 sys sys 1091904424 3994
 sys/src/cmd/vac/error.c - 664 sys sys 1036006057 633
 sys/src/cmd/vac/error.h - 664 sys sys 1036024048 327
 sys/src/cmd/vac/file.c - 664 sys sys 1048645298 18984
@@ -10941,7 +10941,7 @@ sys/src/cmd/vac/srcload.c - 664 sys sys 1036024047 4925
 sys/src/cmd/vac/stdinc.h - 664 sys sys 1036006059 121
 sys/src/cmd/vac/util.c - 664 sys sys 1019678787 930
 sys/src/cmd/vac/vac.c - 664 sys sys 1036470170 23082
-sys/src/cmd/vac/vac.h - 664 sys sys 1036006060 3516
+sys/src/cmd/vac/vac.h - 664 sys sys 1091904424 3598
 sys/src/cmd/vac/vacfs.c - 664 sys sys 1084333048 13630
 sys/src/cmd/vac/vactest.c - 664 sys sys 1036024047 2742
 sys/src/cmd/vac/vtdump.c - 664 sys sys 1036006056 7170
@@ -10975,7 +10975,7 @@ sys/src/cmd/venti/conf.rc - 775 sys sys 1055707446 1416
 sys/src/cmd/venti/config.c - 664 sys sys 1063854193 4956
 sys/src/cmd/venti/conv.c - 664 sys sys 1019678878 8202
 sys/src/cmd/venti/copy.c - 664 sys sys 1055707434 3517
-sys/src/cmd/venti/dat.h - 664 sys sys 1055707422 15323
+sys/src/cmd/venti/dat.h - 664 sys sys 1091904425 15321
 sys/src/cmd/venti/dcache.c - 664 sys sys 1019678878 7374
 sys/src/cmd/venti/dump.c - 664 sys sys 1068520313 1578
 sys/src/cmd/venti/dumparena.c - 664 sys sys 1019678878 6381
@@ -10986,7 +10986,7 @@ sys/src/cmd/venti/fmtindex.c - 664 sys sys 1055707425 2534
 sys/src/cmd/venti/fmtisect.c - 664 sys sys 1021579998 1290
 sys/src/cmd/venti/fns.h - 664 sys sys 1055707422 6793
 sys/src/cmd/venti/httpd.c - 664 sys sys 1045503654 9107
-sys/src/cmd/venti/icache.c - 664 sys sys 1055707439 3942
+sys/src/cmd/venti/icache.c - 664 sys sys 1091904425 3974
 sys/src/cmd/venti/ifile.c - 664 sys sys 1055707440 2288
 sys/src/cmd/venti/index.c - 664 sys sys 1045503654 15232
 sys/src/cmd/venti/lump.c - 664 sys sys 1055707441 3844
@@ -11021,7 +11021,7 @@ sys/src/cmd/venti/whack.h - 664 sys sys 1019678881 966
 sys/src/cmd/venti/wrarena.c - 664 sys sys 1038536023 2948
 sys/src/cmd/venti/write.c - 664 sys sys 1036470214 1051
 sys/src/cmd/venti/wrtape - 775 sys sys 1019678881 555
-sys/src/cmd/venti/xml.c - 664 sys sys 1068520313 2202
+sys/src/cmd/venti/xml.c - 664 sys sys 1091904425 2183
 sys/src/cmd/venti/xml.h - 664 sys sys 1019678881 450
 sys/src/cmd/venti/zeropart.c - 664 sys sys 1019678882 602
 sys/src/cmd/vi - 20000000775 sys sys 944961342 0
@@ -11928,7 +11928,7 @@ sys/src/libmach/8db.c - 664 sys sys 1088653064 39144
 sys/src/libmach/8obj.c - 664 sys sys 1091732625 2200
 sys/src/libmach/access.c - 664 sys sys 1068478065 4309
 sys/src/libmach/elf.h - 664 sys sys 964540516 2234
-sys/src/libmach/executable.c - 664 sys sys 1089313993 13073
+sys/src/libmach/executable.c - 664 sys sys 1091914504 13505
 sys/src/libmach/k.c - 664 sys sys 964540516 3330
 sys/src/libmach/kdb.c - 664 sys sys 1014929544 21143
 sys/src/libmach/kobj.c - 664 sys sys 1091732625 2217
@@ -12102,12 +12102,12 @@ sys/src/libregexp/rregsub.c - 664 sys sys 988225293 1156
 sys/src/libscribble - 20000000775 sys sys 985636319 0
 sys/src/libscribble/graffiti.c - 664 sys sys 1014930922 7336
 sys/src/libscribble/graffiti.h - 664 sys sys 985554011 735
-sys/src/libscribble/hre_api.c - 664 sys sys 1014930922 27297
-sys/src/libscribble/hre_internal.h - 664 sys sys 985543525 5170
+sys/src/libscribble/hre_api.c - 664 sys sys 1091904427 27302
+sys/src/libscribble/hre_internal.h - 664 sys sys 1091904427 5155
 sys/src/libscribble/li_recognizer.c - 664 sys sys 985543526 57500
 sys/src/libscribble/li_recognizer_internal.h - 664 sys sys 985543526 1166
 sys/src/libscribble/mkfile - 664 sys sys 1035389780 514
-sys/src/libscribble/scribbleimpl.h - 664 sys sys 985543526 13063
+sys/src/libscribble/scribbleimpl.h - 664 sys sys 1091904427 13087
 sys/src/libsec - 20000000775 sys sys 985036585 0
 sys/src/libsec/386 - 20000000775 sys sys 984710514 0
 sys/src/libsec/386/md5block.s - 664 sys sys 985124884 5369

+ 57 - 0
dist/replica/plan9.log

@@ -16468,3 +16468,60 @@
 1091849501 5 c 386/bin/syscall - 775 sys sys 1091848141 71497
 1091849501 6 c 386/lib/libmach.a - 664 sys sys 1091848143 651390
 1091849501 7 c sys/src/fs/port/portdat.h - 664 sys sys 1091849428 16750
+1091851302 0 c 386/9pc - 775 sys sys 1091849704 1816945
+1091851302 1 c 386/9pccpu - 775 sys sys 1091849706 1473097
+1091851302 2 c 386/9pcdisk - 775 sys sys 1091849710 2019551
+1091851302 3 c 386/9pcf - 775 sys sys 1091849714 2351194
+1091851302 4 c 386/bin/ar - 775 sys sys 1091849699 105399
+1091851302 5 c 386/bin/db - 775 sys sys 1091849699 299839
+1091851302 6 c 386/bin/vncs - 775 sys sys 1091849701 469227
+1091851302 7 c 386/bin/file - 775 sys sys 1091849699 108361
+1091851302 8 c 386/bin/nm - 775 sys sys 1091849700 113183
+1091851302 9 c 386/bin/syscall - 775 sys sys 1091849700 71497
+1091851302 10 c 386/lib/libmach.a - 664 sys sys 1091849715 651390
+1091905312 0 c sys/games/lib/fortunes - 664 sys sys 1091904422 249281
+1091905312 1 c sys/include/9p.h - 664 sys sys 1091904420 4392
+1091905312 2 c sys/include/String.h - 664 sys sys 1091904425 1319
+1091905312 3 c sys/include/auth.h - 664 sys sys 1091904428 3439
+1091905312 4 c sys/include/bin.h - 664 sys sys 1091904425 239
+1091905312 5 c sys/include/draw.h - 664 sys sys 1091904420 15923
+1091905312 6 c sys/include/html.h - 664 sys sys 1091904420 15220
+1091905312 7 c sys/include/httpd.h - 664 sys sys 1091904418 5771
+1091905312 8 c sys/include/memdraw.h - 664 sys sys 1091904419 5645
+1091905312 9 c sys/include/ndb.h - 664 sys sys 1091904429 4369
+1091905312 10 c sys/include/scribble.h - 664 sys sys 1091904419 708
+1091905312 11 c sys/include/thread.h - 664 sys sys 1091904419 3594
+1091905312 12 c sys/include/tos.h - 664 sys sys 1091904418 575
+1091905312 13 c sys/include/venti.h - 664 sys sys 1091904426 7150
+1091905312 14 c sys/src/9/bitsy/dat.h - 664 sys sys 1091904418 5790
+1091905312 15 c sys/src/9/ip/ip.h - 664 sys sys 1091904429 15818
+1091905312 16 c sys/src/9/mtx/dat.h - 664 sys sys 1091904417 3874
+1091905312 17 c sys/src/9/pc/dat.h - 664 sys sys 1091904418 6281
+1091905312 18 c sys/src/9/port/portdat.h - 664 sys sys 1091904422 22118
+1091905312 19 c sys/src/9/port/portfns.h - 664 sys sys 1091904430 11426
+1091905312 20 c sys/src/9/ppc/dat.h - 664 sys sys 1091904417 4752
+1091905312 21 c sys/src/cmd/9660srv/dat.h - 664 sys sys 1091904429 2097
+1091905312 22 c sys/src/cmd/auth/factotum/dat.h - 664 sys sys 1091904428 4774
+1091905312 23 c sys/src/cmd/disk/kfs/9p1.h - 664 sys sys 1091904426 2220
+1091905312 24 c sys/src/cmd/disk/kfs/9p12.c - 664 sys sys 1091904426 1931
+1091905312 25 c sys/src/cmd/disk/kfs/9p2.c - 664 sys sys 1091904427 34519
+1091905312 26 c sys/src/cmd/disk/kfs/all.h - 664 sys sys 1091904426 126
+1091905312 27 c sys/src/cmd/ip/ftpfs/ftpfs.h - 664 sys sys 1091904423 2353
+1091905312 28 c sys/src/cmd/ip/ppp/ppp.h - 664 sys sys 1091904423 8284
+1091905312 29 c sys/src/cmd/rc/rc.h - 664 sys sys 1091904421 3314
+1091905312 30 c sys/src/cmd/replica/all.h - 664 sys sys 1091904421 1265
+1091905312 31 c sys/src/cmd/ssh/ssh.h - 664 sys sys 1091904420 6086
+1091905312 32 c sys/src/cmd/vac/dat.h - 664 sys sys 1091904424 3994
+1091905312 33 c sys/src/cmd/vac/vac.h - 664 sys sys 1091904424 3598
+1091905312 34 c sys/src/cmd/venti/dat.h - 664 sys sys 1091904425 15321
+1091905312 35 c sys/src/cmd/venti/icache.c - 664 sys sys 1091904425 3974
+1091905312 36 c sys/src/cmd/venti/xml.c - 664 sys sys 1091904425 2183
+1091905312 37 c sys/src/cmd/fossil/9.h - 664 sys sys 1091904424 4342
+1091905312 38 c sys/src/cmd/fossil/check.c - 664 sys sys 1091904423 17315
+1091905312 39 c sys/src/cmd/fossil/dat.h - 664 sys sys 1091904423 7580
+1091905312 40 c sys/src/cmd/fossil/fs.h - 664 sys sys 1091904424 1582
+1091905312 41 c sys/src/libscribble/hre_api.c - 664 sys sys 1091904427 27302
+1091905312 42 c sys/src/libscribble/hre_internal.h - 664 sys sys 1091904427 5155
+1091905312 43 c sys/src/libscribble/scribbleimpl.h - 664 sys sys 1091904427 13087
+1091914313 0 c sys/src/libmach/executable.c - 664 sys sys 1091914151 13481
+1091916114 0 c sys/src/libmach/executable.c - 664 sys sys 1091914504 13505

+ 3 - 0
sys/games/lib/fortunes

@@ -4014,3 +4014,6 @@ Network services at the Murray Hill, NJ, location (100001) will be unavailable d
 Don't show this message again.
 Service error -27.
 Beauty is more important in computing than anywhere else in technology because software is so complicated. Beauty is the ultimate defence against complexity. - David Gelernter
+Zatoichi: in theaters December 31, 1969.
+recordio.h:992: type `__true_type' is not a base type for type `__false_type'
+Telephone number has to be 10 numbers.  For example, enter '8002158482'.  Please contact us at 1-800-215-8482 for any assitance.

+ 5 - 0
sys/include/9p.h

@@ -6,6 +6,8 @@
  */
 typedef struct Intmap	Intmap;
 
+#pragma incomplete Intmap
+
 Intmap*	allocmap(void (*inc)(void*));
 void		freemap(Intmap*, void (*destroy)(void*));
 void*	lookupkey(Intmap*, ulong);
@@ -26,6 +28,9 @@ typedef struct Tree		Tree;
 typedef struct Readdir	Readdir;
 typedef struct Srv Srv;
 
+#pragma incomplete Filelist
+#pragma incomplete Readdir
+
 struct Fid
 {
 	ulong	fid;

+ 1 - 0
sys/include/String.h

@@ -38,6 +38,7 @@ extern int	s_read(Biobuf*, String*, int);
 extern char	*s_read_line(Biobuf*, String*);
 extern char	*s_getline(Biobuf*, String*);
 typedef struct Sinstack Sinstack;
+#pragma incomplete Sinstack
 extern char	*s_rdinstack(Sinstack*, String*);
 extern Sinstack	*s_allocinstack(char*);
 extern void	s_freeinstack(Sinstack*);

+ 0 - 1
sys/include/auth.h

@@ -94,7 +94,6 @@ extern	int	login(char*, char*, char*);
 extern	int	httpauth(char*, char*);
 
 typedef struct Attr Attr;
-typedef struct String String;
 enum {
 	AttrNameval,		/* name=val -- when matching, must have name=val */
 	AttrQuery,		/* name? -- when matching, must be present */

+ 2 - 0
sys/include/bin.h

@@ -3,6 +3,8 @@
 
 typedef struct Bin	Bin;
 
+#pragma incomplete Bin
+
 void	*binalloc(Bin **, ulong size, int zero);
 void	*bingrow(Bin **, void *op, ulong osize, ulong size, int zero);
 void	binfree(Bin **);

+ 2 - 0
sys/include/draw.h

@@ -15,6 +15,8 @@ typedef struct	RGB RGB;
 typedef struct	Screen Screen;
 typedef struct	Subfont Subfont;
 
+#pragma incomplete Mouse
+
 #pragma varargck	type	"R"	Rectangle
 #pragma varargck	type	"P"	Point
 extern	int	Rfmt(Fmt*);

+ 5 - 0
sys/include/html.h

@@ -79,6 +79,8 @@ enum {
 typedef struct Token Token;
 typedef struct Attr Attr;
 
+#pragma incomplete Token
+
 // BUILD
 
 typedef struct Item Item;
@@ -112,6 +114,9 @@ typedef struct Pstate Pstate;
 typedef struct ItemSource ItemSource;
 typedef struct Lay Lay;	// defined in Layout module
 
+#pragma incomplete Lay
+
+
 // Alignment types
 enum {
 	ALnone = 0, ALleft, ALcenter, ALright, ALjustify,

+ 2 - 0
sys/include/httpd.h

@@ -15,6 +15,8 @@ typedef struct HSPairs		HSPairs;
 
 typedef struct Bin		Bin;
 
+#pragma incomplete Bin
+
 enum
 {
 	HMaxWord	= 32*1024,

+ 2 - 0
sys/include/memdraw.h

@@ -8,6 +8,8 @@ typedef struct	Memlayer Memlayer;
 typedef struct	Memcmap Memcmap;
 typedef struct	Memdrawparam	Memdrawparam;
 
+#pragma incomplete Memlayer
+
 /*
  * Memdata is allocated from main pool, but .data from the image pool.
  * Memdata is allocated separately to permit patching its pointer after

+ 3 - 0
sys/include/ndb.h

@@ -10,6 +10,9 @@ typedef struct Ndbhf	Ndbhf;
 typedef struct Ndbs	Ndbs;
 typedef struct Ndbcache	Ndbcache;
 
+#pragma incomplete Ndbhf
+#pragma incomplete Ndbcache
+
 enum
 {
 	Ndbalen=	32,	/* max attribute length */

+ 2 - 0
sys/include/scribble.h

@@ -4,6 +4,8 @@
 typedef struct Scribble Scribble;
 typedef struct graffiti Graffiti;
 
+#pragma incomplete Graffiti
+
 typedef struct pen_point {
 	Point;
 	long	chaincode;

+ 3 - 0
sys/include/thread.h

@@ -108,6 +108,9 @@ extern	int		mainstacksize;
 /* slave I/O processes */
 typedef struct Ioproc Ioproc;
 
+#pragma incomplete Ioproc
+
+
 Ioproc*	ioproc(void);
 void		closeioproc(Ioproc*);
 void		iointerrupt(Ioproc*);

+ 12 - 9
sys/include/tos.h

@@ -1,20 +1,23 @@
 typedef struct Tos Tos;
 typedef struct Plink Plink;
+
+#pragma incomplete Plink
+
 struct Tos {
 	struct			/* Per process profiling */
 	{
-		Plink		*pp;		/* known to be 0(ptr) */
-		Plink		*next;	/* known to be 4(ptr) */
-		Plink		*last;
-		Plink		*first;
+		Plink	*pp;	/* known to be 0(ptr) */
+		Plink	*next;	/* known to be 4(ptr) */
+		Plink	*last;
+		Plink	*first;
 		ulong	pid;
 		ulong	what;
 	} prof;
-	uvlong		cyclefreq;		/* cycle clock frequency if there is one, 0 otherwise */
-	vlong		kcycles;		/* cycles spent in kernel */
-	vlong		pcycles;		/* cycles spent in process (kernel + user) */
-	ulong		pid;			/* might as well put the pid here */
-	ulong		clock;
+	uvlong	cyclefreq;	/* cycle clock frequency if there is one, 0 otherwise */
+	vlong	kcycles;	/* cycles spent in kernel */
+	vlong	pcycles;	/* cycles spent in process (kernel + user) */
+	ulong	pid;		/* might as well put the pid here */
+	ulong	clock;
 	/* top of stack is here */
 };
 

+ 6 - 1
sys/include/venti.h

@@ -5,12 +5,17 @@ typedef struct VtSession	VtSession;
 typedef struct VtSha1		VtSha1;
 typedef struct Packet		Packet;
 typedef struct VtLock 		VtLock;
-typedef struct VtRWLock 	VtRWLock;
 typedef struct VtRendez		VtRendez;
 typedef struct VtRoot		VtRoot;
 typedef struct VtEntry		VtEntry;
 typedef struct VtServerVtbl	VtServerVtbl;
 
+#pragma incomplete VtSession
+#pragma incomplete VtSha1
+#pragma incomplete Packet
+#pragma incomplete VtLock
+#pragma incomplete VtRendez
+
 enum {
 	VtScoreSize	= 20, /* Venti */
 	VtMaxLumpSize	= 56*1024,

+ 2 - 1
sys/src/9/bitsy/dat.h

@@ -19,7 +19,8 @@ typedef struct Proc		Proc;
 typedef struct Uart		Uart;
 typedef struct Ureg		Ureg;
 typedef struct Vctl		Vctl;
-typedef struct Uart		Uart;
+
+#pragma incomplete Ureg
 
 typedef void IntrHandler(Ureg*, void*);
 

+ 6 - 8
sys/src/9/ip/ip.h

@@ -1,7 +1,6 @@
 typedef struct	Conv	Conv;
 typedef struct	Fs	Fs;
 typedef union	Hwaddr	Hwaddr;
-typedef struct	Ifcconv	Ifcconv;
 typedef struct	IP	IP;
 typedef struct	IPaux	IPaux;
 typedef struct	Ipself	Ipself;
@@ -9,17 +8,12 @@ typedef struct	Ipselftab	Ipselftab;
 typedef struct	Iplink	Iplink;
 typedef struct	Iplifc	Iplifc;
 typedef struct	Ipmulti	Ipmulti;
-typedef struct	Ipmux	Ipmux;
-typedef struct	IProuter IProuter;
 typedef struct	Ipifc	Ipifc;
 typedef struct	Iphash	Iphash;
 typedef struct	Ipht	Ipht;
 typedef struct	Netlog	Netlog;
-typedef struct	Ifclog	Ifclog;
 typedef struct	Medium	Medium;
 typedef struct	Proto	Proto;
-typedef struct	Pstate	Pstate;
-typedef struct	Tcpc	Tcpc;
 typedef struct	Arpent	Arpent;
 typedef struct	Arp Arp;
 typedef struct	Route	Route;
@@ -29,6 +23,12 @@ typedef struct 	Hostparams	Hostparams;
 typedef struct 	v6router	v6router;
 typedef struct	v6params	v6params;
 
+#pragma incomplete Arp
+#pragma incomplete Ipself
+#pragma incomplete Ipselftab
+#pragma incomplete IP
+#pragma incomplete Netlog
+
 enum
 {
 	Addrlen=	64,
@@ -340,7 +340,6 @@ struct Fs
 	Route	*queue;			/* used as temp when reinjecting routes */
 
 	Netlog	*alog;
-	Ifclog	*ilog;
 
 	char	ndb[1024];		/* an ndb entry for this interface */
 	int	ndbvers;
@@ -613,7 +612,6 @@ extern void	ipsendra6(Fs *f, int on);
  *  ip.c
  */
 extern void	iprouting(Fs*, int);
-extern void	closeifcconv(Ifcconv*);
 extern void	icmpnoconv(Fs*, Block*);
 extern void	icmpcantfrag(Fs*, Block*, int);
 extern void	icmpttlexceeded(Fs*, uchar*, Block*);

+ 2 - 0
sys/src/9/mtx/dat.h

@@ -14,6 +14,8 @@ typedef struct Sys	Sys;
 typedef struct Ureg	Ureg;
 typedef struct Vctl	Vctl;
 
+#pragma incomplete Ureg
+
 #define MAXSYSARG	5	/* for mount(fd, mpt, flag, arg, srv) */
 
 /*

+ 2 - 0
sys/src/9/pc/dat.h

@@ -17,6 +17,8 @@ typedef struct Segdesc	Segdesc;
 typedef struct Ureg	Ureg;
 typedef struct Vctl	Vctl;
 
+#pragma incomplete Ureg
+
 #define MAXSYSARG	5	/* for mount(fd, afd, mpt, flag, arg) */
 
 /*

+ 11 - 12
sys/src/9/port/portdat.h

@@ -1,6 +1,5 @@
 typedef struct Alarms	Alarms;
 typedef struct Block	Block;
-typedef struct CSN	CSN;
 typedef struct Chan	Chan;
 typedef struct Cmdbuf	Cmdbuf;
 typedef struct Cmdtab	Cmdtab;
@@ -13,7 +12,6 @@ typedef struct Evalue	Evalue;
 typedef struct Fgrp	Fgrp;
 typedef struct DevConf	DevConf;
 typedef struct Image	Image;
-typedef struct List	List;
 typedef struct Log	Log;
 typedef struct Logflag	Logflag;
 typedef struct Mntcache Mntcache;
@@ -26,13 +24,11 @@ typedef struct Note	Note;
 typedef struct Page	Page;
 typedef struct Palloc	Palloc;
 typedef struct Perf	Perf;
-typedef struct Pgrps	Pgrps;
 typedef struct PhysUart	PhysUart;
 typedef struct Pgrp	Pgrp;
 typedef struct Physseg	Physseg;
 typedef struct Proc	Proc;
 typedef struct Pte	Pte;
-typedef struct Pthash	Pthash;
 typedef struct QLock	QLock;
 typedef struct Queue	Queue;
 typedef struct Ref	Ref;
@@ -42,16 +38,20 @@ typedef struct RWlock	RWlock;
 typedef struct Sargs	Sargs;
 typedef struct Schedq	Schedq;
 typedef struct Segment	Segment;
-typedef struct Session	Session;
-typedef struct Task	Task;
 typedef struct Talarm	Talarm;
 typedef struct Timer	Timer;
-typedef struct Timers	Timers;		/* defined in portdat.h */
+typedef struct Timers	Timers;
 typedef struct Uart	Uart;
 typedef struct Waitq	Waitq;
 typedef struct Walkqid	Walkqid;
 typedef int    Devgen(Chan*, char*, Dirtab*, int, int, Dir*);
 
+#pragma incomplete DevConf
+#pragma incomplete Edf
+#pragma incomplete Mntcache
+#pragma incomplete Mntrpc
+#pragma incomplete Queue
+#pragma incomplete Timers
 
 #include <fcall.h>
 
@@ -176,8 +176,8 @@ struct Chan
 	QLock	rockqlock;
 	int	ismtpt;
 	ulong	mountid;
-	Mntcache *mcp;			/* Mount cache pointer */
-	Mnt		*mux;		/* Mnt for clients using me for messages */
+	Mntcache*mcp;			/* Mount cache pointer */
+	Mnt*	mux;			/* Mnt for clients using me for messages */
 	union {
 		void*	aux;
 		Qid	pgrpid;		/* for #p/notepg */
@@ -185,8 +185,7 @@ struct Chan
 	};
 	Chan*	mchan;			/* channel to mounted server */
 	Qid	mqid;			/* qid of root of mount point */
-	Session*session;
-	Cname	*name;
+	Cname*	name;
 };
 
 struct Cname
@@ -507,6 +506,7 @@ enum {
 	Tabsolute,	/* timer programmed in ns since epoch */
 	Tperiodic,	/* periodic timer, period in ns */
 };
+
 struct Timer
 {
 	/* Public interface */
@@ -756,7 +756,6 @@ extern	char*	statename[];
 extern  Image	swapimage;
 extern	int	nsyscall;
 extern	char	*sysname;
-extern	Pthash	syspt;
 extern	Talarm	talarm;
 extern	uint	qiomaxatomic;
 

+ 0 - 1
sys/src/9/port/portfns.h

@@ -122,7 +122,6 @@ void		freeblist(Block*);
 int		freebroken(void);
 void		freepte(Segment*, Pte*);
 void		freesegs(int);
-void		freesession(Session*);
 void		getcolor(ulong, ulong*, ulong*, ulong*);
 ulong		getmalloctag(void*);
 ulong		getrealloctag(void*);

+ 2 - 0
sys/src/9/ppc/dat.h

@@ -16,6 +16,8 @@ typedef struct Vctl	Vctl;
 typedef struct Imap	Imap;
 typedef struct Vctl	Vctl;
 
+#pragma incomplete Ureg
+
 #define MAXSYSARG	5	/* for mount(fd, mpt, flag, arg, srv) */
 
 /*

+ 2 - 0
sys/src/cmd/9660srv/dat.h

@@ -6,6 +6,8 @@ typedef struct Xfile	Xfile;
 typedef struct Xfs	Xfs;
 typedef struct Xfsub	Xfsub;
 
+#pragma incomplete Isofile
+
 enum
 {
 	Sectorsize = 2048,

+ 3 - 1
sys/src/cmd/auth/factotum/dat.h

@@ -38,9 +38,11 @@ typedef struct Key Key;
 typedef struct Keyring Keyring;
 typedef struct Logbuf Logbuf;
 typedef struct Proto Proto;
-typedef struct User User;
 typedef struct State State;
 
+#pragma incomplete State
+
+
 struct Fsstate
 {
 	char *sysuser;	/* user according to system */

+ 0 - 4
sys/src/cmd/disk/kfs/9p1.h

@@ -1,7 +1,3 @@
-#include	<auth.h>
-#include	<authsrv.h>
-
-
 #define	DIRREC		116		/* size of a directory ascii record */
 #define	ERRREC		64		/* size of a error record */
 #define	MAXMSG		160	/* max header sans data */

+ 0 - 1
sys/src/cmd/disk/kfs/9p12.c

@@ -1,5 +1,4 @@
 #include "all.h"
-#include	"/sys/include/fcall.h"
 
 static int
 readmsg(Chan *c, void *abuf, int n, int *ninep)

+ 0 - 2
sys/src/cmd/disk/kfs/9p2.c

@@ -1,6 +1,4 @@
 #include	"all.h"
-#include	<fcall.h>
-#include	<auth.h>
 
 #define MSIZE	(MAXDAT+128)
 

+ 4 - 0
sys/src/cmd/disk/kfs/all.h

@@ -2,3 +2,7 @@
 #include	"libc.h"
 #include	"dat.h"
 #include	"fns.h"
+
+#include	<fcall.h>
+#include	<auth.h>
+#include	<authsrv.h>

+ 4 - 2
sys/src/cmd/disk/mkext.c

@@ -72,11 +72,13 @@ main(int argc, char **argv)
 			fprint(2, "done\n");
 			exits(0);
 		}
-		if(getfields(p, fields, NFLDS, 0, " \t") != NFLDS){
+		if (gettokens(p, fields, NFLDS, " \t") != NFLDS){
 			warn("too few fields in file header");
 			continue;
 		}
-		strcpy(namep, fields[0]);
+		p = unquotestrdup(fields[0])
+		strcpy(namep, p);
+		free(p);
 		mode = strtoul(fields[1], 0, 8);
 		uid = fields[2];
 		gid = fields[3];

+ 4 - 0
sys/src/cmd/fossil/9.h

@@ -12,6 +12,10 @@ typedef struct Fid Fid;
 typedef struct Fsys Fsys;
 typedef struct Msg Msg;
 
+#pragma incomplete DirBuf
+#pragma incomplete Excl
+#pragma incomplete Fsys
+
 struct Msg {
 	uchar*	data;
 	u32int	msize;			/* actual size of data */

+ 0 - 2
sys/src/cmd/fossil/check.c

@@ -18,8 +18,6 @@ static void checkDirs(Fsck*);
 #pragma varargck argpos error 2
 #pragma varargck argpos warn 2
 
-int bout;
-
 static Fsck*
 checkInit(Fsck *chk)
 {

+ 7 - 0
sys/src/cmd/fossil/dat.h

@@ -13,6 +13,13 @@ typedef struct Source Source;
 typedef struct Super Super;
 typedef struct WalkPtr WalkPtr;
 
+#pragma incomplete Arch
+#pragma incomplete BList
+#pragma incomplete Cache
+#pragma incomplete Disk
+#pragma incomplete Periodic
+#pragma incomplete Snap
+
 /* tuneable parameters - probably should not be constants */
 enum {
 	BytesPerEntry = 100,	/* estimate of bytes per dir entries - determines number of index entries in the block */

+ 4 - 0
sys/src/cmd/fossil/fs.h

@@ -2,6 +2,10 @@ typedef struct Fs Fs;
 typedef struct File File;
 typedef struct DirEntryEnum DirEntryEnum;
 
+#pragma incomplete Fs
+#pragma incomplete File
+#pragma incomplete DirEntryEnum
+
 /* modes */
 
 enum {

+ 2 - 2
sys/src/cmd/grep/main.c

@@ -24,12 +24,12 @@ main(int argc, char *argv[])
 	case 'e':
 		flags['e']++;
 		lineno = 0;
-		str2top(ARGF());
+		str2top(EARGF(usage()));
 		break;
 
 	case 'f':
 		flags['f']++;
-		filename = ARGF();
+		filename = EARGF(usage());
 		rein = Bopen(filename, OREAD);
 		if(rein == 0) {
 			fprint(2, "grep: can't open %s: %r\n", filename);

+ 2 - 0
sys/src/cmd/ip/ftpfs/ftpfs.h

@@ -2,6 +2,8 @@ typedef struct File	File;
 typedef struct Node	Node;
 typedef struct OS	OS;
 
+#pragma incomplete File
+
 enum
 {
 	Maxpath=	512,

+ 1 - 0
sys/src/cmd/ip/ppp/ppp.h

@@ -12,6 +12,7 @@ typedef struct Block Block;
 
 typedef uchar Ipaddr[IPaddrlen];	
 
+#pragma incomplete Tcpc
 
 /*
  *  data blocks

+ 4 - 1
sys/src/cmd/rc/rc.h

@@ -34,6 +34,9 @@ typedef struct redir redir;
 typedef struct thread thread;
 typedef struct builtin builtin;
 
+#pragma incomplete word
+#pragma incomplete io
+
 struct tree{
 	int type;
 	int rtype, fd0, fd1;		/* details of REDIR PIPE DUP tokens */
@@ -131,4 +134,4 @@ char Rcmain[], Fdprefix[];
 int ndot;
 char *getstatus(void);
 int lastc;
-int lastword;
+int lastword;

+ 3 - 0
sys/src/cmd/replica/all.h

@@ -8,6 +8,9 @@ typedef struct Avl Avl;
 typedef struct Avltree Avltree;
 typedef struct Avlwalk Avlwalk;
 
+#pragma incomplete Avltree
+#pragma incomplete Avlwalk
+
 struct Avl
 {
 	Avl *p;	/* parent */

+ 2 - 0
sys/src/cmd/ssh/ssh.h

@@ -133,6 +133,8 @@ typedef struct CipherState CipherState;
 typedef struct Conn Conn;
 typedef struct Msg Msg;
 
+#pragma incomplete CipherState
+
 struct Auth
 {
 	int id;

+ 1 - 1
sys/src/cmd/vac/dat.h

@@ -4,7 +4,7 @@ typedef struct MetaBlock MetaBlock;
 typedef struct MetaEntry MetaEntry;
 typedef struct Lump Lump;
 typedef struct Cache Cache;
-typedef struct Super Super;
+#pragma incomplete Cache
 
 enum {
 	NilBlock	= (~0UL),

+ 3 - 0
sys/src/cmd/vac/vac.h

@@ -1,7 +1,10 @@
 typedef struct VacFS VacFS;
+#pragma incomplete VacFS
 typedef struct VacDir VacDir;
 typedef struct VacFile VacFile;
+#pragma incomplete VacFile
 typedef struct VacDirEnum VacDirEnum;
+#pragma incomplete VacDirEnum
 
 /*
  * Mode bits

+ 2 - 1
sys/src/cmd/venti/dat.h

@@ -9,7 +9,6 @@ typedef struct Clump		Clump;
 typedef struct ClumpInfo	ClumpInfo;
 typedef struct IAddr		IAddr;
 typedef struct IBucket		IBucket;
-typedef struct ICache		ICache;
 typedef struct IEStream		IEStream;
 typedef struct IEntry		IEntry;
 typedef struct IFile		IFile;
@@ -21,6 +20,8 @@ typedef struct Part		Part;
 typedef struct Stats		Stats;
 typedef struct ZBlock		ZBlock;
 
+#pragma incomplete IEStream
+
 #define TWID32	((u32int)~(u32int)0)
 #define TWID64	((u64int)~(u64int)0)
 #define	TWID8	((u8int)~(u8int)0)

+ 2 - 0
sys/src/cmd/venti/icache.c

@@ -2,6 +2,8 @@
 #include "dat.h"
 #include "fns.h"
 
+typedef struct ICache		ICache;
+
 struct ICache
 {
 	VtLock	*lock;			/* locks hash table & all associated data */

+ 2 - 2
sys/src/cmd/venti/xml.c

@@ -11,8 +11,8 @@ void xmlArena(Hio *hout, Arena *s, char *tag, int indent){
 	xmlU32int(hout, s->version, "version");
 	xmlAName(hout, s->part->name, "partition");
 	xmlU32int(hout, s->blockSize, "blockSize");
-	xmlU64int(hout, s->base-s->blockSize, "start");
-	xmlU64int(hout, s->base+s->size+s->blockSize, "stop");
+	xmlU64int(hout, s->base, "start");
+	xmlU64int(hout, s->base+2*s->blockSize, "stop");
 	xmlU32int(hout, s->ctime, "created");
 	xmlU32int(hout, s->wtime, "modified");
 	xmlSealed(hout, s->sealed, "sealed");

+ 24 - 2
sys/src/libmach/executable.c

@@ -44,6 +44,7 @@ static	long	_round(long, long);
 typedef struct Exectable{
 	long	magic;			/* big-endian magic number of file */
 	char	*name;			/* executable identifier */
+	char	*dlmname;		/* dynamically loadable module identifier */
 	int	type;			/* Internal code */
 	Mach	*mach;			/* Per-machine data */
 	ulong	hsize;			/* header size */
@@ -65,6 +66,7 @@ ExecTable exectab[] =
 {
 	{ V_MAGIC,			/* Mips v.out */
 		"mips plan 9 executable",
+		"mips plan 9 dlm",
 		FMIPS,
 		&mmips,
 		sizeof(Exec),
@@ -72,6 +74,7 @@ ExecTable exectab[] =
 		adotout },
 	{ M_MAGIC,			/* Mips 4.out */
 		"mips 4k plan 9 executable BE",
+		"mips 4k plan 9 dlm BE",
 		FMIPS2BE,
 		&mmips2be,
 		sizeof(Exec),
@@ -79,6 +82,7 @@ ExecTable exectab[] =
 		adotout },
 	{ N_MAGIC,			/* Mips 0.out */
 		"mips 4k plan 9 executable LE",
+		"mips 4k plan 9 dlm LE",
 		FMIPS2LE,
 		&mmips2le,
 		sizeof(Exec),
@@ -86,6 +90,7 @@ ExecTable exectab[] =
 		adotout },
 	{ 0x160<<16,			/* Mips boot image */
 		"mips plan 9 boot image",
+		nil,
 		FMIPSB,
 		&mmips,
 		sizeof(struct mipsexec),
@@ -93,6 +98,7 @@ ExecTable exectab[] =
 		mipsboot },
 	{ (0x160<<16)|3,		/* Mips boot image */
 		"mips 4k plan 9 boot image",
+		nil,
 		FMIPSB,
 		&mmips2be,
 		sizeof(struct mips4kexec),
@@ -100,6 +106,7 @@ ExecTable exectab[] =
 		mips4kboot },
 	{ K_MAGIC,			/* Sparc k.out */
 		"sparc plan 9 executable",
+		"sparc plan 9 dlm",
 		FSPARC,
 		&msparc,
 		sizeof(Exec),
@@ -107,6 +114,7 @@ ExecTable exectab[] =
 		adotout },
 	{ 0x01030107, 			/* Sparc boot image */
 		"sparc plan 9 boot image",
+		nil,
 		FSPARCB,
 		&msparc,
 		sizeof(struct sparcexec),
@@ -114,6 +122,7 @@ ExecTable exectab[] =
 		sparcboot },
 	{ A_MAGIC,			/* 68020 2.out & boot image */
 		"68020 plan 9 executable",
+		"68020 plan 9 dlm",
 		F68020,
 		&m68020,
 		sizeof(Exec),
@@ -121,6 +130,7 @@ ExecTable exectab[] =
 		common },
 	{ 0xFEEDFACE,			/* Next boot image */
 		"next plan 9 boot image",
+		nil,
 		FNEXTB,
 		&m68020,
 		sizeof(struct nextexec),
@@ -128,6 +138,7 @@ ExecTable exectab[] =
 		nextboot },
 	{ I_MAGIC,			/* I386 8.out & boot image */
 		"386 plan 9 executable",
+		"386 plan 9 dlm",
 		FI386,
 		&mi386,
 		sizeof(Exec),
@@ -135,6 +146,7 @@ ExecTable exectab[] =
 		common },
 	{ Q_MAGIC,			/* PowerPC q.out & boot image */
 		"power plan 9 executable",
+		"power plan 9 dlm",
 		FPOWER,
 		&mpower,
 		sizeof(Exec),
@@ -142,6 +154,7 @@ ExecTable exectab[] =
 		common },
 	{ ELF_MAG,
 		"Irix 5.X Elf executable",
+		nil,
 		FMIPS,
 		&mmips,
 		sizeof(Ehdr),
@@ -149,6 +162,7 @@ ExecTable exectab[] =
 		elfdotout },
 	{ E_MAGIC,			/* Arm 5.out */
 		"Arm plan 9 executable",
+		"Arm plan 9 dlm",
 		FARM,
 		&marm,
 		sizeof(Exec),
@@ -156,6 +170,7 @@ ExecTable exectab[] =
 		common },
 	{ (143<<16)|0413,		/* (Free|Net)BSD Arm */
 		"Arm *BSD executable",
+		nil,
 		FARM,
 		&marm,
 		sizeof(Exec),
@@ -163,6 +178,7 @@ ExecTable exectab[] =
 		armdotout },
 	{ L_MAGIC,			/* alpha 7.out */
 		"alpha plan 9 executable",
+		"alpha plan 9 dlm",
 		FALPHA,
 		&malpha,
 		sizeof(Exec),
@@ -170,6 +186,7 @@ ExecTable exectab[] =
 		common },
 	{ 0x0700e0c3,			/* alpha boot image */
 		"alpha plan 9 boot image",
+		nil,
 		FALPHAB,
 		&malpha,
 		sizeof(Exec),
@@ -216,13 +233,18 @@ crackhdr(int fd, Fhdr *fp)
 	ret = 0;
 	fp->magic = magic = beswal(d.e.magic);		/* big-endian */
 	for (mp = exectab; mp->magic; mp++) {
-		if (mp->magic == magic && nb >= mp->hsize) {
+		if (nb < mp->hsize)
+			continue;
+		if (mp->magic == (magic & ~DYN_MAGIC)) {
 			if(mp->magic == V_MAGIC)
 				mp = couldbe4k(mp);
 
 			hswal((long *) &d, sizeof(d.e)/sizeof(long), mp->swal);
 			fp->type = mp->type;
-			fp->name = mp->name;
+			if ((magic & DYN_MAGIC) && mp->dlmname != nil)
+				fp->name = mp->dlmname;
+			else
+				fp->name = mp->name;
 			fp->hdrsz = mp->hsize;		/* zero on bootables */
 			mach = mp->mach;
 			ret  = mp->hparse(fd, fp, &d);

+ 1 - 1
sys/src/libscribble/hre_api.c

@@ -439,7 +439,7 @@ rc* recognizer_get_context(recognizer rec)
 
     /*Do the function.*/
 
-    return(recognizer_get_context(rec));
+    return(rec->recognizer_get_context(rec));
 }
 
 /*

+ 13 - 13
sys/src/libscribble/hre_internal.h

@@ -43,27 +43,27 @@ struct _wordset {
 
 struct _Recognizer {
 	uint		recognizer_magic;
-    char		*recognizer_version; 
+	char		*recognizer_version; 
 
 	rec_info	*recognizer_info;
 	void		*recognizer_specific;
-	int			(*recognizer_load_state)(struct _Recognizer*, char*, char*);
-	int			(*recognizer_save_state)(struct _Recognizer*, char*, char*);
+	int		(*recognizer_load_state)(struct _Recognizer*, char*, char*);
+	int		(*recognizer_save_state)(struct _Recognizer*, char*, char*);
 	char*		(*recognizer_error)(struct _Recognizer*);
 	wordset		(*recognizer_load_dictionary)(struct _Recognizer*, char*, char*);
-	int			(*recognizer_save_dictionary)(struct _Recognizer*, char*, char*, wordset);
+	int		(*recognizer_save_dictionary)(struct _Recognizer*, char*, char*, wordset);
 
-	int			(*recognizer_free_dictionary)(struct _Recognizer*, wordset);
-	int			(*recognizer_add_to_dictionary)(struct _Recognizer*, letterset*, wordset);
-	int			(*recognizer_delete_from_dictionary)(struct _Recognizer*, letterset*, wordset);
-	int			(*recognizer_set_context)(struct _Recognizer*,rc*);
-	rc*			(*recognizer_get_context)(struct _Recognizer*);
+	int		(*recognizer_free_dictionary)(struct _Recognizer*, wordset);
+	int		(*recognizer_add_to_dictionary)(struct _Recognizer*, letterset*, wordset);
+	int		(*recognizer_delete_from_dictionary)(struct _Recognizer*, letterset*, wordset);
+	int		(*recognizer_set_context)(struct _Recognizer*,rc*);
+	rc*		(*recognizer_get_context)(struct _Recognizer*);
 				   
-	int			(*recognizer_clear)(struct _Recognizer*, bool);
-	int			(*recognizer_get_buffer)(struct _Recognizer*, uint*, Stroke**);
+	int		(*recognizer_clear)(struct _Recognizer*, bool);
+	int		(*recognizer_get_buffer)(struct _Recognizer*, uint*, Stroke**);
 
-	int			(*recognizer_set_buffer)(struct _Recognizer*, uint, Stroke*);
-	int			(*recognizer_translate)(struct _Recognizer*, uint, Stroke*, bool, int*, rec_alternative**);
+	int		(*recognizer_set_buffer)(struct _Recognizer*, uint, Stroke*);
+	int		(*recognizer_translate)(struct _Recognizer*, uint, Stroke*, bool, int*, rec_alternative**);
 	rec_fn*		(*recognizer_get_extension_functions)(struct _Recognizer*);
 	char**		(*recognizer_get_gesture_names)(struct _Recognizer*);
 	xgesture	(*recognizer_set_gesture_action)(struct _Recognizer*, char*, xgesture, void*);

+ 7 - 5
sys/src/libscribble/scribbleimpl.h

@@ -25,17 +25,19 @@
 
 typedef struct _Recognizer* recognizer;
 
+#pragma incomplete recognizer
+
 /*
  * Opaque type for recognizers to implement dictionaries.
  */
 
-typedef struct _wordset			*wordset;
-typedef struct rc				rc;
+typedef struct _wordset		*wordset;
+typedef struct rc		rc;
 typedef struct rec_correlation	rec_correlation;
 typedef struct rec_alternative	rec_alternative;
-typedef struct rec_element		rec_element;
-typedef struct gesture			gesture;
-typedef uint					wchar_t;
+typedef struct rec_element	rec_element;
+typedef struct gesture		gesture;
+typedef uint			wchar_t;
 
 /* Scalar Type Definitions */