Browse Source

Plan 9 from Bell Labs 2005-08-04

David du Colombier 18 years ago
parent
commit
23b4b94ed8
90 changed files with 2140 additions and 6937 deletions
  1. 574 574
      dist/replica/_plan9.db
  2. 574 574
      dist/replica/plan9.db
  3. 966 0
      dist/replica/plan9.log
  4. 1 1
      sys/doc/venti/venti.pdf
  5. 1 0
      sys/lib/dist/pc/mkfile
  6. 1 1
      sys/src/9/ppc/m8260.c
  7. 0 35
      sys/src/ape/cmd/make-3.79/tests/scripts/features/comments
  8. 0 67
      sys/src/ape/cmd/make-3.79/tests/scripts/features/conditionals
  9. 0 65
      sys/src/ape/cmd/make-3.79/tests/scripts/features/default_names
  10. 0 117
      sys/src/ape/cmd/make-3.79/tests/scripts/features/double_colon
  11. 0 90
      sys/src/ape/cmd/make-3.79/tests/scripts/features/echoing
  12. 0 93
      sys/src/ape/cmd/make-3.79/tests/scripts/features/errors
  13. 0 50
      sys/src/ape/cmd/make-3.79/tests/scripts/features/escape
  14. 0 61
      sys/src/ape/cmd/make-3.79/tests/scripts/features/include
  15. 0 78
      sys/src/ape/cmd/make-3.79/tests/scripts/features/mult_rules
  16. 0 46
      sys/src/ape/cmd/make-3.79/tests/scripts/features/mult_targets
  17. 0 34
      sys/src/ape/cmd/make-3.79/tests/scripts/features/override
  18. 0 100
      sys/src/ape/cmd/make-3.79/tests/scripts/features/parallelism
  19. 0 49
      sys/src/ape/cmd/make-3.79/tests/scripts/features/patspecific_vars
  20. 0 32
      sys/src/ape/cmd/make-3.79/tests/scripts/features/quoting
  21. 0 61
      sys/src/ape/cmd/make-3.79/tests/scripts/features/recursion
  22. 0 92
      sys/src/ape/cmd/make-3.79/tests/scripts/features/reinvoke
  23. 0 72
      sys/src/ape/cmd/make-3.79/tests/scripts/features/statipattrules
  24. 0 154
      sys/src/ape/cmd/make-3.79/tests/scripts/features/targetvars
  25. 0 34
      sys/src/ape/cmd/make-3.79/tests/scripts/features/varnesting
  26. 0 62
      sys/src/ape/cmd/make-3.79/tests/scripts/features/vpath
  27. 0 45
      sys/src/ape/cmd/make-3.79/tests/scripts/features/vpath2
  28. 0 64
      sys/src/ape/cmd/make-3.79/tests/scripts/features/vpathgpath
  29. 0 123
      sys/src/ape/cmd/make-3.79/tests/scripts/features/vpathplus
  30. 0 44
      sys/src/ape/cmd/make-3.79/tests/scripts/functions/addprefix
  31. 0 44
      sys/src/ape/cmd/make-3.79/tests/scripts/functions/addsuffix
  32. 0 44
      sys/src/ape/cmd/make-3.79/tests/scripts/functions/basename
  33. 0 60
      sys/src/ape/cmd/make-3.79/tests/scripts/functions/call
  34. 0 44
      sys/src/ape/cmd/make-3.79/tests/scripts/functions/dir
  35. 0 63
      sys/src/ape/cmd/make-3.79/tests/scripts/functions/error
  36. 0 35
      sys/src/ape/cmd/make-3.79/tests/scripts/functions/filter-out
  37. 0 47
      sys/src/ape/cmd/make-3.79/tests/scripts/functions/findstring
  38. 0 53
      sys/src/ape/cmd/make-3.79/tests/scripts/functions/foreach
  39. 0 31
      sys/src/ape/cmd/make-3.79/tests/scripts/functions/if
  40. 0 44
      sys/src/ape/cmd/make-3.79/tests/scripts/functions/join
  41. 0 44
      sys/src/ape/cmd/make-3.79/tests/scripts/functions/notdir
  42. 0 66
      sys/src/ape/cmd/make-3.79/tests/scripts/functions/origin
  43. 0 55
      sys/src/ape/cmd/make-3.79/tests/scripts/functions/sort
  44. 0 53
      sys/src/ape/cmd/make-3.79/tests/scripts/functions/strip
  45. 0 37
      sys/src/ape/cmd/make-3.79/tests/scripts/functions/substitution
  46. 0 57
      sys/src/ape/cmd/make-3.79/tests/scripts/functions/suffix
  47. 0 63
      sys/src/ape/cmd/make-3.79/tests/scripts/functions/warning
  48. 0 103
      sys/src/ape/cmd/make-3.79/tests/scripts/functions/wildcard
  49. 0 64
      sys/src/ape/cmd/make-3.79/tests/scripts/functions/word
  50. 0 51
      sys/src/ape/cmd/make-3.79/tests/scripts/misc/general1
  51. 0 50
      sys/src/ape/cmd/make-3.79/tests/scripts/misc/general2
  52. 0 45
      sys/src/ape/cmd/make-3.79/tests/scripts/misc/general3
  53. 0 35
      sys/src/ape/cmd/make-3.79/tests/scripts/misc/version
  54. 0 48
      sys/src/ape/cmd/make-3.79/tests/scripts/options/dash-C
  55. 0 57
      sys/src/ape/cmd/make-3.79/tests/scripts/options/dash-I
  56. 0 24
      sys/src/ape/cmd/make-3.79/tests/scripts/options/dash-e
  57. 0 85
      sys/src/ape/cmd/make-3.79/tests/scripts/options/dash-f
  58. 0 100
      sys/src/ape/cmd/make-3.79/tests/scripts/options/dash-k
  59. 0 55
      sys/src/ape/cmd/make-3.79/tests/scripts/options/dash-l
  60. 0 76
      sys/src/ape/cmd/make-3.79/tests/scripts/options/dash-n
  61. 0 53
      sys/src/ape/cmd/make-3.79/tests/scripts/targets/DEFAULT
  62. 0 52
      sys/src/ape/cmd/make-3.79/tests/scripts/targets/FORCE
  63. 0 110
      sys/src/ape/cmd/make-3.79/tests/scripts/targets/INTERMEDIATE
  64. 0 62
      sys/src/ape/cmd/make-3.79/tests/scripts/targets/PHONY
  65. 0 85
      sys/src/ape/cmd/make-3.79/tests/scripts/targets/SECONDARY
  66. 0 51
      sys/src/ape/cmd/make-3.79/tests/scripts/targets/SILENT
  67. 0 51
      sys/src/ape/cmd/make-3.79/tests/scripts/targets/clean
  68. 0 70
      sys/src/ape/cmd/make-3.79/tests/scripts/test_template
  69. 0 20
      sys/src/ape/cmd/make-3.79/tests/scripts/variables/CURDIR
  70. 0 33
      sys/src/ape/cmd/make-3.79/tests/scripts/variables/MAKE
  71. 0 52
      sys/src/ape/cmd/make-3.79/tests/scripts/variables/MAKECMDGOALS
  72. 0 34
      sys/src/ape/cmd/make-3.79/tests/scripts/variables/MAKEFILES
  73. 0 34
      sys/src/ape/cmd/make-3.79/tests/scripts/variables/MAKELEVEL
  74. 0 68
      sys/src/ape/cmd/make-3.79/tests/scripts/variables/flavors
  75. 0 188
      sys/src/ape/cmd/make-3.79/w32/compat/dirent.c
  76. 0 37
      sys/src/ape/cmd/make-3.79/w32/include/dirent.h
  77. 0 9
      sys/src/ape/cmd/make-3.79/w32/include/pathstuff.h
  78. 0 47
      sys/src/ape/cmd/make-3.79/w32/include/sub_proc.h
  79. 0 10
      sys/src/ape/cmd/make-3.79/w32/include/w32err.h
  80. 0 60
      sys/src/ape/cmd/make-3.79/w32/subproc/NMakefile
  81. 0 10
      sys/src/ape/cmd/make-3.79/w32/subproc/build.bat
  82. 0 65
      sys/src/ape/cmd/make-3.79/w32/subproc/misc.c
  83. 0 13
      sys/src/ape/cmd/make-3.79/w32/subproc/proc.h
  84. 0 1209
      sys/src/ape/cmd/make-3.79/w32/subproc/sub_proc.c
  85. 0 51
      sys/src/ape/cmd/make-3.79/w32/subproc/w32err.c
  86. 2 1
      sys/src/cmd/aux/consolefs.c
  87. 9 1
      sys/src/cmd/cc/sub.c
  88. 1 2
      sys/src/cmd/gs/zlib/configure
  89. 11 8
      sys/src/cmd/tail.c
  90. 0 0
      sys/src/cmd/unix/netkey.c

File diff suppressed because it is too large
+ 574 - 574
dist/replica/_plan9.db


File diff suppressed because it is too large
+ 574 - 574
dist/replica/plan9.db


+ 966 - 0
dist/replica/plan9.log

@@ -19767,3 +19767,969 @@
 1122638544 1 d 386/bin/mkstate - 775 sys sys 1115950093 0
 1122903082 0 c sys/src/cmd/auth/warning.c - 664 sys sys 1122901749 5303
 1122962495 0 c 386/bin/auth/warning - 775 sys sys 1122961620 99567
+1123095724 0 c sys/lib/dist/mkfile - 664 sys sys 1123094501 3857
+1123095724 1 c sys/lib/dist/pc/mkfile - 664 sys sys 1123094452 2158
+1123095724 2 c sys/src/9/ppc/m8260.c - 664 sys sys 1123094594 14482
+1123095724 3 c sys/src/cmd/aux/consolefs.c - 664 sys sys 1123094543 20187
+1123095724 4 c sys/src/cmd/mk/main.c - 664 sys sys 1123094366 4790
+1123097523 0 c sys/src/cmd/cc/sub.c - 664 sys sys 1123096456 34013
+1123097523 1 c sys/src/cmd/tail.c - 664 sys sys 1123096368 6014
+1123099324 0 m sys/src/9/pc/etherga620fw.h - 664 sys sys 1026847642 222295
+1123099324 1 m sys/src/ape/lib/9/alpha/getfcr.s - 664 sys sys 1014921994 816
+1123099324 2 m sys/src/boot/alphapc/dat.h - 664 sys sys 954267449 2716
+1123099324 3 m sys/src/boot/alphapc/fns.h - 664 sys sys 954479197 1056
+1123099324 4 m sys/src/boot/alphapc/l.s - 664 sys sys 954479198 1496
+1123099324 5 m sys/src/boot/alphapc/main.c - 664 sys sys 954479198 344
+1123099324 6 m sys/src/boot/alphapc/mem.h - 664 sys sys 954267450 802
+1123099324 7 m sys/src/boot/alphapc/u.h - 664 sys sys 954267450 687
+1123099324 8 m sys/src/cmd/awk/lex.c - 664 sys sys 944960803 12346
+1123099324 9 m sys/src/cmd/fcp.c - 664 sys sys 1110816880 3780
+1123099324 10 m sys/src/cmd/ip/snoopy/rtcp.c - 664 sys sys 1089389638 1958
+1123099324 11 m sys/src/cmd/map/route.c - 664 sys sys 964456085 2718
+1123099324 12 m sys/src/cmd/tcs/font/bmap.c - 664 sys sys 944961250 685
+1123099324 13 m sys/src/cmd/tcs/font/font.c - 664 sys sys 944961250 692
+1123099324 14 m sys/src/cmd/tcs/font/hdr.h - 664 sys sys 944961251 672
+1123099324 15 m sys/src/cmd/tcs/font/kbits.c - 664 sys sys 944961250 2058
+1123099324 16 m sys/src/cmd/tcs/font/kmap.c - 664 sys sys 944961251 706
+1123099324 17 m sys/src/cmd/tcs/font/main.c - 664 sys sys 944961251 1976
+1123099324 18 m sys/src/cmd/troff/FIXES - 664 sys sys 944961293 24982
+1123099324 19 m sys/src/cmd/troff/README - 664 sys sys 944961293 1168
+1123099324 20 m sys/src/cmd/troff/dwbinit.c - 664 sys sys 944961293 9115
+1123099324 21 m sys/src/cmd/troff/dwbinit.h - 664 sys sys 944961293 491
+1123099324 22 m sys/src/cmd/troff/find - 775 sys sys 944961293 15
+1123099324 23 m sys/src/cmd/unix/9pfreebsd/mount_9fs/9auth.h - 664 sys sys 960684603 4612
+1123099324 24 m sys/src/cmd/unix/9pfreebsd/mount_9fs/9fs.h - 664 sys sys 960684604 8290
+1123099324 25 m sys/src/cmd/unix/9pfreebsd/mount_9fs/9p.h - 664 sys sys 960684604 4707
+1123099324 26 m sys/src/cmd/unix/9pfreebsd/mount_9fs/Makefile - 664 sys sys 960684604 412
+1123099324 27 m sys/src/cmd/unix/9pfreebsd/mount_9fs/crypt.c - 664 sys sys 960684604 18042
+1123099324 28 m sys/src/cmd/unix/9pfreebsd/mount_9fs/mount_9fs.8 - 664 sys sys 960684604 10864
+1123099324 29 m sys/src/cmd/unix/9pfreebsd/mount_9fs/mount_9fs.c - 664 sys sys 960684605 25118
+1123099324 30 m sys/src/cmd/unix/drawterm/canlock.c - 664 sys sys 954098604 92
+1123099324 31 m sys/src/cmd/unix/netkey.c - 664 sys sys 1045152984 21761
+1123099324 32 m sys/src/cmd/gs/libpng/CHANGES - 664 sys sys 1015035306 11536
+1123099324 33 m sys/src/cmd/gs/libpng/README - 664 sys sys 1015035306 8703
+1123099324 34 m sys/src/cmd/gs/libpng/TODO - 664 sys sys 1015035306 728
+1123099324 35 m sys/src/cmd/gs/libpng/ansi2knr.c - 664 sys sys 1015035306 16486
+1123099324 36 m sys/src/cmd/gs/libpng/build.bat - 664 sys sys 1015035306 122
+1123099324 37 m sys/src/cmd/gs/libpng/descrip.mms - 664 sys sys 1015035306 1162
+1123099324 38 m sys/src/cmd/gs/libpng/example.c - 664 sys sys 1015035306 24767
+1123099324 39 m sys/src/cmd/gs/libpng/libpng.txt - 664 sys sys 1015035306 77335
+1123099324 40 m sys/src/cmd/gs/libpng/makefile - 664 sys sys 1015035306 1624
+1123099324 41 m sys/src/cmd/gs/libpng/makefile.aco - 664 sys sys 1015035306 5956
+1123099324 42 m sys/src/cmd/gs/libpng/makefile.ama - 664 sys sys 1015035306 991
+1123099324 43 m sys/src/cmd/gs/libpng/makefile.atr - 664 sys sys 1015035306 920
+1123099324 44 m sys/src/cmd/gs/libpng/makefile.bor - 664 sys sys 1015035306 2854
+1123099324 45 m sys/src/cmd/gs/libpng/makefile.dec - 664 sys sys 1015035306 1640
+1123099324 46 m sys/src/cmd/gs/libpng/makefile.dj2 - 664 sys sys 1015035307 1216
+1123099324 47 m sys/src/cmd/gs/libpng/makefile.knr - 664 sys sys 1015035307 1726
+1123099324 48 m sys/src/cmd/gs/libpng/makefile.lnx - 664 sys sys 1015035307 2838
+1123099324 49 m sys/src/cmd/gs/libpng/makefile.min - 664 sys sys 1015035307 1989
+1123099324 50 m sys/src/cmd/gs/libpng/makefile.mip - 664 sys sys 1015035307 1487
+1123099324 51 m sys/src/cmd/gs/libpng/makefile.msc - 664 sys sys 1015035307 2170
+1123099324 52 m sys/src/cmd/gs/libpng/makefile.sgi - 664 sys sys 1015035307 1624
+1123099324 53 m sys/src/cmd/gs/libpng/makefile.std - 664 sys sys 1015035307 1613
+1123099324 54 m sys/src/cmd/gs/libpng/makefile.sun - 664 sys sys 1015035307 1798
+1123099324 55 m sys/src/cmd/gs/libpng/makefile.tc3 - 664 sys sys 1015035307 1837
+1123099324 56 m sys/src/cmd/gs/libpng/makevms.com - 664 sys sys 1015035307 3785
+1123099324 57 m sys/src/cmd/gs/libpng/png.c - 664 sys sys 1015035307 9584
+1123099324 58 m sys/src/cmd/gs/libpng/png.h - 664 sys sys 1015035307 89717
+1123099324 59 m sys/src/cmd/gs/libpng/pngconf.h - 664 sys sys 1015035307 17717
+1123099324 60 m sys/src/cmd/gs/libpng/pngerror.c - 664 sys sys 1015035307 5386
+1123099324 61 m sys/src/cmd/gs/libpng/pngget.c - 664 sys sys 1015035307 13818
+1123099324 62 m sys/src/cmd/gs/libpng/pngmem.c - 664 sys sys 1015035307 9084
+1123099324 63 m sys/src/cmd/gs/libpng/pngpread.c - 664 sys sys 1015035307 32136
+1123099324 64 m sys/src/cmd/gs/libpng/pngread.c - 664 sys sys 1015035307 26027
+1123099324 65 m sys/src/cmd/gs/libpng/pngrio.c - 664 sys sys 1015035307 4689
+1123099324 66 m sys/src/cmd/gs/libpng/pngrtran.c - 664 sys sys 1015035308 112505
+1123099324 67 m sys/src/cmd/gs/libpng/pngrutil.c - 664 sys sys 1015035308 63301
+1123099324 68 m sys/src/cmd/gs/libpng/pngset.c - 664 sys sys 1015035308 11537
+1123099324 69 m sys/src/cmd/gs/libpng/pngtest.c - 664 sys sys 1015035308 26275
+1123099324 70 m sys/src/cmd/gs/libpng/pngtest.png - 664 sys sys 1015035308 8634
+1123099324 71 m sys/src/cmd/gs/libpng/pngtrans.c - 664 sys sys 1015035308 17998
+1123099324 72 m sys/src/cmd/gs/libpng/pngwio.c - 664 sys sys 1015035308 6671
+1123099324 73 m sys/src/cmd/gs/libpng/pngwrite.c - 664 sys sys 1015035308 31647
+1123099324 74 m sys/src/cmd/gs/libpng/pngwtran.c - 664 sys sys 1015035308 13899
+1123099324 75 m sys/src/cmd/gs/libpng/pngwutil.c - 664 sys sys 1015035308 59220
+1123099324 76 m sys/src/cmd/gs/zlib/ChangeLog - 664 sys sys 1015035349 10963
+1123099324 77 m sys/src/cmd/gs/zlib/Makefile - 664 sys sys 1015035349 3786
+1123099324 78 m sys/src/cmd/gs/zlib/Makefile.b32 - 664 sys sys 1015035349 2780
+1123099324 79 m sys/src/cmd/gs/zlib/Makefile.dj2 - 664 sys sys 1015035349 2506
+1123099324 80 m sys/src/cmd/gs/zlib/Makefile.in - 664 sys sys 1015035349 3786
+1123099324 81 m sys/src/cmd/gs/zlib/Makefile.riscos - 664 sys sys 1015035349 1487
+1123099324 82 m sys/src/cmd/gs/zlib/Makefile.sas - 664 sys sys 1015035349 1817
+1123099324 83 m sys/src/cmd/gs/zlib/Makefile.wat - 664 sys sys 1015035349 2727
+1123099324 84 m sys/src/cmd/gs/zlib/README - 664 sys sys 1015035349 4675
+1123099324 85 m sys/src/cmd/gs/zlib/algorithm.doc - 664 sys sys 1015035349 5504
+1123099324 86 m sys/src/cmd/gs/zlib/configure - 664 sys sys 1015035349 2838
+1123099324 87 m sys/src/cmd/gs/zlib/zlib.def - 664 sys sys 1015035349 559
+1123099324 88 m sys/src/cmd/gs/zlib/zlib.rc - 664 sys sys 1015035349 879
+1123099324 89 m sys/src/cmd/kbmap.c - 664 sys sys 1079545301 4044
+1123099324 90 m sys/src/cmd/scat/plot.c - 664 sys sys 1014926794 21167
+1123099324 91 m sys/src/games/mahjongg/graphics.c - 664 sys sys 1095792293 5794
+1123099324 92 m sys/src/games/mahjongg/level.c - 664 sys sys 1095792293 2522
+1123099324 93 m sys/src/games/mahjongg/mahjongg.c - 664 sys sys 1095792293 3452
+1123099324 94 m sys/src/games/mahjongg/mahjongg.h - 664 sys sys 1095792293 1606
+1123099324 95 m sys/src/games/mahjongg/mkfile - 664 sys sys 1095792293 230
+1123099324 96 m sys/src/games/memo.c - 664 sys sys 1110436470 6837
+1123099324 97 m sys/src/games/music/icon/next.bit - 664 sys sys 1103793916 143
+1123099324 98 m sys/src/games/music/icon/pause.bit - 664 sys sys 1103793916 143
+1123099324 99 m sys/src/games/music/icon/play.bit - 664 sys sys 1103793916 143
+1123099324 100 m sys/src/games/music/icon/prev.bit - 664 sys sys 1103793916 143
+1123099324 101 m sys/src/games/music/icon/question.bit - 664 sys sys 1103793916 143
+1123099324 102 m sys/src/games/music/icon/root.bit - 664 sys sys 1103793916 143
+1123099324 103 m sys/src/games/music/icon/skull.bit - 664 sys sys 1103793917 143
+1123099324 104 m sys/src/games/music/icon/stop.bit - 664 sys sys 1103793917 143
+1123099324 105 m sys/src/games/music/icon/trash.bit - 664 sys sys 1103793917 143
+1123099324 106 m sys/src/libc/386/387/sin.s - 664 sys sys 944961709 95
+1123099324 107 m sys/src/libc/68000/sqrt.s - 664 sys sys 944961722 42
+1123099324 108 m sys/src/libc/68020/68881/acos.s - 664 sys sys 944961710 42
+1123099324 109 m sys/src/libc/68020/68881/asin.s - 664 sys sys 944961710 42
+1123099324 110 m sys/src/libc/68020/68881/atan.s - 664 sys sys 944961710 42
+1123099324 111 m sys/src/libc/68020/68881/cos.s - 664 sys sys 944961710 40
+1123099324 112 m sys/src/libc/68020/68881/cosh.s - 664 sys sys 944961710 42
+1123099324 113 m sys/src/libc/68020/68881/exp.s - 664 sys sys 944961710 41
+1123099324 114 m sys/src/libc/68020/68881/fabs.s - 664 sys sys 944961710 41
+1123099324 115 m sys/src/libc/68020/68881/log.s - 664 sys sys 944961710 41
+1123099324 116 m sys/src/libc/68020/68881/log10.s - 664 sys sys 944961710 44
+1123099324 117 m sys/src/libc/68020/68881/pow10.s - 664 sys sys 944961710 45
+1123099324 118 m sys/src/libc/68020/68881/sin.s - 664 sys sys 944961710 40
+1123099324 119 m sys/src/libc/68020/68881/sinh.s - 664 sys sys 944961710 42
+1123099324 120 m sys/src/libc/68020/68881/sqrt.s - 664 sys sys 944961711 42
+1123099324 121 m sys/src/libc/68020/68881/tan.s - 664 sys sys 944961711 40
+1123099324 122 m sys/src/libc/68020/68881/tanh.s - 664 sys sys 944961711 42
+1123099324 123 m sys/src/libc/68020/sqrt.s - 664 sys sys 944961711 42
+1123099324 124 m sys/src/libcontrol/tabs.c - 664 sys sys 1017166331 5521
+1123099324 125 m sys/src/libmach/0c/README - 664 sys sys 1114459609 73
+1123099324 126 m sys/src/libmach/0c/ureg.h - 664 sys sys 1114459438 886
+1123099324 127 m sys/src/libmach/6.c - 664 sys sys 1119476887 3366
+1123099324 128 m sys/src/libmach/6c - 20000000664 sys sys 1114459480 0
+1123099324 129 m sys/src/libmach/6obj.c - 664 sys sys 1114459831 2382
+1123099324 130 m sys/src/libmach/u.c - 664 sys sys 1114459829 3396
+1123099324 131 m sys/src/libmach/uc/README - 664 sys sys 1114459488 73
+1123099324 132 m sys/src/libmach/uc/u.out.h - 664 sys sys 1114459488 3137
+1123099324 133 m sys/src/libmach/udb.c - 664 sys sys 1114459830 21893
+1123099324 134 m sys/src/libmach/uobj.c - 664 sys sys 1114459831 2219
+1123099324 135 m sys/src/libplumb/mesg.c - 664 sys sys 1014928082 6718
+1123099324 136 m sys/src/libsec/port/sha1block.c - 664 sys sys 1015013580 4673
+1123101124 0 m alpha/conf/10.0.0.2 - 664 sys sys 954267393 128
+1123101124 1 m amd64/include/ureg.h - 664 sys sys 1114458660 454
+1123101124 2 m amd64/mkfile - 664 sys sys 1114458599 46
+1123101124 3 m sparc64/include/u.h - 664 sys sys 1115924096 1454
+1123101124 4 m sparc64/include/ureg.h - 664 sys sys 1114458675 719
+1123101124 5 m sparc64/mkfile - 664 sys sys 1114458667 46
+1123101124 6 m acme/bin/ind - 775 sys sys 1015011256 27
+1123101124 7 m acme/bin/new - 775 sys sys 1015011256 203
+1123101124 8 m acme/bin/quote - 775 sys sys 1015011258 28
+1123101124 9 m acme/bin/unind - 775 sys sys 1015011256 27
+1123101124 10 m lib/constitution - 664 sys sys 1020369312 45285
+1123101124 11 m lib/face/.machinelist - 664 sys sys 944945676 97
+1123101124 12 m lib/face/48x48x1 - 20000000775 sys sys 1123100640 0
+1123101124 13 m lib/face/48x48x1/a - 20000000775 sys sys 1123100687 0
+1123101124 14 m lib/face/48x48x1/a/acsnet.1 - 664 sys sys 1020313578 1056
+1123101124 15 m lib/face/48x48x1/a/adb.1 - 664 sys sys 1020313578 1200
+1123101124 16 m lib/face/48x48x1/a/adm.1 - 664 sys sys 1020313578 1152
+1123101124 17 m lib/face/48x48x1/a/andrew.1 - 664 sys sys 1020313578 1152
+1123101124 18 m lib/face/48x48x1/a/ap.1 - 664 sys sys 1020313578 1056
+1123101124 19 m lib/face/48x48x1/b/bart.1 - 664 sys sys 1020313578 1056
+1123101124 20 m lib/face/48x48x1/b/bin.2 - 664 sys sys 1020313578 1152
+1123101124 21 m lib/face/48x48x1/b/bobf.1 - 664 sys sys 1020313578 1056
+1123101124 22 m lib/face/48x48x1/b/bs.1 - 664 sys sys 1020313578 1056
+1123101124 23 m lib/face/48x48x1/b/bwk.1 - 664 sys sys 1020313578 1056
+1123101124 24 m lib/face/48x48x1/c - 20000000775 sys sys 1123100688 0
+1123101124 25 m lib/face/48x48x1/c/cad.1 - 664 sys sys 1020313578 1152
+1123101124 26 m lib/face/48x48x1/c/ches.1 - 664 sys sys 1020313578 1152
+1123101124 27 m lib/face/48x48x1/c/circuitboard.1 - 664 sys sys 1020313578 1152
+1123101124 28 m lib/face/48x48x1/c/cow.1 - 664 sys sys 1020313578 1056
+1123101124 29 m lib/face/48x48x1/d - 20000000775 sys sys 1123100688 0
+1123101124 30 m lib/face/48x48x1/d/daemon.1 - 664 sys sys 1020313578 1152
+1123101124 31 m lib/face/48x48x1/d/dectalk.1 - 664 sys sys 1020313578 1056
+1123101124 32 m lib/face/48x48x1/d/dmg.1 - 664 sys sys 1020313579 1056
+1123101124 33 m lib/face/48x48x1/d/dmr.1 - 664 sys sys 1020313579 1056
+1123101124 34 m lib/face/48x48x1/d/doug.2 - 664 sys sys 1020313579 1056
+1123101124 35 m lib/face/48x48x1/e - 20000000775 sys sys 1123100688 0
+1123101124 36 m lib/face/48x48x1/e/ehg.1 - 664 sys sys 1020313579 1056
+1123101124 37 m lib/face/48x48x1/e/esperanto-request.1 - 664 sys sys 1020313579 1152
+1123101124 38 m lib/face/48x48x1/f - 20000000775 sys sys 1123100688 0
+1123101124 39 m lib/face/48x48x1/f/faces-request.1 - 664 sys sys 1020313579 1152
+1123101124 40 m lib/face/48x48x1/g - 20000000775 sys sys 1123100688 0
+1123101124 41 m lib/face/48x48x1/g/games-request.1 - 664 sys sys 1020313579 1152
+1123101124 42 m lib/face/48x48x1/g/games.1 - 664 sys sys 1020313579 1152
+1123101124 43 m lib/face/48x48x1/g/gerard.1 - 664 sys sys 1020313579 1152
+1123101124 44 m lib/face/48x48x1/h - 20000000775 sys sys 1123100688 0
+1123101124 45 m lib/face/48x48x1/h/hobby.1 - 664 sys sys 1020313579 1200
+1123101124 46 m lib/face/48x48x1/h/howard.1 - 664 sys sys 1020313579 1056
+1123101124 47 m lib/face/48x48x1/i - 20000000775 sys sys 1123100688 0
+1123101124 48 m lib/face/48x48x1/i/info-andrew-request.1 - 664 sys sys 1020313579 1152
+1123101124 49 m lib/face/48x48x1/i/info-futures-request.1 - 664 sys sys 1020313579 1152
+1123101124 50 m lib/face/48x48x1/j - 20000000775 sys sys 1123100688 0
+1123101124 51 m lib/face/48x48x1/j/jmck.1 - 664 sys sys 1020313579 1152
+1123101124 52 m lib/face/48x48x1/j/judy.1 - 664 sys sys 1020313579 1056
+1123101124 53 m lib/face/48x48x1/k - 20000000775 sys sys 1123100688 0
+1123101124 54 m lib/face/48x48x1/k/kahrs.1 - 664 sys sys 1020313579 1152
+1123101124 55 m lib/face/48x48x1/k/ken.1 - 664 sys sys 1020313579 1056
+1123101124 56 m lib/face/48x48x1/l - 20000000775 sys sys 1123100688 0
+1123101124 57 m lib/face/48x48x1/l/llc.1 - 664 sys sys 1020313579 1152
+1123101124 58 m lib/face/48x48x1/l/love-hounds-request.1 - 664 sys sys 1020313579 1152
+1123101124 59 m lib/face/48x48x1/l/lp.1 - 664 sys sys 1020313579 1152
+1123101124 60 m lib/face/48x48x1/m - 20000000775 sys sys 1123100688 0
+1123101124 61 m lib/face/48x48x1/m/mailer-daemon.1 - 664 sys sys 1020313580 1152
+1123101124 62 m lib/face/48x48x1/m/mailq.1 - 664 sys sys 1020313580 1152
+1123101124 63 m lib/face/48x48x1/m/ml-connectionists-request.1 - 664 sys sys 1020313580 1152
+1123101124 64 m lib/face/48x48x1/m/mt.1 - 664 sys sys 1020369320 1152
+1123101124 65 m lib/face/48x48x1/n - 20000000775 sys sys 1123100688 0
+1123101124 66 m lib/face/48x48x1/n/news.1 - 664 sys sys 944941667 1152
+1123101124 67 m lib/face/48x48x1/n/noface.1 - 664 sys sys 944941667 1152
+1123101124 68 m lib/face/48x48x1/o - 20000000775 sys sys 1020895703 0
+1123101124 69 m lib/face/48x48x1/p - 20000000775 sys sys 1123100688 0
+1123101124 70 m lib/face/48x48x1/p/perl-users-request.1 - 664 sys sys 944941668 1152
+1123101124 71 m lib/face/48x48x1/p/pg.1 - 664 sys sys 944941668 1152
+1123101124 72 m lib/face/48x48x1/p/philw.1 - 664 sys sys 944941668 1200
+1123101124 73 m lib/face/48x48x1/p/pjw.1 - 664 sys sys 944941668 1056
+1123101124 74 m lib/face/48x48x1/p/postmaster.1 - 664 sys sys 944941668 1152
+1123101124 75 m lib/face/48x48x1/p/postmaster.2 - 664 sys sys 944941668 1056
+1123101124 76 m lib/face/48x48x1/p/presotto.1 - 664 sys sys 944941668 1056
+1123101124 77 m lib/face/48x48x1/p/printer.1 - 664 sys sys 944941668 1152
+1123101124 78 m lib/face/48x48x1/q - 20000000775 sys sys 1123100688 0
+1123101124 79 m lib/face/48x48x1/q/question.1 - 664 sys sys 944941668 1152
+1123101124 80 m lib/face/48x48x1/r - 20000000775 sys sys 1123100688 0
+1123101124 81 m lib/face/48x48x1/r/rob.2 - 664 sys sys 944941668 1056
+1123101124 82 m lib/face/48x48x1/r/root.1 - 664 sys sys 944941668 1056
+1123101124 83 m lib/face/48x48x1/r/root.2 - 664 sys sys 944941668 1152
+1123101124 84 m lib/face/48x48x1/r/rotary.1 - 664 sys sys 944941668 1152
+1123101124 85 m lib/face/48x48x1/s - 20000000775 sys sys 1123100688 0
+1123101124 86 m lib/face/48x48x1/s/sean.1 - 664 sys sys 944941668 1152
+1123101124 87 m lib/face/48x48x1/s/seanq.1 - 664 sys sys 944941668 1056
+1123101124 88 m lib/face/48x48x1/s/security-request.1 - 664 sys sys 944941668 1152
+1123101124 89 m lib/face/48x48x1/s/sys.1 - 664 sys sys 944941669 1152
+1123101124 90 m lib/face/48x48x1/t - 20000000775 sys sys 1123100688 0
+1123101124 91 m lib/face/48x48x1/t/td.1 - 664 sys sys 944941669 1056
+1123101124 92 m lib/face/48x48x1/t/tom.1 - 664 sys sys 944941669 1056
+1123101124 93 m lib/face/48x48x1/t/transistor.1 - 664 sys sys 944941669 1152
+1123101124 94 m lib/face/48x48x1/t/traveller-request.1 - 664 sys sys 944941669 1152
+1123101124 95 m lib/face/48x48x1/u/u.aibn54.mpifr-bonn.mpg.de - 664 sys sys 944941670 1152
+1123101124 96 m lib/face/48x48x1/u/u.babsy.mpifr-bonn.mpg.de - 664 sys sys 944941670 1152
+1123101124 97 m lib/face/48x48x1/u/unicode-request.1 - 664 sys sys 944941669 1152
+1123101124 98 m lib/face/48x48x1/u/unknown.aaai.org - 664 sys sys 944941669 1152
+1123101124 99 m lib/face/48x48x1/u/unknown.apex.com - 664 sys sys 944941670 1152
+1123101124 100 m lib/face/48x48x1/u/unknown.at - 664 sys sys 944941671 1152
+1123101124 101 m lib/face/48x48x1/u/unknown.athena.mit.edu - 664 sys sys 944941671 1152
+1123101124 102 m lib/face/48x48x1/u/unknown.bbn.com - 664 sys sys 944941671 1152
+1123101124 103 m lib/face/48x48x1/u/unknown.berkeley.edu - 664 sys sys 944941671 1056
+1123101124 104 m lib/face/48x48x1/u/unknown.br - 664 sys sys 944941671 1152
+1123101124 105 m lib/face/48x48x1/u/unknown.brown.edu - 664 sys sys 944941669 1152
+1123101124 106 m lib/face/48x48x1/u/unknown.byu.edu - 664 sys sys 944941671 1152
+1123101124 107 m lib/face/48x48x1/u/unknown.ch - 664 sys sys 944941672 1152
+1123101124 108 m lib/face/48x48x1/u/unknown.clarinet.com - 664 sys sys 944941670 1152
+1123101124 109 m lib/face/48x48x1/u/unknown.com - 664 sys sys 944941672 1152
+1123101124 110 m lib/face/48x48x1/u/unknown.cs.indiana.edu - 664 sys sys 944941671 1152
+1123101124 111 m lib/face/48x48x1/u/unknown.de - 664 sys sys 944941670 1152
+1123101124 112 m lib/face/48x48x1/u/unknown.dec.com - 664 sys sys 944941671 1152
+1123101124 113 m lib/face/48x48x1/u/unknown.dg.com - 664 sys sys 944941670 1152
+1123101124 114 m lib/face/48x48x1/u/unknown.dmr.com - 664 sys sys 944941669 1152
+1123101124 115 m lib/face/48x48x1/u/unknown.duke.edu - 664 sys sys 944941672 1152
+1123101124 116 m lib/face/48x48x1/u/unknown.edu - 664 sys sys 944941672 1152
+1123101124 117 m lib/face/48x48x1/u/unknown.encore.com - 664 sys sys 944941670 1152
+1123101124 118 m lib/face/48x48x1/u/unknown.es - 664 sys sys 944941670 1152
+1123101124 119 m lib/face/48x48x1/u/unknown.europarc.xerox.com - 664 sys sys 944941671 1152
+1123101124 120 m lib/face/48x48x1/u/unknown.fr - 664 sys sys 944941669 1152
+1123101124 121 m lib/face/48x48x1/u/unknown.fujitsu.co.jp - 664 sys sys 944941672 1152
+1123101124 122 m lib/face/48x48x1/u/unknown.gr - 664 sys sys 944941672 1152
+1123101124 123 m lib/face/48x48x1/u/unknown.harvard.edu - 664 sys sys 944941669 1152
+1123101124 124 m lib/face/48x48x1/u/unknown.hcr.com - 664 sys sys 944941671 1152
+1123101124 125 m lib/face/48x48x1/u/unknown.hu - 664 sys sys 944941671 1152
+1123101124 126 m lib/face/48x48x1/u/unknown.ibm.com - 664 sys sys 944941669 1152
+1123101124 127 m lib/face/48x48x1/u/unknown.in - 664 sys sys 944941670 1152
+1123101124 128 m lib/face/48x48x1/u/unknown.indiana.edu - 664 sys sys 944941670 1152
+1123101124 129 m lib/face/48x48x1/u/unknown.intel.com - 664 sys sys 944941669 1152
+1123101124 130 m lib/face/48x48x1/u/unknown.iris.brown.edu - 664 sys sys 944941670 1152
+1123101124 131 m lib/face/48x48x1/u/unknown.labtam.oz.au - 664 sys sys 944941670 1152
+1123101124 132 m lib/face/48x48x1/u/unknown.lucasfilm - 664 sys sys 944941670 1056
+1123101124 133 m lib/face/48x48x1/u/unknown.mitsubishi.co.jp - 664 sys sys 944941672 1152
+1123101124 134 m lib/face/48x48x1/u/unknown.mtxinu.com - 664 sys sys 944941669 1152
+1123101124 135 m lib/face/48x48x1/u/unknown.mx - 664 sys sys 944941671 1152
+1123101124 136 m lib/face/48x48x1/u/unknown.my - 664 sys sys 944941671 1152
+1123101124 137 m lib/face/48x48x1/u/unknown.ncr.com - 664 sys sys 944941670 1152
+1123101124 138 m lib/face/48x48x1/u/unknown.nd.edu - 664 sys sys 944941670 1152
+1123101124 139 m lib/face/48x48x1/u/unknown.nec.com - 664 sys sys 944941670 1152
+1123101124 140 m lib/face/48x48x1/u/unknown.next.com - 664 sys sys 944941669 1152
+1123101124 141 m lib/face/48x48x1/u/unknown.nl - 664 sys sys 944941671 1152
+1123101124 142 m lib/face/48x48x1/u/unknown.nz - 664 sys sys 944941671 1152
+1123101124 143 m lib/face/48x48x1/u/unknown.polaroid.com - 664 sys sys 944941670 1152
+1123101124 144 m lib/face/48x48x1/u/unknown.pt - 664 sys sys 944941672 1152
+1123101124 145 m lib/face/48x48x1/u/unknown.rabbit.com - 664 sys sys 944941669 1056
+1123101124 146 m lib/face/48x48x1/u/unknown.rain.com - 664 sys sys 944941670 1152
+1123101124 147 m lib/face/48x48x1/u/unknown.ri.cmu.edu - 664 sys sys 944941671 1152
+1123101124 148 m lib/face/48x48x1/u/unknown.rice.edu - 664 sys sys 944941670 1152
+1123101124 149 m lib/face/48x48x1/u/unknown.saber.com - 664 sys sys 944941670 1152
+1123101124 150 m lib/face/48x48x1/u/unknown.sg - 664 sys sys 944941671 1152
+1123101124 151 m lib/face/48x48x1/u/unknown.sgi.com - 664 sys sys 944941671 1152
+1123101124 152 m lib/face/48x48x1/u/unknown.sony.com - 664 sys sys 944941672 1152
+1123101124 153 m lib/face/48x48x1/u/unknown.sq.com - 664 sys sys 944941671 1152
+1123101124 154 m lib/face/48x48x1/u/unknown.stanford.edu - 664 sys sys 944941669 1152
+1123101124 155 m lib/face/48x48x1/u/unknown.sug.std.com - 664 sys sys 944941670 1152
+1123101124 156 m lib/face/48x48x1/u/unknown.th - 664 sys sys 944941669 1152
+1123101124 157 m lib/face/48x48x1/u/unknown.think.com - 664 sys sys 944941670 1152
+1123101124 158 m lib/face/48x48x1/u/unknown.tx.us - 664 sys sys 944941670 1152
+1123101124 159 m lib/face/48x48x1/u/unknown.ukc.uucp - 664 sys sys 944941669 1152
+1123101124 160 m lib/face/48x48x1/u/unknown.unisys.com - 664 sys sys 944941670 1152
+1123101124 161 m lib/face/48x48x1/u/unknown.us - 664 sys sys 944941670 1152
+1123101124 162 m lib/face/48x48x1/u/unknown.wang.com - 664 sys sys 944941672 1152
+1123101124 163 m lib/face/48x48x1/u/unknown.waterloo.edu - 664 sys sys 944941669 1152
+1123101124 164 m lib/face/48x48x1/u/unknown.wesleyan.edu - 664 sys sys 944941669 1152
+1123101124 165 m lib/face/48x48x1/u/unknown.wisc.edu - 664 sys sys 944941670 1056
+1123101124 166 m lib/face/48x48x1/u/unknown.wyse.com - 664 sys sys 944941669 1152
+1123101124 167 m lib/face/48x48x1/u/unknown.xerox.com - 664 sys sys 944941670 1152
+1123101124 168 m lib/face/48x48x1/u/unknown.xyplex.com - 664 sys sys 944941669 1152
+1123101124 169 m lib/face/48x48x1/u/unknown.yu - 664 sys sys 944941672 1152
+1123101124 170 m lib/face/48x48x1/u/unknown.za - 664 sys sys 944941670 1152
+1123101124 171 m lib/face/48x48x1/u/unknown.acsnet - 664 sys sys 944941675 1056
+1123101124 172 m lib/face/48x48x1/u/unknown.adobe.com - 664 sys sys 944941674 1152
+1123101124 173 m lib/face/48x48x1/u/unknown.ai.mit.edu - 664 sys sys 944941674 1152
+1123101124 174 m lib/face/48x48x1/u/unknown.apple.com - 664 sys sys 944941673 1152
+1123101124 175 m lib/face/48x48x1/u/unknown.au - 664 sys sys 944941675 1152
+1123101124 176 m lib/face/48x48x1/u/unknown.auspex.com - 664 sys sys 944941673 1152
+1123101124 177 m lib/face/48x48x1/u/unknown.ca - 664 sys sys 944941675 1152
+1123101124 178 m lib/face/48x48x1/u/unknown.cadence.com - 664 sys sys 944941674 1152
+1123101124 179 m lib/face/48x48x1/u/unknown.caltech.edu - 664 sys sys 944941672 1152
+1123101124 180 m lib/face/48x48x1/u/unknown.cci.com - 664 sys sys 944941672 1152
+1123101124 181 m lib/face/48x48x1/u/unknown.chorus.com - 664 sys sys 944941673 1152
+1123101124 182 m lib/face/48x48x1/u/unknown.cmu.edu - 664 sys sys 944941674 1152
+1123101124 183 m lib/face/48x48x1/u/unknown.cogsci.indiana.edu - 664 sys sys 944941673 1152
+1123101124 184 m lib/face/48x48x1/u/unknown.columbia.edu - 664 sys sys 944941675 1152
+1123101124 185 m lib/face/48x48x1/u/unknown.commodore.com - 664 sys sys 944941675 1152
+1123101124 186 m lib/face/48x48x1/u/unknown.convex.com - 664 sys sys 944941674 1152
+1123101124 187 m lib/face/48x48x1/u/unknown.cray.com - 664 sys sys 944941674 1152
+1123101124 188 m lib/face/48x48x1/u/unknown.cs - 664 sys sys 944941676 1152
+1123101124 189 m lib/face/48x48x1/u/unknown.cs.uiuc.edu - 664 sys sys 944941672 1056
+1123101124 190 m lib/face/48x48x1/u/unknown.dupont.com - 664 sys sys 944941674 1152
+1123101124 191 m lib/face/48x48x1/u/unknown.ecn.purdue.edu - 664 sys sys 944941675 1152
+1123101124 192 m lib/face/48x48x1/u/unknown.eff.org - 664 sys sys 944941674 1152
+1123101124 193 m lib/face/48x48x1/u/unknown.emulex.com - 664 sys sys 944941675 1152
+1123101124 194 m lib/face/48x48x1/u/unknown.epfl.ch - 664 sys sys 944941676 1152
+1123101124 195 m lib/face/48x48x1/u/unknown.eth - 664 sys sys 944941672 1056
+1123101124 196 m lib/face/48x48x1/u/unknown.fi - 664 sys sys 944941674 1152
+1123101124 197 m lib/face/48x48x1/u/unknown.frame.com - 664 sys sys 944941674 1152
+1123101124 198 m lib/face/48x48x1/u/unknown.gmd.de - 664 sys sys 944941675 1152
+1123101124 199 m lib/face/48x48x1/u/unknown.gte.com - 664 sys sys 944941672 1152
+1123101124 200 m lib/face/48x48x1/u/unknown.icl.com - 664 sys sys 944941672 1152
+1123101124 201 m lib/face/48x48x1/u/unknown.ie - 664 sys sys 944941676 1152
+1123101124 202 m lib/face/48x48x1/u/unknown.ieee.org - 664 sys sys 944941672 1152
+1123101124 203 m lib/face/48x48x1/u/unknown.inel.gov - 664 sys sys 944941676 1152
+1123101124 204 m lib/face/48x48x1/u/unknown.informix.com - 664 sys sys 944941672 1152
+1123101124 205 m lib/face/48x48x1/u/unknown.it - 664 sys sys 944941672 1152
+1123101124 206 m lib/face/48x48x1/u/unknown.jp - 664 sys sys 945050398 1200
+1123101124 207 m lib/face/48x48x1/u/unknown.jpl.nasa.gov - 664 sys sys 944941675 1152
+1123101124 208 m lib/face/48x48x1/u/unknown.kr - 664 sys sys 944941673 1152
+1123101124 209 m lib/face/48x48x1/u/unknown.lilly.com - 664 sys sys 944941674 1152
+1123101124 210 m lib/face/48x48x1/u/unknown.locus.com - 664 sys sys 944941673 1152
+1123101124 211 m lib/face/48x48x1/u/unknown.lsil.com - 664 sys sys 944941676 1152
+1123101124 212 m lib/face/48x48x1/u/unknown.matrix.com - 664 sys sys 944941674 1152
+1123101124 213 m lib/face/48x48x1/u/unknown.mcgill.edu - 664 sys sys 944941674 1152
+1123101124 214 m lib/face/48x48x1/u/unknown.mcvax - 664 sys sys 944941676 1056
+1123101124 215 m lib/face/48x48x1/u/unknown.mickey.disney.com - 664 sys sys 944941674 1152
+1123101124 216 m lib/face/48x48x1/u/unknown.microsoft.com - 664 sys sys 944941674 1152
+1123101124 217 m lib/face/48x48x1/u/unknown.misc - 664 sys sys 944941674 1152
+1123101124 218 m lib/face/48x48x1/u/unknown.mitre.org - 664 sys sys 944941673 1152
+1123101124 219 m lib/face/48x48x1/u/unknown.nasa.gov - 664 sys sys 944941675 1152
+1123101124 220 m lib/face/48x48x1/u/unknown.ncd.com - 664 sys sys 944941672 1152
+1123101124 221 m lib/face/48x48x1/u/unknown.net - 664 sys sys 944941673 1152
+1123101124 222 m lib/face/48x48x1/u/unknown.newcastle.ac.uk - 664 sys sys 944941674 1152
+1123101124 223 m lib/face/48x48x1/u/unknown.no - 664 sys sys 944941674 1152
+1123101124 224 m lib/face/48x48x1/u/unknown.ocf.berkeley.edu - 664 sys sys 944941674 1152
+1123101124 225 m lib/face/48x48x1/u/unknown.pencom.uucp - 664 sys sys 944941675 1152
+1123101124 226 m lib/face/48x48x1/u/unknown.pitt.edu - 664 sys sys 944941674 1152
+1123101124 227 m lib/face/48x48x1/u/unknown.qiclab.uucp - 664 sys sys 944941674 1152
+1123101124 228 m lib/face/48x48x1/u/unknown.qmw.ac.uk - 664 sys sys 944941675 1152
+1123101124 229 m lib/face/48x48x1/u/unknown.samsung.com - 664 sys sys 944941674 1152
+1123101124 230 m lib/face/48x48x1/u/unknown.sco.com - 664 sys sys 944941676 1152
+1123101124 231 m lib/face/48x48x1/u/unknown.se - 664 sys sys 944941673 1152
+1123101124 232 m lib/face/48x48x1/u/unknown.solbourne.com - 664 sys sys 944941676 1152
+1123101124 233 m lib/face/48x48x1/u/unknown.sybase.com - 664 sys sys 944941675 1152
+1123101124 234 m lib/face/48x48x1/u/unknown.tandem.com - 664 sys sys 944941673 1152
+1123101124 235 m lib/face/48x48x1/u/unknown.tartan.com - 664 sys sys 944941672 1152
+1123101124 236 m lib/face/48x48x1/u/unknown.ti.com - 664 sys sys 944941676 1152
+1123101124 237 m lib/face/48x48x1/u/unknown.toronto.edu - 664 sys sys 944941673 1152
+1123101124 238 m lib/face/48x48x1/u/unknown.ucla.edu - 664 sys sys 944941673 1152
+1123101124 239 m lib/face/48x48x1/u/unknown.uk - 664 sys sys 944941675 1056
+1123101124 240 m lib/face/48x48x1/u/unknown.umd.edu - 664 sys sys 944941675 1152
+1123101124 241 m lib/face/48x48x1/u/unknown.uni-dortmund.de - 664 sys sys 944941676 1152
+1123101124 242 m lib/face/48x48x1/u/unknown.uniforum.org - 664 sys sys 944941673 1152
+1123101124 243 m lib/face/48x48x1/u/unknown.usenix.org - 664 sys sys 944941676 1152
+1123101124 244 m lib/face/48x48x1/u/unknown.utholland - 664 sys sys 944941676 1056
+1123101124 245 m lib/face/48x48x1/u/unknown.uu.net - 664 sys sys 944941675 1152
+1123101124 246 m lib/face/48x48x1/u/unknown.visix.com - 664 sys sys 944941674 1152
+1123101124 247 m lib/face/48x48x1/u/unknown.xylogics.com - 664 sys sys 944941673 1152
+1123101124 248 m lib/face/48x48x1/u/unknown.aero.org - 664 sys sys 944941677 1152
+1123101124 249 m lib/face/48x48x1/u/unknown.alliant.com - 664 sys sys 944941678 1152
+1123101124 250 m lib/face/48x48x1/u/unknown.anl.gov - 664 sys sys 944941677 1152
+1123101124 251 m lib/face/48x48x1/u/unknown.apollo.com - 664 sys sys 944941678 1152
+1123101124 252 m lib/face/48x48x1/u/unknown.ar - 664 sys sys 944941678 1152
+1123101124 253 m lib/face/48x48x1/u/unknown.austek.oz.au - 664 sys sys 944941680 1152
+1123101124 254 m lib/face/48x48x1/u/unknown.be - 664 sys sys 944941677 1152
+1123101124 255 m lib/face/48x48x1/u/unknown.bellcore.com - 664 sys sys 944941679 1056
+1123101124 256 m lib/face/48x48x1/u/unknown.bloomington.in.us - 664 sys sys 944941680 1152
+1123101124 257 m lib/face/48x48x1/u/unknown.cdc.com - 664 sys sys 944941679 1152
+1123101124 258 m lib/face/48x48x1/u/unknown.cec.cmu.edu - 664 sys sys 944941676 1152
+1123101124 259 m lib/face/48x48x1/u/unknown.cl - 664 sys sys 944941677 1152
+1123101124 260 m lib/face/48x48x1/u/unknown.cr - 664 sys sys 944941679 1152
+1123101124 261 m lib/face/48x48x1/u/unknown.cs.cmu.edu - 664 sys sys 944941677 1152
+1123101124 262 m lib/face/48x48x1/u/unknown.csiro.au - 664 sys sys 944941678 1152
+1123101124 263 m lib/face/48x48x1/u/unknown.dartmouth.edu - 664 sys sys 944941677 1152
+1123101124 264 m lib/face/48x48x1/u/unknown.dell.com - 664 sys sys 944941677 1152
+1123101124 265 m lib/face/48x48x1/u/unknown.dk - 664 sys sys 944941677 1152
+1123101124 266 m lib/face/48x48x1/u/unknown.eos.com - 664 sys sys 944941680 1152
+1123101124 267 m lib/face/48x48x1/u/unknown.epoch.com - 664 sys sys 944941679 1152
+1123101124 268 m lib/face/48x48x1/u/unknown.ericsson.com - 664 sys sys 944941679 1152
+1123101124 269 m lib/face/48x48x1/u/unknown.eu.net - 664 sys sys 944941679 1152
+1123101124 270 m lib/face/48x48x1/u/unknown.ford.com - 664 sys sys 944941677 1152
+1123101124 271 m lib/face/48x48x1/u/unknown.ge.com - 664 sys sys 944941678 1152
+1123101124 272 m lib/face/48x48x1/u/unknown.gnu.ai.mit.edu - 664 sys sys 944941680 1152
+1123101124 273 m lib/face/48x48x1/u/unknown.gov - 664 sys sys 944941677 1152
+1123101124 274 m lib/face/48x48x1/u/unknown.hp.com - 664 sys sys 944941677 1152
+1123101124 275 m lib/face/48x48x1/u/unknown.il - 664 sys sys 944941677 1152
+1123101124 276 m lib/face/48x48x1/u/unknown.il.us - 664 sys sys 944941678 1152
+1123101124 277 m lib/face/48x48x1/u/unknown.inria.fr - 664 sys sys 944941677 1152
+1123101124 278 m lib/face/48x48x1/u/unknown.irisa.fr - 664 sys sys 944941679 1152
+1123101124 279 m lib/face/48x48x1/u/unknown.is - 664 sys sys 944941679 1152
+1123101124 280 m lib/face/48x48x1/u/unknown.japan - 664 sys sys 944941677 1056
+1123101124 281 m lib/face/48x48x1/u/unknown.kodak.com - 664 sys sys 944941678 1152
+1123101124 282 m lib/face/48x48x1/u/unknown.kuleuven.ac.be - 664 sys sys 944941678 1152
+1123101124 283 m lib/face/48x48x1/u/unknown.lbl.gov - 664 sys sys 944941679 1152
+1123101124 284 m lib/face/48x48x1/u/unknown.llnl.gov - 664 sys sys 944941678 1152
+1123101124 285 m lib/face/48x48x1/u/unknown.meteo.fr - 664 sys sys 944941678 1152
+1123101124 286 m lib/face/48x48x1/u/unknown.mil - 664 sys sys 944941679 1152
+1123101124 287 m lib/face/48x48x1/u/unknown.mips.com - 664 sys sys 944941677 1152
+1123101124 288 m lib/face/48x48x1/u/unknown.mit.edu - 664 sys sys 944941679 1152
+1123101124 289 m lib/face/48x48x1/u/unknown.mpifr-bonn.mpg.de - 664 sys sys 944941677 1152
+1123101124 290 m lib/face/48x48x1/u/unknown.odu.edu - 664 sys sys 944941679 1152
+1123101124 291 m lib/face/48x48x1/u/unknown.oracle.com - 664 sys sys 944941679 1152
+1123101124 292 m lib/face/48x48x1/u/unknown.osf.org - 664 sys sys 944941680 1152
+1123101124 293 m lib/face/48x48x1/u/unknown.plus5.com - 664 sys sys 944941678 1152
+1123101124 294 m lib/face/48x48x1/u/unknown.prism.gatech.edu - 664 sys sys 944941680 1152
+1123101124 295 m lib/face/48x48x1/u/unknown.purdue.edu - 664 sys sys 944941678 1152
+1123101124 296 m lib/face/48x48x1/u/unknown.pyramid.com - 664 sys sys 944941677 1152
+1123101124 297 m lib/face/48x48x1/u/unknown.qms.com - 664 sys sys 944941679 1152
+1123101124 298 m lib/face/48x48x1/u/unknown.sei.cmu.edu - 664 sys sys 944941678 1152
+1123101124 299 m lib/face/48x48x1/u/unknown.sequent.com - 664 sys sys 944941677 1152
+1123101124 300 m lib/face/48x48x1/u/unknown.sics.se - 664 sys sys 944941679 1152
+1123101124 301 m lib/face/48x48x1/u/unknown.su - 664 sys sys 944941678 1152
+1123101124 302 m lib/face/48x48x1/u/unknown.sug.org - 664 sys sys 944941677 1152
+1123101124 303 m lib/face/48x48x1/u/unknown.sun.com - 664 sys sys 944941678 1152
+1123101124 304 m lib/face/48x48x1/u/unknown.tulane.edu - 664 sys sys 944941679 1152
+1123101124 305 m lib/face/48x48x1/u/unknown.ucsc.edu - 664 sys sys 944941679 1152
+1123101124 306 m lib/face/48x48x1/u/unknown.umass.edu - 664 sys sys 944941677 1152
+1123101124 307 m lib/face/48x48x1/u/unknown.umn.edu - 664 sys sys 944941679 1152
+1123101124 308 m lib/face/48x48x1/u/unknown.usc.edu - 664 sys sys 944941676 1152
+1123101124 309 m lib/face/48x48x1/u/usenet.1 - 664 sys sys 944941680 1152
+1123101124 310 m lib/face/48x48x1/u/uucp.1 - 664 sys sys 944941680 1056
+1123101124 311 m lib/face/48x48x1/v - 20000000775 sys sys 1020895709 0
+1123101124 312 m lib/face/48x48x1/w - 20000000775 sys sys 1123100690 0
+1123101124 313 m lib/face/48x48x1/w/weather.1 - 664 sys sys 944941680 1152
+1123101124 314 m lib/face/48x48x1/w/weights-request.1 - 664 sys sys 944941680 1152
+1123101124 315 m lib/face/48x48x1/w/white.1 - 664 sys sys 944941680 1152
+1123101124 316 m lib/face/48x48x1/x - 20000000775 sys sys 1020895709 0
+1123101124 317 m lib/face/48x48x1/y - 20000000775 sys sys 1020895709 0
+1123101124 318 m lib/face/48x48x1/z - 20000000775 sys sys 1020895709 0
+1123101124 319 m lib/face/48x48x2 - 20000000775 sys sys 1123100640 0
+1123101124 320 m lib/face/48x48x2/a/adb.1 - 664 sys sys 944941681 1776
+1123101124 321 m lib/face/48x48x2/a/andrew.1 - 664 sys sys 944941681 1776
+1123101124 322 m lib/face/48x48x2/b/bart.1 - 664 sys sys 944941681 1776
+1123101124 323 m lib/face/48x48x2/b/bwk.1 - 664 sys sys 944941681 1776
+1123101124 324 m lib/face/48x48x2/c/ches.1 - 664 sys sys 944941681 1776
+1123101124 325 m lib/face/48x48x2/d/dmr.1 - 664 sys sys 944941681 1776
+1123101124 326 m lib/face/48x48x2/d/doug.1 - 664 sys sys 944941681 1776
+1123101124 327 m lib/face/48x48x2/e/ehg.1 - 664 sys sys 944941681 1776
+1123101124 328 m lib/face/48x48x2/g/gerard.1 - 664 sys sys 944941681 1776
+1123101124 329 m lib/face/48x48x2/h/hobby.1 - 664 sys sys 944941681 1776
+1123101124 330 m lib/face/48x48x2/h/howard.1 - 664 sys sys 944941681 1776
+1123101124 331 m lib/face/48x48x2/j/judy.1 - 664 sys sys 944941681 1776
+1123101124 332 m lib/face/48x48x2/k/kahrs.1 - 664 sys sys 944941682 1776
+1123101124 333 m lib/face/48x48x2/k/ken.1 - 664 sys sys 944941682 1776
+1123101124 334 m lib/face/48x48x2/p/pg.1 - 664 sys sys 944941682 1776
+1123101124 335 m lib/face/48x48x2/p/philw.1 - 664 sys sys 944941682 1776
+1123101124 336 m lib/face/48x48x2/p/pjw.1 - 664 sys sys 944941682 1776
+1123101124 337 m lib/face/48x48x2/p/presotto.1 - 664 sys sys 944941682 1776
+1123101124 338 m lib/face/48x48x2/r/rob.1 - 664 sys sys 944941682 1776
+1123101124 339 m lib/face/48x48x2/s/sean.1 - 664 sys sys 944941682 1776
+1123101124 340 m lib/face/48x48x2/s/seanq.1 - 664 sys sys 944941682 1776
+1123101124 341 m lib/face/48x48x2/t/td.1 - 664 sys sys 944941682 1776
+1123101124 342 m lib/face/48x48x2/t/tom.1 - 664 sys sys 944941683 1776
+1123101124 343 m lib/face/48x48x4/m/moneybag.1 - 664 sys sys 1079017457 1210
+1123101124 344 m lib/face/48x48x4/s/sbranigan.1 - 664 sys sys 944941894 1003
+1123101124 345 m lib/face/48x48x4/s/spam.1 - 664 sys sys 1079017520 1071
+1123101124 346 m lib/face/48x48x4/u/book.1 - 664 sys sys 1079016751 975
+1123101124 347 m lib/face/48x48x4/u/unknown.aes.org - 664 sys sys 1079016534 923
+1123101124 348 m lib/face/48x48x4/u/unknown.rs-components.com - 664 sys sys 1079017058 512
+1123101124 349 m lib/face/48x48x4/u/unknown.snellwilcox.com - 664 sys sys 1079017415 901
+1123101124 350 m lib/face/48x48x4/v/virus.1 - 664 sys sys 1079017494 1110
+1123101124 351 m lib/face/48x48x8/c/chrislocke.1 - 664 sys sys 1057005038 1613
+1123101124 352 m lib/face/48x48x8/f/forsyth.1 - 664 sys sys 1056982111 1864
+1123101124 353 m lib/face/48x48x8/k/karen.1 - 664 sys sys 1057005135 1608
+1123101124 354 m lib/face/48x48x8/n/nigel.1 - 664 sys sys 1056981488 1611
+1123101124 355 m lib/face/48x48x8/r/rog.1 - 664 sys sys 1057005153 1621
+1123101124 356 m lib/face/512x512x24 - 20000000775 sys sys 1123100641 0
+1123101124 357 m lib/face/512x512x24/.dict - 664 sys sys 944941683 0
+1123101124 358 m lib/face/512x512x8 - 20000000775 sys sys 1123100641 0
+1123101124 359 m lib/face/512x512x8/.dict - 664 sys sys 944941683 0
+1123101124 360 m lib/font/bit/lucidasans/boldtypeunicode.7.font - 664 sys sys 1115917407 1723
+1123101124 361 m lib/font/bit/naga10/5x10B.0001 - 664 sys sys 1115950707 2875
+1123101124 362 m lib/font/bit/naga10/5x10B.font - 664 sys sys 1115913817 30
+1123101124 363 m lib/font/bit/naga10/5x10a.0001 - 664 sys sys 1115950707 2753
+1123101124 364 m lib/font/bit/naga10/5x10a.font - 664 sys sys 1115913817 30
+1123101124 365 m lib/font/bit/naga10/5x10rk.0001 - 664 sys sys 1115950707 2366
+1123101124 366 m lib/font/bit/naga10/5x10rk.font - 664 sys sys 1115950706 31
+1123101124 367 m lib/font/bit/naga10/README - 664 sys sys 1115913817 669
+1123101124 368 m lib/font/bit/naga10/knj10.005c - 664 sys sys 1115913817 1205
+1123101124 369 m lib/font/bit/naga10/knj10.0391 - 664 sys sys 1115913817 930
+1123101124 370 m lib/font/bit/naga10/knj10.0401 - 664 sys sys 1115913817 1160
+1123101124 371 m lib/font/bit/naga10/knj10.2010 - 664 sys sys 1115913818 3056
+1123101124 372 m lib/font/bit/naga10/knj10.2200 - 664 sys sys 1115913818 2114
+1123101124 373 m lib/font/bit/naga10/knj10.2500 - 664 sys sys 1115913818 1813
+1123101124 374 m lib/font/bit/naga10/knj10.2605 - 664 sys sys 1115913818 876
+1123101124 375 m lib/font/bit/naga10/knj10.3000 - 664 sys sys 1115913818 3695
+1123101124 376 m lib/font/bit/naga10/knj10.4e00 - 664 sys sys 1115913818 5497
+1123101124 377 m lib/font/bit/naga10/knj10.5005 - 664 sys sys 1115913818 5365
+1123101124 378 m lib/font/bit/naga10/knj10.5200 - 664 sys sys 1115913818 5594
+1123101124 379 m lib/font/bit/naga10/knj10.5401 - 664 sys sys 1115913818 4971
+1123101124 380 m lib/font/bit/naga10/knj10.5606 - 664 sys sys 1115913818 4579
+1123101124 381 m lib/font/bit/naga10/knj10.5800 - 664 sys sys 1115913818 5146
+1123101124 382 m lib/font/bit/naga10/knj10.5a01 - 664 sys sys 1115913818 4788
+1123101124 383 m lib/font/bit/naga10/knj10.5c01 - 664 sys sys 1115913818 4914
+1123101124 384 m lib/font/bit/naga10/knj10.5e02 - 664 sys sys 1115913818 5516
+1123101124 385 m lib/font/bit/naga10/knj10.600e - 664 sys sys 1115913819 5368
+1123101124 386 m lib/font/bit/naga10/knj10.6200 - 664 sys sys 1115913819 5357
+1123101124 387 m lib/font/bit/naga10/knj10.6406 - 664 sys sys 1115913819 4981
+1123101124 388 m lib/font/bit/naga10/knj10.6602 - 664 sys sys 1115913819 5514
+1123101124 389 m lib/font/bit/naga10/knj10.6802 - 664 sys sys 1115913819 5293
+1123101124 390 m lib/font/bit/naga10/knj10.6a02 - 664 sys sys 1115913819 4886
+1123101124 391 m lib/font/bit/naga10/knj10.6c08 - 664 sys sys 1115913819 4962
+1123101124 392 m lib/font/bit/naga10/knj10.6e05 - 664 sys sys 1115913819 4951
+1123101124 393 m lib/font/bit/naga10/knj10.7001 - 664 sys sys 1115913819 4442
+1123101124 394 m lib/font/bit/naga10/knj10.7206 - 664 sys sys 1115913819 4655
+1123101124 395 m lib/font/bit/naga10/knj10.7403 - 664 sys sys 1115913819 4993
+1123101124 396 m lib/font/bit/naga10/knj10.7601 - 664 sys sys 1115913819 4774
+1123101124 397 m lib/font/bit/naga10/knj10.7802 - 664 sys sys 1115913819 4651
+1123101124 398 m lib/font/bit/naga10/knj10.7a00 - 664 sys sys 1115913820 5020
+1123101124 399 m lib/font/bit/naga10/knj10.7c00 - 664 sys sys 1115913820 5343
+1123101124 400 m lib/font/bit/naga10/knj10.7e01 - 664 sys sys 1115913820 4644
+1123101124 401 m lib/font/bit/naga10/knj10.8000 - 664 sys sys 1115913820 5187
+1123101124 402 m lib/font/bit/naga10/knj10.8201 - 664 sys sys 1115913820 4780
+1123101124 403 m lib/font/bit/naga10/knj10.8403 - 664 sys sys 1115913820 4556
+1123101124 404 m lib/font/bit/naga10/knj10.8602 - 664 sys sys 1115913820 4619
+1123101124 405 m lib/font/bit/naga10/knj10.8805 - 664 sys sys 1115913820 4889
+1123101124 406 m lib/font/bit/naga10/knj10.8a00 - 664 sys sys 1115913820 4420
+1123101124 407 m lib/font/bit/naga10/knj10.8c37 - 664 sys sys 1115913820 4375
+1123101124 408 m lib/font/bit/naga10/knj10.8e08 - 664 sys sys 1115913820 4774
+1123101124 409 m lib/font/bit/naga10/knj10.9000 - 664 sys sys 1115913820 5113
+1123101124 410 m lib/font/bit/naga10/knj10.920d - 664 sys sys 1115913820 4203
+1123101124 411 m lib/font/bit/naga10/knj10.9403 - 664 sys sys 1115913820 3778
+1123101124 412 m lib/font/bit/naga10/knj10.961c - 664 sys sys 1115913821 4915
+1123101124 413 m lib/font/bit/naga10/knj10.9801 - 664 sys sys 1115913821 4664
+1123101124 414 m lib/font/bit/naga10/knj10.9a01 - 664 sys sys 1115913821 4485
+1123101124 415 m lib/font/bit/naga10/knj10.9c04 - 664 sys sys 1115913821 4410
+1123101124 416 m lib/font/bit/naga10/knj10.9e1a - 664 sys sys 1115913821 3505
+1123101124 417 m lib/font/bit/naga10/knj10.ff01 - 664 sys sys 1115913821 2323
+1123101124 418 m lib/font/bit/naga10/knj10.font - 664 sys sys 1115913821 1255
+1123101124 419 m lib/font/bit/naga10/knj10B.005c - 664 sys sys 1115913821 1204
+1123101124 420 m lib/font/bit/naga10/knj10B.0391 - 664 sys sys 1115913821 929
+1123101124 421 m lib/font/bit/naga10/knj10B.0401 - 664 sys sys 1115913821 1159
+1123101124 422 m lib/font/bit/naga10/knj10B.2010 - 664 sys sys 1115913821 3057
+1123101124 423 m lib/font/bit/naga10/knj10B.2200 - 664 sys sys 1115913822 2116
+1123101124 424 m lib/font/bit/naga10/knj10B.2500 - 664 sys sys 1115913822 1811
+1123101124 425 m lib/font/bit/naga10/knj10B.2605 - 664 sys sys 1115913822 876
+1123101124 426 m lib/font/bit/naga10/knj10B.3000 - 664 sys sys 1115913822 3716
+1123101124 427 m lib/font/bit/naga10/knj10B.4e00 - 664 sys sys 1115913822 5499
+1123101124 428 m lib/font/bit/naga10/knj10B.5005 - 664 sys sys 1115913822 5357
+1123101124 429 m lib/font/bit/naga10/knj10B.5200 - 664 sys sys 1115913822 5585
+1123101124 430 m lib/font/bit/naga10/knj10B.5401 - 664 sys sys 1115913822 4972
+1123101124 431 m lib/font/bit/naga10/knj10B.5606 - 664 sys sys 1115913822 4570
+1123101124 432 m lib/font/bit/naga10/knj10B.5800 - 664 sys sys 1115913822 5145
+1123101124 433 m lib/font/bit/naga10/knj10B.5a01 - 664 sys sys 1115913822 4790
+1123101124 434 m lib/font/bit/naga10/knj10B.5c01 - 664 sys sys 1115913822 4915
+1123101124 435 m lib/font/bit/naga10/knj10B.5e02 - 664 sys sys 1115913822 5510
+1123101124 436 m lib/font/bit/naga10/knj10B.600e - 664 sys sys 1115913822 5359
+1123101124 437 m lib/font/bit/naga10/knj10B.6200 - 664 sys sys 1115913822 5354
+1123101124 438 m lib/font/bit/naga10/knj10B.6406 - 664 sys sys 1115913822 4975
+1123101124 439 m lib/font/bit/naga10/knj10B.6602 - 664 sys sys 1115913823 5510
+1123101124 440 m lib/font/bit/naga10/knj10B.6802 - 664 sys sys 1115913823 5291
+1123101124 441 m lib/font/bit/naga10/knj10B.6a02 - 664 sys sys 1115913823 4880
+1123101124 442 m lib/font/bit/naga10/knj10B.6c08 - 664 sys sys 1115913823 4957
+1123101124 443 m lib/font/bit/naga10/knj10B.6e05 - 664 sys sys 1115913823 4949
+1123101124 444 m lib/font/bit/naga10/knj10B.7001 - 664 sys sys 1115913823 4441
+1123101124 445 m lib/font/bit/naga10/knj10B.7206 - 664 sys sys 1115913823 4653
+1123101124 446 m lib/font/bit/naga10/knj10B.7403 - 664 sys sys 1115913823 4992
+1123101124 447 m lib/font/bit/naga10/knj10B.7601 - 664 sys sys 1115913823 4772
+1123101124 448 m lib/font/bit/naga10/knj10B.7802 - 664 sys sys 1115913823 4651
+1123101124 449 m lib/font/bit/naga10/knj10B.7a00 - 664 sys sys 1115913823 4996
+1123101124 450 m lib/font/bit/naga10/knj10B.7c00 - 664 sys sys 1115913823 5339
+1123101124 451 m lib/font/bit/naga10/knj10B.7e01 - 664 sys sys 1115913823 4635
+1123101124 452 m lib/font/bit/naga10/knj10B.8000 - 664 sys sys 1115913823 5182
+1123101124 453 m lib/font/bit/naga10/knj10B.8201 - 664 sys sys 1115913824 4777
+1123101124 454 m lib/font/bit/naga10/knj10B.8403 - 664 sys sys 1115913824 4555
+1123101124 455 m lib/font/bit/naga10/knj10B.8602 - 664 sys sys 1115913824 4615
+1123101124 456 m lib/font/bit/naga10/knj10B.8805 - 664 sys sys 1115913824 4879
+1123101124 457 m lib/font/bit/naga10/knj10B.8a00 - 664 sys sys 1115913824 4407
+1123101124 458 m lib/font/bit/naga10/knj10B.8c37 - 664 sys sys 1115913824 4369
+1123101124 459 m lib/font/bit/naga10/knj10B.8e08 - 664 sys sys 1115913824 4766
+1123101124 460 m lib/font/bit/naga10/knj10B.9000 - 664 sys sys 1115913824 5110
+1123101124 461 m lib/font/bit/naga10/knj10B.920d - 664 sys sys 1115913824 4194
+1123101124 462 m lib/font/bit/naga10/knj10B.9403 - 664 sys sys 1115913824 3780
+1123101124 463 m lib/font/bit/naga10/knj10B.961c - 664 sys sys 1115913824 4919
+1123101124 464 m lib/font/bit/naga10/knj10B.9801 - 664 sys sys 1115913824 4660
+1123101124 465 m lib/font/bit/naga10/knj10B.9a01 - 664 sys sys 1115913824 4483
+1123101124 466 m lib/font/bit/naga10/knj10B.9c04 - 664 sys sys 1115913824 4411
+1123101124 467 m lib/font/bit/naga10/knj10B.9e1a - 664 sys sys 1115913825 3501
+1123101124 468 m lib/font/bit/naga10/knj10B.ff01 - 664 sys sys 1115913825 2328
+1123101124 469 m lib/font/bit/naga10/knj10B.font - 664 sys sys 1115913825 1305
+1123101124 470 m lib/font/bit/naga10/maru10.005c - 664 sys sys 1115913825 1205
+1123101124 471 m lib/font/bit/naga10/maru10.0391 - 664 sys sys 1115913825 923
+1123101124 472 m lib/font/bit/naga10/maru10.0401 - 664 sys sys 1115913825 1172
+1123101124 473 m lib/font/bit/naga10/maru10.2010 - 664 sys sys 1115913825 3054
+1123101124 474 m lib/font/bit/naga10/maru10.2200 - 664 sys sys 1115913825 2114
+1123101124 475 m lib/font/bit/naga10/maru10.2500 - 664 sys sys 1115913825 1819
+1123101124 476 m lib/font/bit/naga10/maru10.2605 - 664 sys sys 1115913825 876
+1123101124 477 m lib/font/bit/naga10/maru10.3000 - 664 sys sys 1115913825 3670
+1123101124 478 m lib/font/bit/naga10/maru10.4e00 - 664 sys sys 1115913825 5497
+1123101124 479 m lib/font/bit/naga10/maru10.5005 - 664 sys sys 1115913825 5365
+1123101124 480 m lib/font/bit/naga10/maru10.5200 - 664 sys sys 1115913825 5594
+1123101124 481 m lib/font/bit/naga10/maru10.5401 - 664 sys sys 1115913825 4971
+1123101124 482 m lib/font/bit/naga10/maru10.5606 - 664 sys sys 1115913825 4579
+1123101124 483 m lib/font/bit/naga10/maru10.5800 - 664 sys sys 1115913826 5146
+1123101124 484 m lib/font/bit/naga10/maru10.5a01 - 664 sys sys 1115913826 4788
+1123101124 485 m lib/font/bit/naga10/maru10.5c01 - 664 sys sys 1115913826 4914
+1123101124 486 m lib/font/bit/naga10/maru10.5e02 - 664 sys sys 1115913826 5516
+1123101124 487 m lib/font/bit/naga10/maru10.600e - 664 sys sys 1115913826 5368
+1123101124 488 m lib/font/bit/naga10/maru10.6200 - 664 sys sys 1115913826 5357
+1123101124 489 m lib/font/bit/naga10/maru10.6406 - 664 sys sys 1115913826 4981
+1123101124 490 m lib/font/bit/naga10/maru10.6602 - 664 sys sys 1115913826 5514
+1123101124 491 m lib/font/bit/naga10/maru10.6802 - 664 sys sys 1115913826 5293
+1123101124 492 m lib/font/bit/naga10/maru10.6a02 - 664 sys sys 1115913826 4886
+1123101124 493 m lib/font/bit/naga10/maru10.6c08 - 664 sys sys 1115913826 4962
+1123101124 494 m lib/font/bit/naga10/maru10.6e05 - 664 sys sys 1115913826 4951
+1123101124 495 m lib/font/bit/naga10/maru10.7001 - 664 sys sys 1115913826 4442
+1123101124 496 m lib/font/bit/naga10/maru10.7206 - 664 sys sys 1115913827 4655
+1123101124 497 m lib/font/bit/naga10/maru10.7403 - 664 sys sys 1115913827 4993
+1123101124 498 m lib/font/bit/naga10/maru10.7601 - 664 sys sys 1115913827 4774
+1123101124 499 m lib/font/bit/naga10/maru10.7802 - 664 sys sys 1115913827 4651
+1123101124 500 m lib/font/bit/naga10/maru10.7a00 - 664 sys sys 1115913827 5020
+1123101124 501 m lib/font/bit/naga10/maru10.7c00 - 664 sys sys 1115913827 5343
+1123101124 502 m lib/font/bit/naga10/maru10.7e01 - 664 sys sys 1115913827 4644
+1123101124 503 m lib/font/bit/naga10/maru10.8000 - 664 sys sys 1115913827 5187
+1123101124 504 m lib/font/bit/naga10/maru10.8201 - 664 sys sys 1115913827 4780
+1123101124 505 m lib/font/bit/naga10/maru10.8403 - 664 sys sys 1115913827 4556
+1123101124 506 m lib/font/bit/naga10/maru10.8602 - 664 sys sys 1115913827 4619
+1123101124 507 m lib/font/bit/naga10/maru10.8805 - 664 sys sys 1115913827 4889
+1123101124 508 m lib/font/bit/naga10/maru10.8a00 - 664 sys sys 1115913827 4420
+1123101124 509 m lib/font/bit/naga10/maru10.8c37 - 664 sys sys 1115913828 4375
+1123101124 510 m lib/font/bit/naga10/maru10.8e08 - 664 sys sys 1115913828 4774
+1123101124 511 m lib/font/bit/naga10/maru10.9000 - 664 sys sys 1115913828 5113
+1123101124 512 m lib/font/bit/naga10/maru10.920d - 664 sys sys 1115913828 4203
+1123101124 513 m lib/font/bit/naga10/maru10.9403 - 664 sys sys 1115913828 3778
+1123101124 514 m lib/font/bit/naga10/maru10.961c - 664 sys sys 1115913828 4915
+1123101124 515 m lib/font/bit/naga10/maru10.9801 - 664 sys sys 1115913828 4664
+1123101124 516 m lib/font/bit/naga10/maru10.9a01 - 664 sys sys 1115913828 4485
+1123101124 517 m lib/font/bit/naga10/maru10.9c04 - 664 sys sys 1115913828 4410
+1123101124 518 m lib/font/bit/naga10/maru10.9e1a - 664 sys sys 1115913828 3505
+1123101124 519 m lib/font/bit/naga10/maru10.ff01 - 664 sys sys 1115913828 2292
+1123101124 520 m lib/font/bit/naga10/maru10.font - 664 sys sys 1115913828 1305
+1123101124 521 m lib/font/bit/naga10/min10.005c - 664 sys sys 1115913828 1205
+1123101124 522 m lib/font/bit/naga10/min10.0391 - 664 sys sys 1115913828 930
+1123101124 523 m lib/font/bit/naga10/min10.0401 - 664 sys sys 1115913828 1160
+1123101124 524 m lib/font/bit/naga10/min10.2010 - 664 sys sys 1115913829 3056
+1123101124 525 m lib/font/bit/naga10/min10.2200 - 664 sys sys 1115913829 2114
+1123101124 526 m lib/font/bit/naga10/min10.2500 - 664 sys sys 1115913829 1813
+1123101124 527 m lib/font/bit/naga10/min10.2605 - 664 sys sys 1115913829 876
+1123101124 528 m lib/font/bit/naga10/min10.3000 - 664 sys sys 1115913829 3739
+1123101124 529 m lib/font/bit/naga10/min10.4e00 - 664 sys sys 1115913829 5497
+1123101124 530 m lib/font/bit/naga10/min10.5005 - 664 sys sys 1115913829 5365
+1123101124 531 m lib/font/bit/naga10/min10.5200 - 664 sys sys 1115913829 5594
+1123101124 532 m lib/font/bit/naga10/min10.5401 - 664 sys sys 1115913829 4971
+1123101124 533 m lib/font/bit/naga10/min10.5606 - 664 sys sys 1115913829 4579
+1123101124 534 m lib/font/bit/naga10/min10.5800 - 664 sys sys 1115913829 5146
+1123101124 535 m lib/font/bit/naga10/min10.5a01 - 664 sys sys 1115913829 4788
+1123101124 536 m lib/font/bit/naga10/min10.5c01 - 664 sys sys 1115913829 4914
+1123101124 537 m lib/font/bit/naga10/min10.5e02 - 664 sys sys 1115913829 5516
+1123101124 538 m lib/font/bit/naga10/min10.600e - 664 sys sys 1115913830 5368
+1123101124 539 m lib/font/bit/naga10/min10.6200 - 664 sys sys 1115913830 5357
+1123101124 540 m lib/font/bit/naga10/min10.6406 - 664 sys sys 1115913830 4981
+1123101124 541 m lib/font/bit/naga10/min10.6602 - 664 sys sys 1115913830 5514
+1123101124 542 m lib/font/bit/naga10/min10.6802 - 664 sys sys 1115913830 5293
+1123101124 543 m lib/font/bit/naga10/min10.6a02 - 664 sys sys 1115913830 4886
+1123101124 544 m lib/font/bit/naga10/min10.6c08 - 664 sys sys 1115913830 4962
+1123101124 545 m lib/font/bit/naga10/min10.6e05 - 664 sys sys 1115913830 4951
+1123101124 546 m lib/font/bit/naga10/min10.7001 - 664 sys sys 1115913830 4442
+1123101124 547 m lib/font/bit/naga10/min10.7206 - 664 sys sys 1115913830 4655
+1123101124 548 m lib/font/bit/naga10/min10.7403 - 664 sys sys 1115913830 4993
+1123101124 549 m lib/font/bit/naga10/min10.7601 - 664 sys sys 1115913830 4774
+1123101124 550 m lib/font/bit/naga10/min10.7802 - 664 sys sys 1115913830 4651
+1123101124 551 m lib/font/bit/naga10/min10.7a00 - 664 sys sys 1115913830 5020
+1123101124 552 m lib/font/bit/naga10/min10.7c00 - 664 sys sys 1115913830 5343
+1123101124 553 m lib/font/bit/naga10/min10.7e01 - 664 sys sys 1115913831 4644
+1123101124 554 m lib/font/bit/naga10/min10.8000 - 664 sys sys 1115913831 5187
+1123101124 555 m lib/font/bit/naga10/min10.8201 - 664 sys sys 1115913831 4780
+1123101124 556 m lib/font/bit/naga10/min10.8403 - 664 sys sys 1115913831 4556
+1123101124 557 m lib/font/bit/naga10/min10.8602 - 664 sys sys 1115913831 4619
+1123101124 558 m lib/font/bit/naga10/min10.8805 - 664 sys sys 1115913831 4889
+1123101124 559 m lib/font/bit/naga10/min10.8a00 - 664 sys sys 1115913831 4420
+1123101124 560 m lib/font/bit/naga10/min10.8c37 - 664 sys sys 1115913831 4375
+1123101124 561 m lib/font/bit/naga10/min10.8e08 - 664 sys sys 1115913831 4774
+1123101124 562 m lib/font/bit/naga10/min10.9000 - 664 sys sys 1115913831 5113
+1123101124 563 m lib/font/bit/naga10/min10.920d - 664 sys sys 1115913831 4203
+1123101124 564 m lib/font/bit/naga10/min10.9403 - 664 sys sys 1115913831 3778
+1123101124 565 m lib/font/bit/naga10/min10.961c - 664 sys sys 1115913831 4915
+1123101124 566 m lib/font/bit/naga10/min10.9801 - 664 sys sys 1115913831 4664
+1123101124 567 m lib/font/bit/naga10/min10.9a01 - 664 sys sys 1115913832 4485
+1123101124 568 m lib/font/bit/naga10/min10.9c04 - 664 sys sys 1115913832 4410
+1123101124 569 m lib/font/bit/naga10/min10.9e1a - 664 sys sys 1115913832 3505
+1123101124 570 m lib/font/bit/naga10/min10.ff01 - 664 sys sys 1115913832 2323
+1123101124 571 m lib/font/bit/naga10/min10.font - 664 sys sys 1115913832 1255
+1123101124 572 m rc/bin/ape/ranlib - 775 sys sys 1099176402 18
+1123101124 573 m rc/bin/wdoc2txt - 775 sys sys 1017431153 277
+1123101124 574 m rc/bin/wurl2txt - 775 sys sys 1017431148 296
+1123101124 575 m rc/bin/xls2txt - 775 sys sys 1105020030 520
+1123101124 576 m sys/doc/lexnames.ms - 664 sys sys 954383595 34046
+1123101124 577 m sys/doc/plumb.ms - 664 sys sys 954383596 53250
+1123101124 578 m sys/doc/preamble - 664 sys sys 961259497 203475
+1123101124 579 m sys/doc/venti/venti.pdf - 664 sys sys 1020384352 139090
+1123101124 580 m sys/games/lib/mahjongg/images/mask.bit - 664 sys sys 1095792294 429
+1123101124 581 m sys/games/lib/mahjongg/layouts/default.layout - 664 sys sys 1095792294 2662
+1123101124 582 m sys/games/lib/mahjongg/tilesets/default.tileset - 664 sys sys 1095792294 484942
+1123101124 583 m sys/games/lib/sokoban/levels/easy.slc - 664 sys sys 1095792098 19839
+1123101124 584 m sys/games/lib/sokoban/levels/hard.slc - 664 sys sys 1095792098 17051
+1123101124 585 m sys/games/lib/sudoku/boards/easy-2005-01-21.su - 664 sys sys 1117314015 180
+1123101124 586 m sys/games/lib/sudoku/boards/easy-2005-01-23.su - 664 sys sys 1117314015 180
+1123101124 587 m sys/games/lib/sudoku/boards/easy-2005-01-25.su - 664 sys sys 1117314015 180
+1123101124 588 m sys/games/lib/sudoku/boards/easy-2005-01-29.su - 664 sys sys 1117314015 180
+1123101124 589 m sys/games/lib/sudoku/boards/easy-2005-01-30.su - 664 sys sys 1117314015 180
+1123101124 590 m sys/games/lib/sudoku/boards/easy-2005-02-02.su - 664 sys sys 1117314015 180
+1123101124 591 m sys/games/lib/sudoku/boards/easy-2005-02-03.su - 664 sys sys 1117314016 180
+1123101124 592 m sys/games/lib/sudoku/boards/easy-2005-02-04.su - 664 sys sys 1117314016 180
+1123101124 593 m sys/games/lib/sudoku/boards/easy-2005-02-06.su - 664 sys sys 1117314016 180
+1123101124 594 m sys/games/lib/sudoku/boards/easy-2005-02-07.su - 664 sys sys 1117314016 180
+1123101124 595 m sys/games/lib/sudoku/boards/easy-2005-02-08.su - 664 sys sys 1117314016 180
+1123101124 596 m sys/games/lib/sudoku/boards/easy-2005-02-09.su - 664 sys sys 1117314016 180
+1123101124 597 m sys/games/lib/sudoku/boards/easy-2005-02-10.su - 664 sys sys 1117314016 180
+1123101124 598 m sys/games/lib/sudoku/boards/easy-2005-02-11.su - 664 sys sys 1117314016 180
+1123101124 599 m sys/games/lib/sudoku/boards/easy-2005-02-12.su - 664 sys sys 1117314017 180
+1123101124 600 m sys/games/lib/sudoku/boards/easy-2005-02-13.su - 664 sys sys 1117314017 180
+1123101124 601 m sys/games/lib/sudoku/boards/easy-2005-02-14.su - 664 sys sys 1117314017 180
+1123101124 602 m sys/games/lib/sudoku/boards/easy-2005-02-16.su - 664 sys sys 1117314017 180
+1123101124 603 m sys/games/lib/sudoku/boards/easy-2005-02-17.su - 664 sys sys 1117314017 180
+1123101124 604 m sys/games/lib/sudoku/boards/easy-2005-03-03.su - 664 sys sys 1117314017 180
+1123101124 605 m sys/games/lib/sudoku/boards/easy-2005-03-04.su - 664 sys sys 1117314017 180
+1123101124 606 m sys/games/lib/sudoku/boards/easy-2005-03-05.su - 664 sys sys 1117314017 180
+1123101124 607 m sys/games/lib/sudoku/boards/easy-2005-03-06.su - 664 sys sys 1117314018 180
+1123101124 608 m sys/games/lib/sudoku/boards/easy-2005-03-07.su - 664 sys sys 1117314018 180
+1123101124 609 m sys/games/lib/sudoku/boards/easy-2005-03-08.su - 664 sys sys 1117314018 180
+1123101124 610 m sys/games/lib/sudoku/boards/easy-2005-03-09.su - 664 sys sys 1117314018 180
+1123101124 611 m sys/games/lib/sudoku/boards/easy-2005-03-10.su - 664 sys sys 1117314018 180
+1123101124 612 m sys/games/lib/sudoku/boards/easy-2005-03-11.su - 664 sys sys 1117314018 180
+1123101124 613 m sys/games/lib/sudoku/boards/easy-2005-03-12.su - 664 sys sys 1117314019 180
+1123101124 614 m sys/games/lib/sudoku/boards/easy-2005-03-29.su - 664 sys sys 1117314019 180
+1123101124 615 m sys/games/lib/sudoku/boards/easy-2005-04-11.su - 664 sys sys 1117314019 180
+1123101124 616 m sys/games/lib/sudoku/boards/easy-2005-04-26.su - 664 sys sys 1117314019 180
+1123101124 617 m sys/games/lib/sudoku/boards/easy-2005-04-28.su - 664 sys sys 1117314019 180
+1123101124 618 m sys/games/lib/sudoku/boards/easy-2005-05-24.su - 664 sys sys 1117314019 180
+1123101124 619 m sys/games/lib/sudoku/boards/hard-2005-03-13.su - 664 sys sys 1117314019 180
+1123101124 620 m sys/games/lib/sudoku/boards/hard-2005-03-14.su - 664 sys sys 1117314019 180
+1123101124 621 m sys/games/lib/sudoku/boards/hard-2005-03-19.su - 664 sys sys 1117314020 180
+1123101124 622 m sys/games/lib/sudoku/boards/hard-2005-03-26.su - 664 sys sys 1117314020 180
+1123101124 623 m sys/games/lib/sudoku/boards/hard-2005-03-27.su - 664 sys sys 1117314020 180
+1123101124 624 m sys/games/lib/sudoku/boards/hard-2005-04-02.su - 664 sys sys 1117314020 180
+1123101124 625 m sys/games/lib/sudoku/boards/hard-2005-04-03.su - 664 sys sys 1117314020 180
+1123101124 626 m sys/games/lib/sudoku/boards/hard-2005-04-07.su - 664 sys sys 1117314020 180
+1123101124 627 m sys/games/lib/sudoku/boards/hard-2005-04-08.su - 664 sys sys 1117314020 180
+1123101124 628 m sys/games/lib/sudoku/boards/hard-2005-04-09.su - 664 sys sys 1117314020 180
+1123101124 629 m sys/games/lib/sudoku/boards/hard-2005-04-17.su - 664 sys sys 1117314020 180
+1123101124 630 m sys/games/lib/sudoku/boards/hard-2005-04-22.su - 664 sys sys 1117314021 180
+1123101124 631 m sys/games/lib/sudoku/boards/hard-2005-04-23.su - 664 sys sys 1117314021 180
+1123101124 632 m sys/games/lib/sudoku/boards/hard-2005-04-24.su - 664 sys sys 1117314021 180
+1123101124 633 m sys/games/lib/sudoku/boards/hard-2005-04-30.su - 664 sys sys 1117314021 180
+1123101124 634 m sys/games/lib/sudoku/boards/hard-2005-05-01.su - 664 sys sys 1117314021 180
+1123101124 635 m sys/games/lib/sudoku/boards/hard-2005-05-07.su - 664 sys sys 1117314021 180
+1123101124 636 m sys/games/lib/sudoku/boards/hard-2005-05-14.su - 664 sys sys 1117314021 180
+1123101124 637 m sys/games/lib/sudoku/boards/hard-2005-05-15.su - 664 sys sys 1117314021 180
+1123101124 638 m sys/games/lib/sudoku/boards/hard-2005-05-19.su - 664 sys sys 1117314021 180
+1123101124 639 m sys/games/lib/sudoku/boards/hard-2005-05-21.su - 664 sys sys 1117314022 180
+1123101124 640 m sys/games/lib/sudoku/boards/hard-2005-05-22.su - 664 sys sys 1117314022 180
+1123101124 641 m sys/games/lib/sudoku/boards/hard-2005-05-23.su - 664 sys sys 1117314022 180
+1123101124 642 m sys/games/lib/sudoku/boards/medium-2005-01-22.su - 664 sys sys 1117314022 180
+1123101124 643 m sys/games/lib/sudoku/boards/medium-2005-01-24.su - 664 sys sys 1117314022 180
+1123101124 644 m sys/games/lib/sudoku/boards/medium-2005-01-26.su - 664 sys sys 1117314022 180
+1123101124 645 m sys/games/lib/sudoku/boards/medium-2005-01-27.su - 664 sys sys 1117314022 180
+1123101124 646 m sys/games/lib/sudoku/boards/medium-2005-01-28.su - 664 sys sys 1117314022 180
+1123101124 647 m sys/games/lib/sudoku/boards/medium-2005-01-31.su - 664 sys sys 1117314022 180
+1123101124 648 m sys/games/lib/sudoku/boards/medium-2005-02-01.su - 664 sys sys 1117314023 180
+1123101124 649 m sys/games/lib/sudoku/boards/medium-2005-02-05.su - 664 sys sys 1117314023 180
+1123101124 650 m sys/games/lib/sudoku/boards/medium-2005-02-15.su - 664 sys sys 1117314023 180
+1123101124 651 m sys/games/lib/sudoku/boards/medium-2005-02-18.su - 664 sys sys 1117314023 180
+1123101124 652 m sys/games/lib/sudoku/boards/medium-2005-02-19.su - 664 sys sys 1117314023 180
+1123101124 653 m sys/games/lib/sudoku/boards/medium-2005-02-20.su - 664 sys sys 1117314023 180
+1123101124 654 m sys/games/lib/sudoku/boards/medium-2005-02-21.su - 664 sys sys 1117314023 180
+1123101124 655 m sys/games/lib/sudoku/boards/medium-2005-02-22.su - 664 sys sys 1117314023 180
+1123101124 656 m sys/games/lib/sudoku/boards/medium-2005-02-23.su - 664 sys sys 1117314023 180
+1123101124 657 m sys/games/lib/sudoku/boards/medium-2005-02-24.su - 664 sys sys 1117314024 180
+1123101124 658 m sys/games/lib/sudoku/boards/medium-2005-02-25.su - 664 sys sys 1117314025 180
+1123101124 659 m sys/games/lib/sudoku/boards/medium-2005-02-26.su - 664 sys sys 1117314025 180
+1123101124 660 m sys/games/lib/sudoku/boards/medium-2005-02-27.su - 664 sys sys 1117314025 180
+1123101124 661 m sys/games/lib/sudoku/boards/medium-2005-02-28.su - 664 sys sys 1117314025 180
+1123101124 662 m sys/games/lib/sudoku/boards/medium-2005-03-01.su - 664 sys sys 1117314025 180
+1123101124 663 m sys/games/lib/sudoku/boards/medium-2005-03-02.su - 664 sys sys 1117314026 180
+1123101124 664 m sys/games/lib/sudoku/boards/medium-2005-03-15.su - 664 sys sys 1117314026 180
+1123101124 665 m sys/games/lib/sudoku/boards/medium-2005-03-16.su - 664 sys sys 1117314026 180
+1123101124 666 m sys/games/lib/sudoku/boards/medium-2005-03-18.su - 664 sys sys 1117314026 180
+1123101124 667 m sys/games/lib/sudoku/boards/medium-2005-03-21.su - 664 sys sys 1117314026 180
+1123101124 668 m sys/games/lib/sudoku/boards/medium-2005-03-22.su - 664 sys sys 1117314026 180
+1123101124 669 m sys/games/lib/sudoku/boards/medium-2005-03-23.su - 664 sys sys 1117314026 180
+1123101124 670 m sys/games/lib/sudoku/boards/medium-2005-03-24.su - 664 sys sys 1117314026 180
+1123101124 671 m sys/games/lib/sudoku/boards/medium-2005-03-28.su - 664 sys sys 1117314026 180
+1123101124 672 m sys/games/lib/sudoku/boards/medium-2005-03-30.su - 664 sys sys 1117314027 180
+1123101124 673 m sys/games/lib/sudoku/boards/medium-2005-03-31.su - 664 sys sys 1117314027 180
+1123101124 674 m sys/games/lib/sudoku/boards/medium-2005-04-01.su - 664 sys sys 1117314027 180
+1123101124 675 m sys/games/lib/sudoku/boards/medium-2005-04-04.su - 664 sys sys 1117314027 180
+1123101124 676 m sys/games/lib/sudoku/boards/medium-2005-04-05.su - 664 sys sys 1117314027 180
+1123101124 677 m sys/games/lib/sudoku/boards/medium-2005-04-06.su - 664 sys sys 1117314027 180
+1123101124 678 m sys/games/lib/sudoku/boards/medium-2005-04-12.su - 664 sys sys 1117314027 180
+1123101124 679 m sys/games/lib/sudoku/boards/medium-2005-04-13.su - 664 sys sys 1117314027 180
+1123101124 680 m sys/games/lib/sudoku/boards/medium-2005-04-14.su - 664 sys sys 1117314027 180
+1123101124 681 m sys/games/lib/sudoku/boards/medium-2005-04-15.su - 664 sys sys 1117314028 180
+1123101124 682 m sys/games/lib/sudoku/boards/medium-2005-04-18.su - 664 sys sys 1117314028 180
+1123101124 683 m sys/games/lib/sudoku/boards/medium-2005-04-19.su - 664 sys sys 1117314028 180
+1123101124 684 m sys/games/lib/sudoku/boards/medium-2005-04-20.su - 664 sys sys 1117314028 180
+1123101124 685 m sys/games/lib/sudoku/boards/medium-2005-04-21.su - 664 sys sys 1117314028 180
+1123101124 686 m sys/games/lib/sudoku/boards/medium-2005-04-25.su - 664 sys sys 1117314028 180
+1123101124 687 m sys/games/lib/sudoku/boards/medium-2005-04-27.su - 664 sys sys 1117314028 180
+1123101124 688 m sys/games/lib/sudoku/boards/medium-2005-04-29.su - 664 sys sys 1117314028 180
+1123101124 689 m sys/games/lib/sudoku/boards/medium-2005-05-02.su - 664 sys sys 1117314028 180
+1123101124 690 m sys/games/lib/sudoku/boards/medium-2005-05-03.su - 664 sys sys 1117314029 180
+1123101124 691 m sys/games/lib/sudoku/boards/medium-2005-05-04.su - 664 sys sys 1117314029 180
+1123101124 692 m sys/games/lib/sudoku/boards/medium-2005-05-05.su - 664 sys sys 1117314029 180
+1123101124 693 m sys/games/lib/sudoku/boards/medium-2005-05-06.su - 664 sys sys 1117314029 180
+1123101124 694 m sys/games/lib/sudoku/boards/medium-2005-05-09.su - 664 sys sys 1117314029 180
+1123101124 695 m sys/games/lib/sudoku/boards/medium-2005-05-10.su - 664 sys sys 1117314029 180
+1123101124 696 m sys/games/lib/sudoku/boards/medium-2005-05-11.su - 664 sys sys 1117314029 180
+1123101124 697 m sys/games/lib/sudoku/boards/medium-2005-05-12.su - 664 sys sys 1117314029 180
+1123101124 698 m sys/games/lib/sudoku/boards/medium-2005-05-13.su - 664 sys sys 1117314029 180
+1123101124 699 m sys/games/lib/sudoku/boards/medium-2005-05-16.su - 664 sys sys 1117314030 180
+1123101124 700 m sys/games/lib/sudoku/boards/medium-2005-05-17.su - 664 sys sys 1117314031 180
+1123101124 701 m sys/games/lib/sudoku/boards/medium-2005-05-18.su - 664 sys sys 1117314031 180
+1123101124 702 m sys/games/lib/sudoku/boards/medium-2005-05-20.su - 664 sys sys 1117314031 180
+1123101124 703 m sys/games/lib/sudoku/boards/medium-2005-05-25.su - 664 sys sys 1117314031 180
+1123101124 704 m sys/games/lib/sudoku/boards/medium-2005-05-26.su - 664 sys sys 1117314031 180
+1123101124 705 m sys/games/lib/sudoku/boards/medium-2005-05-27.su - 664 sys sys 1117314031 180
+1123101124 706 m sys/games/lib/sudoku/boards/vhard-2005-03-17.su - 664 sys sys 1117314032 180
+1123101124 707 m sys/games/lib/sudoku/boards/vhard-2005-03-20.su - 664 sys sys 1117314032 180
+1123101124 708 m sys/games/lib/sudoku/boards/vhard-2005-03-25.su - 664 sys sys 1117314032 180
+1123101124 709 m sys/games/lib/sudoku/boards/vhard-2005-04-10.su - 664 sys sys 1117314032 180
+1123101124 710 m sys/games/lib/sudoku/boards/vhard-2005-04-16.su - 664 sys sys 1117314032 180
+1123101124 711 m sys/games/lib/sudoku/boards/vhard-2005-05-08.su - 664 sys sys 1117314032 180
+1123101124 712 m sys/lib/astar/a100i.cp - 664 sys sys 954272855 30662
+1123101124 713 m sys/lib/scribble/classifiers/digits.cl - 664 sys sys 985554039 17429
+1123101124 714 m sys/lib/scribble/classifiers/letters.cl - 664 sys sys 985554043 86922
+1123101124 715 m sys/lib/scribble/classifiers/punc.cl - 664 sys sys 985554046 31208
+1123101124 716 m sys/lib/tmac/tmac.anhtml - 664 sys sys 984696197 105
+1123101124 717 m sys/lib/tmac/tmac.uni - 664 sys sys 944956204 1224
+1123101124 718 m sys/lib/troff/font/devutf/charlib/pw - 664 sys sys 944957516 3139
+1123101124 719 m sys/man/3/kbmap - 664 sys sys 1079463778 1331
+1123101124 720 m sys/src/9/port/devkbmap.c - 664 sys sys 1079463756 2774
+1123101124 721 m sys/src/cmd/tcs/font/mkfile - 664 sys sys 944961251 2650
+1123101124 722 m sys/src/libmach/6c - 20000000775 sys sys 1123100867 0
+1123101124 723 m sys/src/libmach/6c/6.out.h - 664 sys sys 1114459480 7984
+1123101124 724 d sys/src/ape/cmd/make-3.79/w32/subproc/w32err.c - 644 sys sys 1014921978 0
+1123101124 725 d sys/src/ape/cmd/make-3.79/w32/subproc/sub_proc.c - 644 sys sys 1014921978 0
+1123101124 726 d sys/src/ape/cmd/make-3.79/w32/subproc/proc.h - 644 sys sys 1014921978 0
+1123101124 727 d sys/src/ape/cmd/make-3.79/w32/subproc/misc.c - 644 sys sys 1014921978 0
+1123101124 728 d sys/src/ape/cmd/make-3.79/w32/subproc/build.bat - 644 sys sys 1014921978 0
+1123101124 729 d sys/src/ape/cmd/make-3.79/w32/subproc/NMakefile - 644 sys sys 1014921978 0
+1123101124 730 d sys/src/ape/cmd/make-3.79/w32/subproc - 20000000755 sys sys 1014921978 0
+1123101124 731 d sys/src/ape/cmd/make-3.79/w32/include/w32err.h - 644 sys sys 1014921978 0
+1123101124 732 d sys/src/ape/cmd/make-3.79/w32/include/sub_proc.h - 644 sys sys 1014921978 0
+1123101124 733 d sys/src/ape/cmd/make-3.79/w32/include/pathstuff.h - 644 sys sys 1014921978 0
+1123101124 734 d sys/src/ape/cmd/make-3.79/w32/include/dirent.h - 644 sys sys 1014921978 0
+1123101124 735 d sys/src/ape/cmd/make-3.79/w32/include - 20000000755 sys sys 1014921978 0
+1123101124 736 d sys/src/ape/cmd/make-3.79/w32/compat/dirent.c - 644 sys sys 1014921978 0
+1123101124 737 d sys/src/ape/cmd/make-3.79/w32/compat - 20000000755 sys sys 1014921978 0
+1123101124 738 d sys/src/ape/cmd/make-3.79/w32 - 20000000775 sys sys 1014921978 0
+1123101124 739 d sys/src/ape/cmd/make-3.79/tests/scripts/variables/flavors - 644 sys sys 1014921981 0
+1123101124 740 d sys/src/ape/cmd/make-3.79/tests/scripts/variables/MAKELEVEL - 644 sys sys 1014921981 0
+1123101124 741 d sys/src/ape/cmd/make-3.79/tests/scripts/variables/MAKEFILES - 644 sys sys 1014921981 0
+1123101124 742 d sys/src/ape/cmd/make-3.79/tests/scripts/variables/MAKECMDGOALS - 644 sys sys 1014921981 0
+1123101124 743 d sys/src/ape/cmd/make-3.79/tests/scripts/variables/MAKE - 644 sys sys 1014921981 0
+1123101124 744 d sys/src/ape/cmd/make-3.79/tests/scripts/variables/CURDIR - 644 sys sys 1014921981 0
+1123101124 745 d sys/src/ape/cmd/make-3.79/tests/scripts/variables - 20000000755 sys sys 1014921981 0
+1123101124 746 d sys/src/ape/cmd/make-3.79/tests/scripts/test_template - 644 sys sys 1014921979 0
+1123101124 747 d sys/src/ape/cmd/make-3.79/tests/scripts/targets/clean - 644 sys sys 1014921981 0
+1123101124 748 d sys/src/ape/cmd/make-3.79/tests/scripts/targets/SILENT - 644 sys sys 1014921981 0
+1123101124 749 d sys/src/ape/cmd/make-3.79/tests/scripts/targets/SECONDARY - 644 sys sys 1014921980 0
+1123101124 750 d sys/src/ape/cmd/make-3.79/tests/scripts/targets/PHONY - 644 sys sys 1014921980 0
+1123101124 751 d sys/src/ape/cmd/make-3.79/tests/scripts/targets/INTERMEDIATE - 644 sys sys 1014921980 0
+1123101124 752 d sys/src/ape/cmd/make-3.79/tests/scripts/targets/FORCE - 644 sys sys 1014921980 0
+1123101124 753 d sys/src/ape/cmd/make-3.79/tests/scripts/targets/DEFAULT - 644 sys sys 1014921980 0
+1123101124 754 d sys/src/ape/cmd/make-3.79/tests/scripts/targets - 20000000755 sys sys 1014921981 0
+1123101124 755 d sys/src/ape/cmd/make-3.79/tests/scripts/options/dash-n - 644 sys sys 1014921980 0
+1123101124 756 d sys/src/ape/cmd/make-3.79/tests/scripts/options/dash-l - 644 sys sys 1014921980 0
+1123101124 757 d sys/src/ape/cmd/make-3.79/tests/scripts/options/dash-k - 644 sys sys 1014921980 0
+1123101124 758 d sys/src/ape/cmd/make-3.79/tests/scripts/options/dash-f - 644 sys sys 1014921980 0
+1123101124 759 d sys/src/ape/cmd/make-3.79/tests/scripts/options/dash-e - 644 sys sys 1014921980 0
+1123101124 760 d sys/src/ape/cmd/make-3.79/tests/scripts/options/dash-I - 644 sys sys 1014921980 0
+1123101124 761 d sys/src/ape/cmd/make-3.79/tests/scripts/options/dash-C - 644 sys sys 1014921980 0
+1123101124 762 d sys/src/ape/cmd/make-3.79/tests/scripts/options - 20000000755 sys sys 1014921980 0
+1123101124 763 d sys/src/ape/cmd/make-3.79/tests/scripts/misc/version - 644 sys sys 1014921980 0
+1123101124 764 d sys/src/ape/cmd/make-3.79/tests/scripts/misc/general3 - 644 sys sys 1014921980 0
+1123101124 765 d sys/src/ape/cmd/make-3.79/tests/scripts/misc/general2 - 644 sys sys 1014921980 0
+1123101124 766 d sys/src/ape/cmd/make-3.79/tests/scripts/misc/general1 - 644 sys sys 1014921980 0
+1123101124 767 d sys/src/ape/cmd/make-3.79/tests/scripts/misc - 20000000755 sys sys 1014921980 0
+1123101124 768 d sys/src/ape/cmd/make-3.79/tests/scripts/functions/word - 644 sys sys 1014921980 0
+1123101124 769 d sys/src/ape/cmd/make-3.79/tests/scripts/functions/wildcard - 644 sys sys 1014921980 0
+1123101124 770 d sys/src/ape/cmd/make-3.79/tests/scripts/functions/warning - 644 sys sys 1014921980 0
+1123101124 771 d sys/src/ape/cmd/make-3.79/tests/scripts/functions/suffix - 644 sys sys 1014921980 0
+1123101124 772 d sys/src/ape/cmd/make-3.79/tests/scripts/functions/substitution - 644 sys sys 1014921979 0
+1123101124 773 d sys/src/ape/cmd/make-3.79/tests/scripts/functions/strip - 644 sys sys 1014921980 0
+1123101124 774 d sys/src/ape/cmd/make-3.79/tests/scripts/functions/sort - 644 sys sys 1014921980 0
+1123101124 775 d sys/src/ape/cmd/make-3.79/tests/scripts/functions/origin - 644 sys sys 1014921980 0
+1123101124 776 d sys/src/ape/cmd/make-3.79/tests/scripts/functions/notdir - 644 sys sys 1014921980 0
+1123101124 777 d sys/src/ape/cmd/make-3.79/tests/scripts/functions/join - 644 sys sys 1014921980 0
+1123101124 778 d sys/src/ape/cmd/make-3.79/tests/scripts/functions/if - 644 sys sys 1014921979 0
+1123101124 779 d sys/src/ape/cmd/make-3.79/tests/scripts/functions/foreach - 644 sys sys 1014921979 0
+1123101124 780 d sys/src/ape/cmd/make-3.79/tests/scripts/functions/findstring - 644 sys sys 1014921979 0
+1123101124 781 d sys/src/ape/cmd/make-3.79/tests/scripts/functions/filter-out - 644 sys sys 1014921979 0
+1123101124 782 d sys/src/ape/cmd/make-3.79/tests/scripts/functions/error - 644 sys sys 1014921979 0
+1123101124 783 d sys/src/ape/cmd/make-3.79/tests/scripts/functions/dir - 644 sys sys 1014921979 0
+1123101124 784 d sys/src/ape/cmd/make-3.79/tests/scripts/functions/call - 644 sys sys 1014921979 0
+1123101124 785 d sys/src/ape/cmd/make-3.79/tests/scripts/functions/basename - 644 sys sys 1014921979 0
+1123101124 786 d sys/src/ape/cmd/make-3.79/tests/scripts/functions/addsuffix - 644 sys sys 1014921979 0
+1123101124 787 d sys/src/ape/cmd/make-3.79/tests/scripts/functions/addprefix - 644 sys sys 1014921979 0
+1123101124 788 d sys/src/ape/cmd/make-3.79/tests/scripts/functions - 20000000755 sys sys 1014921980 0
+1123101124 789 d sys/src/ape/cmd/make-3.79/tests/scripts/features/vpathplus - 644 sys sys 1014921979 0
+1123101124 790 d sys/src/ape/cmd/make-3.79/tests/scripts/features/vpathgpath - 644 sys sys 1014921979 0
+1123101124 791 d sys/src/ape/cmd/make-3.79/tests/scripts/features/vpath2 - 644 sys sys 1014921979 0
+1123101124 792 d sys/src/ape/cmd/make-3.79/tests/scripts/features/vpath - 644 sys sys 1014921979 0
+1123101124 793 d sys/src/ape/cmd/make-3.79/tests/scripts/features/varnesting - 644 sys sys 1014921979 0
+1123101124 794 d sys/src/ape/cmd/make-3.79/tests/scripts/features/targetvars - 644 sys sys 1014921979 0
+1123101124 795 d sys/src/ape/cmd/make-3.79/tests/scripts/features/statipattrules - 644 sys sys 1014921979 0
+1123101124 796 d sys/src/ape/cmd/make-3.79/tests/scripts/features/reinvoke - 644 sys sys 1014921979 0
+1123101124 797 d sys/src/ape/cmd/make-3.79/tests/scripts/features/recursion - 644 sys sys 1014921979 0
+1123101124 798 d sys/src/ape/cmd/make-3.79/tests/scripts/features/quoting - 644 sys sys 1014921979 0
+1123101124 799 d sys/src/ape/cmd/make-3.79/tests/scripts/features/patspecific_vars - 644 sys sys 1014921979 0
+1123101124 800 d sys/src/ape/cmd/make-3.79/tests/scripts/features/parallelism - 644 sys sys 1014921979 0
+1123101124 801 d sys/src/ape/cmd/make-3.79/tests/scripts/features/override - 644 sys sys 1014921979 0
+1123101124 802 d sys/src/ape/cmd/make-3.79/tests/scripts/features/mult_targets - 644 sys sys 1014921979 0
+1123101124 803 d sys/src/ape/cmd/make-3.79/tests/scripts/features/mult_rules - 644 sys sys 1014921979 0
+1123101124 804 d sys/src/ape/cmd/make-3.79/tests/scripts/features/include - 644 sys sys 1014921979 0
+1123101124 805 d sys/src/ape/cmd/make-3.79/tests/scripts/features/escape - 644 sys sys 1014921978 0
+1123101124 806 d sys/src/ape/cmd/make-3.79/tests/scripts/features/errors - 644 sys sys 1014921978 0
+1123101124 807 d sys/src/ape/cmd/make-3.79/tests/scripts/features/echoing - 644 sys sys 1014921978 0
+1123101124 808 d sys/src/ape/cmd/make-3.79/tests/scripts/features/double_colon - 644 sys sys 1014921978 0
+1123101124 809 d sys/src/ape/cmd/make-3.79/tests/scripts/features/default_names - 644 sys sys 1014921978 0
+1123101124 810 d sys/src/ape/cmd/make-3.79/tests/scripts/features/conditionals - 644 sys sys 1014921978 0
+1123101124 811 d sys/src/ape/cmd/make-3.79/tests/scripts/features/comments - 644 sys sys 1014921978 0
+1123101124 812 d sys/src/ape/cmd/make-3.79/tests/scripts/features - 20000000755 sys sys 1014921979 0
+1123101124 813 d sys/src/ape/cmd/make-3.79/tests/scripts - 20000000755 sys sys 1014921981 0
+1123101124 814 d sys/src/ape/cmd/make-3.79/tests - 20000000775 sys sys 1014921978 0
+1123101124 815 d sys/src/ape/cmd/make-3.79 - 20000000775 sys sys 1039727530 0
+1123124529 0 c 386/bin/8c - 775 sys sys 1123123797 358182
+1123124529 1 c 386/bin/mk - 775 sys sys 1123123798 144048
+1123124529 2 c 386/bin/aux/consolefs - 775 sys sys 1123123797 153859
+1123124529 3 c 386/bin/tail - 775 sys sys 1123123798 66144
+1123124529 4 c 386/bin/trace - 775 sys sys 1123123799 180764
+1123124529 5 c sys/src/cmd/tail.c - 664 sys sys 1123123922 6034

+ 1 - 1
sys/doc/venti/venti.pdf

@@ -116,7 +116,7 @@ scansources-mail:V:
 	scansources |mail -s 'nightly fs vs. martha scan '^$dd 9trouble
 
 worldwritable-mail:V:
-	cd /n/sources; /usr/rsc/bin/$cputype/lsr -t -d | awk '$2 ~ /[2367]$/' |grep -v '^./patch' >/sys/lib/dist/writable
+	cd /n/sources; /usr/rsc/bin/$cputype/lsr -t -d | awk '$2 ~ /[2367]$/' |{grep -v '^./patch' >/sys/lib/dist/writable || status=''}
 	if(test -s /sys/lib/dist/writable){
 		dd=`{date}
 		dd=$"date

+ 1 - 0
sys/lib/dist/pc/mkfile

@@ -38,6 +38,7 @@ root.bz2:Q: boot.bz2
 
 /sys/src/9/pc/9pcflop.gz: root.bz2
 	@{
+		rfork n
 		cd /sys/src/9/pc
 		mk 'CONF=pcflop' 9pcflop.gz
 	}

+ 1 - 1
sys/src/9/ppc/m8260.c

@@ -145,7 +145,7 @@ machinit(void)
 	 * Currently we use 32-bit transfers, because the 8260 does not easily do 64-bit operations.
 	 */
 	iomem->bank[6].br = 0xe0001801;
-	iomem->bank[6].or = 0xff000896;	/* Was 0xff000816; one wait state */
+	iomem->bank[6].or = 0xff000830;	/* Was 0xff000816 */
 
 /*
  * All systems with rev. A.1 (0K26N) silicon had serious problems when doing

+ 0 - 35
sys/src/ape/cmd/make-3.79/tests/scripts/features/comments

@@ -1,35 +0,0 @@
-$description = "The following test creates a makefile to test comments\n"
-              ."and comment continuation to the next line using a \n"
-              ."backslash within makefiles.";
-
-$details = "To test comments within a makefile, a semi-colon was placed \n"
-          ."after a comment was started.  This should not be reported as\n"
-          ."an error since it is within a comment.  We then continue the \n"
-          ."comment to the next line using a backslash.  To test whether\n"
-          ."the comment really continued, we place an echo command with some\n"
-          ."text on the line which should never execute since it should be \n"
-          ."within a comment\n";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE <<\EOF;
-# Test comment vs semicolon parsing and line continuation
-target: # this ; is just a comment \
-	@echo This is within a comment. 
-	@echo There should be no errors for this makefile.
-EOF
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,"",&get_logfile);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "There should be no errors for this makefile.\n";
-
-# COMPARE RESULTS
-
-&compare_output($answer,&get_logfile(1))

+ 0 - 67
sys/src/ape/cmd/make-3.79/tests/scripts/features/conditionals

@@ -1,67 +0,0 @@
-#                                                                    -*-perl-*-
-$description = "Check GNU make conditionals.";
-
-$details = "Attempt various different flavors of GNU make conditionals.";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE <<'EOMAKE';
-objects = foo.obj
-arg1 = first
-arg2 = second
-arg3 = third
-arg4 = cc
-arg5 = second
-
-all:
-ifeq ($(arg1),$(arg2))
-	@echo arg1 equals arg2
-else
-	@echo arg1 NOT equal arg2
-endif
-
-ifeq '$(arg2)' "$(arg5)"
-	@echo arg2 equals arg5
-else
-	@echo arg2 NOT equal arg5
-endif
-
-ifneq '$(arg3)' '$(arg4)'
-	@echo arg3 NOT equal arg4
-else
-	@echo arg3 equal arg4
-endif
-
-ifndef undefined
-	@echo variable is undefined
-else
-	@echo variable undefined is defined
-endif
-ifdef arg4
-	@echo arg4 is defined
-else
-	@echo arg4 is NOT defined
-endif
-
-EOMAKE
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,"",&get_logfile,0);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "arg1 NOT equal arg2
-arg2 equals arg5
-arg3 NOT equal arg4
-variable is undefined
-arg4 is defined
-";
-
-# COMPARE RESULTS
-
-&compare_output($answer,&get_logfile(1));
-
-# This tells the test driver that the perl test script executed properly.
-1;

+ 0 - 65
sys/src/ape/cmd/make-3.79/tests/scripts/features/default_names

@@ -1,65 +0,0 @@
-#                                                                    -*-perl-*-
-
-$description = "This script tests to make sure that Make looks for
-default makefiles in the correct order (GNUmakefile,makefile,Makefile)";
-
-# Create a makefile called "GNUmakefile"
-$makefile = "GNUmakefile";
-
-open(MAKEFILE,"> $makefile");
-
-print MAKEFILE "FIRST: ; \@echo It chose GNUmakefile\n";
-
-close(MAKEFILE);
-
-# DOS/WIN32 platforms preserve case, but Makefile is the same file as makefile.
-# Just test what we can here (avoid Makefile versus makefile test).
-#
-if ($port_type eq 'UNIX')
-{
-  # Create another makefile called "makefile"
-  open(MAKEFILE,"> makefile");
-
-  print MAKEFILE "SECOND: ; \@echo It chose makefile\n";
-
-  close(MAKEFILE);
-}
-
-
-# Create another makefile called "Makefile"
-open(MAKEFILE,"> Makefile");
-
-print MAKEFILE "THIRD: ; \@echo It chose Makefile\n";
-
-close(MAKEFILE);
-
-
-&run_make_with_options("","",&get_logfile);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "It chose GNUmakefile\n";
-
-# COMPARE RESULTS
-
-&compare_output($answer,&get_logfile(1)) || &error("abort");
-unlink $makefile;
-
-# DOS/WIN32 platforms preserve case, but Makefile is the same file as makefile.
-# Just test what we can here (avoid Makefile versus makefile test).
-#
-if ($port_type eq 'UNIX')
-{
-  $answer = "It chose makefile\n";
-
-  &run_make_with_options("","",&get_logfile);
-
-  &compare_output($answer,&get_logfile(1)) || &error("abort");
-  unlink "makefile";
-}
-
-$answer = "It chose Makefile\n";
-
-&run_make_with_options("","",&get_logfile);
-
-&compare_output($answer,&get_logfile(1)) || &error("abort");
-unlink "Makefile";

+ 0 - 117
sys/src/ape/cmd/make-3.79/tests/scripts/features/double_colon

@@ -1,117 +0,0 @@
-#                                                                    -*-perl-*-
-$description = "Test handling of double-colon rules.";
-
-$details = "\
-We test these features:
-
-  - Multiple commands for the same (double-colon) target
-  - Different prerequisites for targets: only out-of-date
-    ones are rebuilt.
-  - Double-colon targets that aren't the goal target.
-
-Then we do the same thing for parallel builds: double-colon
-targets should always be built serially.";
-
-# The Contents of the MAKEFILE ...
-
-open(MAKEFILE,"> $makefile");
-
-print MAKEFILE <<'EOF';
-
-all: baz
-
-foo:: f1.h ; @echo foo FIRST
-foo:: f2.h ; @echo foo SECOND
-
-bar:: ; @echo aaa; sleep 1; echo aaa done
-bar:: ; @echo bbb
-
-baz:: ; @echo aaa
-baz:: ; @echo bbb
-
-biz:: ; @echo aaa
-biz:: two ; @echo bbb
-
-two: ; @echo two
-
-f1.h f2.h: ; @echo $@
-
-d :: ; @echo ok
-d :: d ; @echo oops
-
-EOF
-
-close(MAKEFILE);
-
-# TEST 0: A simple double-colon rule that isn't the goal target.
-
-&run_make_with_options($makefile, "all", &get_logfile, 0);
-$answer = "aaa\nbbb\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST 1: As above, in parallel
-
-&run_make_with_options($makefile, "-j10 all", &get_logfile, 0);
-$answer = "aaa\nbbb\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST 2: A simple double-colon rule that is the goal target
-
-&run_make_with_options($makefile, "bar", &get_logfile, 0);
-$answer = "aaa\naaa done\nbbb\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST 3: As above, in parallel
-
-&run_make_with_options($makefile, "-j10 bar", &get_logfile, 0);
-$answer = "aaa\naaa done\nbbb\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST 4: Each double-colon rule is supposed to be run individually
-
-&touch('f2.h');
-&touch('foo');
-
-&run_make_with_options($makefile, "foo", &get_logfile, 0);
-$answer = "f1.h\nfoo FIRST\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST 5: Again, in parallel.
-
-&run_make_with_options($makefile, "-j10 foo", &get_logfile, 0);
-$answer = "f1.h\nfoo FIRST\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST 6: Each double-colon rule is supposed to be run individually
-
-&touch('f1.h');
-unlink('f2.h');
-&touch('foo');
-
-&run_make_with_options($makefile, "foo", &get_logfile, 0);
-$answer = "f2.h\nfoo SECOND\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST 7: Again, in parallel.
-
-&run_make_with_options($makefile, "-j10 foo", &get_logfile, 0);
-$answer = "f2.h\nfoo SECOND\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST 8: Test circular dependency check; PR/1671
-
-&run_make_with_options($makefile, "d", &get_logfile, 0);
-$answer = "ok\n$make_name: Circular d <- d dependency dropped.\noops\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST 8: I don't grok why this is different than the above, but it is...
-#
-# Hmm... further testing indicates this might be timing-dependent?
-#
-#&run_make_with_options($makefile, "-j10 biz", &get_logfile, 0);
-#$answer = "aaa\ntwo\nbbb\n";
-#&compare_output($answer, &get_logfile(1));
-
-unlink('foo','f1.h','f2.h');
-
-1;

+ 0 - 90
sys/src/ape/cmd/make-3.79/tests/scripts/features/echoing

@@ -1,90 +0,0 @@
-$description = "The following test creates a makefile to test command \n"
-              ."echoing.  It tests that when a command line starts with \n"
-              ."a '\@', the echoing of that line is suppressed.  It also \n"
-              ."tests the -n option which tells make to ONLY echo the  \n"
-              ."commands and no execution happens.  In this case, even \n"
-              ."the commands with '\@' are printed. Lastly, it tests the \n"
-              ."-s flag which tells make to prevent all echoing, as if \n"
-              ."all commands started with a '\@'.";
-
-$details = "This test is similar to the 'clean' test except that a '\@' has\n"
-          ."been placed in front of the delete command line.  Four tests \n"
-          ."are run here.  First, make is run normally and the first echo\n"
-          ."command should be executed.  In this case there is no '\@' so \n"
-          ."we should expect make to display the command AND display the \n"
-          ."echoed message.  Secondly, make is run with the clean target, \n"
-          ."but since there is a '\@' at the beginning of the command, we\n"
-          ."expect no output; just the deletion of a file which we check \n"
-          ."for.  Third, we give the clean target again except this time\n"
-          ."we give make the -n option.  We now expect the command to be \n"
-          ."displayed but not to be executed.  In this case we need only \n"
-          ."to check the output since an error message would be displayed\n"
-          ."if it actually tried to run the delete command again and the \n"
-          ."file didn't exist. Lastly, we run the first test again with \n"
-          ."the -s option and check that make did not echo the echo \n"
-          ."command before printing the message.";
-
-$example = "EXAMPLE_FILE";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "all: \n";
-print MAKEFILE "\techo This makefile did not clean the dir... good\n";
-print MAKEFILE "clean: \n";
-print MAKEFILE "\t\@$delete_command $example\n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&touch($example);
-
-# TEST #1
-# -------
-
-&run_make_with_options($makefile,"",&get_logfile,0);
-$answer = "echo This makefile did not clean the dir... good\n"
-         ."This makefile did not clean the dir... good\n";
-&compare_output($answer,&get_logfile(1));
-
-
-# TEST #2
-# -------
-
-&run_make_with_options($makefile,"clean",&get_logfile,0);
-$answer = "";
-&compare_output($answer,&get_logfile(1));
-
-if (-f $example)
-{
-   $test_passed = 0;
-}
-
-# TEST #3
-# -------
-
-&run_make_with_options($makefile,"-n clean",&get_logfile,0);
-$answer = "$delete_command $example\n";
-&compare_output($answer,&get_logfile(1));
-
-
-# TEST #4
-# -------
-
-&run_make_with_options($makefile,"-s",&get_logfile,0);
-$answer = "This makefile did not clean the dir... good\n";
-&compare_output($answer,&get_logfile(1));
-
-
-1;
-
-
-
-
-
-
-
-
-

+ 0 - 93
sys/src/ape/cmd/make-3.79/tests/scripts/features/errors

@@ -1,93 +0,0 @@
-$description = "The following tests the -i option and the '-' in front of \n"
-              ."commands to test that make ignores errors in these commands\n"
-              ."and continues processing.";
-
-$details = "This test runs two makes.  The first runs on a target with a \n"
-          ."command that has a '-' in front of it (and a command that is \n"
-          ."intended to fail) and then a delete command after that is \n"
-          ."intended to succeed.  If make ignores the failure of the first\n"
-          ."command as it is supposed to, then the second command should \n"
-          ."delete a file and this is what we check for.  The second make\n"
-          ."that is run in this test is identical except that the make \n"
-          ."command is given with the -i option instead of the '-' in \n"
-          ."front of the command.  They should run the same. ";
-
-if ($vos)
-{
-   $delete_command = "delete_file";
-}
-else
-{
-   $delete_command = "rm";
-}
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "clean:\n"
-              ."\t-$delete_command cleanit\n"
-              ."\t$delete_command foo\n"
-	      ."clean2: \n"
-              ."\t$delete_command cleanit\n"
-              ."\t$delete_command foo\n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&touch("foo");
-
-unlink("cleanit");
-$cleanit_error = `sh -c "$delete_command cleanit 2>&1"`;
-$delete_error_code = $? >> 8;
-
-# TEST #1
-# -------
-
-$answer = "$delete_command cleanit\n"
-         . $cleanit_error
-         ."$make_name: [clean] Error $delete_error_code (ignored)\n"
-         ."$delete_command foo\n";
-
-&run_make_with_options($makefile,"",&get_logfile);
-
-# The output for this on VOS is too hard to replicate, so we only check it
-# on unix.
-if (!$vos)
-{
-   &compare_output($answer,&get_logfile(1));
-}
-
-# If make acted as planned, it should ignore the error from the first
-# command in the target and execute the second which deletes the file "foo"
-# This file, therefore, should not exist if the test PASSES.
-if (-f "foo")
-{
-   $test_passed = 0;
-}
-
-
-&touch("foo");
-
-# TEST #2
-# -------
-
-$answer = "$delete_command cleanit\n"
-         . $cleanit_error
-         ."$make_name: [clean2] Error $delete_error_code (ignored)\n"
-         ."$delete_command foo\n";
-
-&run_make_with_options($makefile,"clean2 -i",&get_logfile);
-
-if (!$vos)
-{
-   &compare_output($answer,&get_logfile(1));
-}
-
-if (-f "foo")
-{
-   $test_passed = 0;
-}
-
-1;

+ 0 - 50
sys/src/ape/cmd/make-3.79/tests/scripts/features/escape

@@ -1,50 +0,0 @@
-#                                                                    -*-perl-*-
-$description = "Test various types of escaping in makefiles.";
-
-$details = "\
-Make sure that escaping of `:' works in target names.
-Also make sure escaping of whitespace works in target names";
-
-open(MAKEFILE,"> $makefile");
-
-print MAKEFILE <<'EOF';
-$(path)foo : ; @echo cp $^ $@
-
-foo\ bar: ; @echo 'touch "$@"'
-EOF
-
-close(MAKEFILE);
-
-
-# TEST 1
-
-&run_make_with_options($makefile, "", &get_logfile);
-$answer = "cp foo\n";
-&compare_output($answer,&get_logfile(1));
-
-# TEST 2: This one should fail, since the ":" is unquoted.
-
-&run_make_with_options($makefile, "path=p:", &get_logfile, 512);
-$answer = "$makefile:1: *** target pattern contains no `%'.  Stop.\n";
-&compare_output($answer,&get_logfile(1));
-
-# TEST 3: This one should work, since we escape the ":".
-
-&run_make_with_options($makefile, "'path=p\\:'", &get_logfile, 0);
-$answer = "cp p:foo\n";
-&compare_output($answer,&get_logfile(1));
-
-# TEST 4: This one should fail, since the escape char is escaped.
-
-&run_make_with_options($makefile, "'path=p\\\\:'", &get_logfile, 512);
-$answer = "$makefile:1: *** target pattern contains no `%'.  Stop.\n";
-&compare_output($answer,&get_logfile(1));
-
-# TEST 5: This one should work
-
-&run_make_with_options($makefile, "'foo bar'", &get_logfile, 0);
-$answer = "touch \"foo bar\"\n";
-&compare_output($answer,&get_logfile(1));
-
-# This tells the test driver that the perl test script executed properly.
-1;

+ 0 - 61
sys/src/ape/cmd/make-3.79/tests/scripts/features/include

@@ -1,61 +0,0 @@
-#                                     -*-mode: perl; rm-trailing-spaces: nil-*-
-
-$description = "Test various forms of the GNU make `include' command.";
-
-$details = "Test include, -include, sinclude and various regressions involving them.
-Test extra whitespace at the end of the include, multiple -includes and
-sincludes (should not give an error) and make sure that errors are reported
-for targets that were also -included.";
-
-$makefile2 = &get_tmpfile;
-
-open(MAKEFILE,"> $makefile");
-
-# The contents of the Makefile ...
-
-print MAKEFILE <<EOF;
-\#Extra space at the end of the following file name
-include $makefile2                  
-all: ; \@echo There should be no errors for this makefile.
-
--include nonexistent.mk
--include nonexistent.mk
-sinclude nonexistent.mk
-sinclude nonexistent-2.mk
--include makeit.mk
-sinclude makeit.mk
-
-error: makeit.mk
-EOF
-
-close(MAKEFILE);
-
-
-open(MAKEFILE,"> $makefile2");
-
-print MAKEFILE "ANOTHER: ; \@echo This is another included makefile\n";
-
-close(MAKEFILE);
-
-# Create the answer to what should be produced by this Makefile
-&run_make_with_options($makefile, "all", &get_logfile);
-$answer = "There should be no errors for this makefile.\n";
-&compare_output($answer, &get_logfile(1));
-
-&run_make_with_options($makefile, "ANOTHER", &get_logfile);
-$answer = "This is another included makefile\n";
-&compare_output($answer, &get_logfile(1));
-
-# Try to build the "error" target; this will fail since we don't know
-# how to create makeit.mk, but we should also get a message (even though
-# the -include suppressed it during the makefile read phase, we should
-# see one during the makefile run phase).
-
-# The fix to this caused more problems than the error, so I removed it.
-# pds -- 22 Jan 2000
-
-#&run_make_with_options($makefile, "error", &get_logfile, 512);
-#$answer = "$make_name: *** No rule to make target `makeit.mk', needed by `error'.\n";
-#&compare_output($answer, &get_logfile(1));
-
-1;

+ 0 - 78
sys/src/ape/cmd/make-3.79/tests/scripts/features/mult_rules

@@ -1,78 +0,0 @@
-$description = "\
-The following test creates a makefile to test the presence
-of multiple rules for one target.  One file can be the
-target of several rules if at most one rule has commands;
-the other rules can only have dependencies.";
-
-$details = "\
-The makefile created in this test contains two hardcoded rules
-for foo.o and bar.o.  It then gives another multiple target rule
-with the same names as above but adding more dependencies.
-Additionally, another variable extradeps is listed as a
-dependency but is defined to be null.  It can however be defined
-on the make command line as extradeps=extra.h which adds yet
-another dependency to the targets.";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE <<EOF;
-objects = foo.o bar.o
-foo.o : defs.h
-bar.o : defs.h test.h
-extradeps = 
-\$(objects) : config.h \$(extradeps) 
-\t\@echo EXTRA EXTRA
-EOF
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&touch("defs.h","test.h","config.h");
-
-if ($vos)
-{
-   $error_code = 3307;
-}
-else 
-{
-   $error_code = 512;
-}
-
-&run_make_with_options($makefile,
-                       "extradeps=extra.h",
-                       &get_logfile,
-                       $error_code);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "$make_name: *** No rule to make target `extra.h', needed by `foo.o'.  Stop.\n";
-
-&compare_output($answer,&get_logfile(1));
-
-
-# TEST #2
-# -------
-
-&touch("extra.h");
-
-&run_make_with_options($makefile,
-                       "extradeps=extra.h",
-                       &get_logfile,
-                       0);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "EXTRA EXTRA\n";
-
-&compare_output($answer,&get_logfile(1));
-
-unlink("defs.h","test.h","config.h","extra.h");
-
-1;
-
-
-
-
-
-

+ 0 - 46
sys/src/ape/cmd/make-3.79/tests/scripts/features/mult_targets

@@ -1,46 +0,0 @@
-$description = "The following test creates a makefile to test that a \n "
-              ."rule with multiple targets is equivalent to writing \n"
-              ."many rules, each with one target, and all identical aside\n"
-              ."from that.";
-
-$details = "A makefile is created with one rule and two targets.  Make \n"
-          ."is called twice, once for each target, and the output which \n"
-          ."contains the target name with \$@ is looked at for the changes.\n"
-          ."This test also tests the substitute function by replacing \n"
-          ."the word output with nothing in the target name giving either\n"
-          ."an output of \"I am little\" or \"I am big\"";  
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "bigoutput littleoutput: test.h\n";
-print MAKEFILE "\t\@echo I am \$(subst output,,\$@)\n";  
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&touch("test.h");
-
-&run_make_with_options($makefile,"bigoutput",&get_logfile);
-
-
-# Create the answer to what should be produced by this Makefile
-$answer = "I am big\n";
-
-&compare_output($answer,&get_logfile(1));
-
-&run_make_with_options($makefile,"littleoutput",&get_logfile);
-$answer = "I am little\n";
-&compare_output($answer,&get_logfile(1));
-
-unlink "test.h";
-
-1;
-
-
-
-
-
-

+ 0 - 34
sys/src/ape/cmd/make-3.79/tests/scripts/features/override

@@ -1,34 +0,0 @@
-$description = "The following test creates a makefile to ...";
-
-$details = "";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "override define foo\n"
-              ."\@echo First comes the definition.\n"
-              ."\@echo Then comes the override.\n"
-              ."endef\n"
-              ."all: \n"
-              ."\t\$(foo)\n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,"foo=Hello",&get_logfile);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "First comes the definition.\n"
-         ."Then comes the override.\n";
-
-&compare_output($answer,&get_logfile(1));
-
-1;
-
-
-
-
-
-

+ 0 - 100
sys/src/ape/cmd/make-3.79/tests/scripts/features/parallelism

@@ -1,100 +0,0 @@
-#                                                                    -*-perl-*-
-
-$description = "Test parallelism (-j) option.";
-
-
-$details = "This test creates a makefile with two double-colon default
-rules.  The first rule has a series of sleep and echo commands
-intended to run in series.  The second and third have just an
-echo statement.  When make is called in this test, it is given
-the -j option with a value of 4.  This tells make that it may
-start up to four jobs simultaneously.  In this case, since the
-first command is a sleep command, the output of the second
-and third commands will appear before the first if indeed
-make is running all of these commands in parallel.";
-
-if (!$parallel_jobs) {
-  return -1;
-}
-
-if ($vos) {
-  $delete_command = "delete_file -no_ask";
-  $sleep_command = "sleep -seconds";
-}
-else {
-  $delete_command = "rm -f";
-  $sleep_command = "sleep";
-}
-
-open(MAKEFILE,"> $makefile");
-
-print MAKEFILE <<"EOF";
-all : def_1 def_2 def_3
-def_1 : ; \@echo ONE; $sleep_command 3 ; echo TWO
-def_2 : ; \@$sleep_command 2 ; echo THREE
-def_3 : ; \@$sleep_command 1 ; echo FOUR
-EOF
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile, "-j 4", &get_logfile);
-$answer = "ONE\nFOUR\nTHREE\nTWO\n";
-&compare_output($answer, &get_logfile(1));
-
-
-# Test parallelism with included files.  Here we sleep/echo while
-# building the included files, to test that they are being built in
-# parallel.
-
-$makefile2 = &get_tmpfile;
-
-open(MAKEFILE,"> $makefile2");
-
-print MAKEFILE <<"EOF";
-all: 1 2; \@echo success
-
--include 1.inc 2.inc
-
-1.inc: ; \@echo ONE.inc; $sleep_command 2; echo TWO.inc; echo "1: ; \@echo ONE; $sleep_command 2; echo TWO" > \$\@
-2.inc: ; \@$sleep_command 1; echo THREE.inc; echo "2: ; \@$sleep_command 1; echo THREE" > \$\@
-EOF
-
-close(MAKEFILE);
-
-&run_make_with_options("$makefile2", "-j 4", &get_logfile);
-$answer = "ONE.inc\nTHREE.inc\nTWO.inc\nONE\nTHREE\nTWO\nsuccess\n";
-&compare_output($answer, &get_logfile(1));
-
-unlink('1.inc', '2.inc');
-
-
-# Test parallelism with included files--this time recurse first and make
-# sure the jobserver works.
-
-$makefile3 = &get_tmpfile;
-
-open(MAKEFILE,"> $makefile3");
-
-print MAKEFILE <<"EOF";
-recurse: ; \@\$(MAKE) --no-print-directory -f $makefile3 INC=yes all
-
-all: 1 2; \@echo success
-
-INC = no
-ifeq (\$(INC),yes)
--include 1.inc 2.inc
-endif
-
-1.inc: ; \@echo ONE.inc; $sleep_command 2; echo TWO.inc; echo "1: ; \@echo ONE; $sleep_command 2; echo TWO" > \$\@
-2.inc: ; \@$sleep_command 1; echo THREE.inc; echo "2: ; \@$sleep_command 1; echo THREE" > \$\@
-EOF
-
-close(MAKEFILE);
-
-&run_make_with_options("$makefile3", "-j 4", &get_logfile);
-$answer = "ONE.inc\nTHREE.inc\nTWO.inc\nONE\nTHREE\nTWO\nsuccess\n";
-&compare_output($answer, &get_logfile(1));
-
-unlink('1.inc', '2.inc');
-
-1;

+ 0 - 49
sys/src/ape/cmd/make-3.79/tests/scripts/features/patspecific_vars

@@ -1,49 +0,0 @@
-#                                                                    -*-perl-*-
-$description = "Test pattern-specific variable settings.";
-
-$details = "\
-Create a makefile containing various flavors of pattern-specific variable
-settings, override and non-override, and using various variable expansion
-rules, semicolon interference, etc.";
-
-open(MAKEFILE,"> $makefile");
-
-print MAKEFILE <<'EOF';
-all: one.x two.x three.x
-FOO = foo
-BAR = bar
-BAZ = baz
-thr% : override BAZ = three
-t%.x: BAR = four
-%.x: BAR = two
-%.x: override BAZ = three
-one.x: override FOO = one
-one.x two.x three.x: ; @echo $(FOO) $(BAR) $(BAZ)
-four.x: baz ; @echo $(FOO) $(BAR) $(BAZ)
-baz: ; @echo $(FOO) $(BAR) $(BAZ)
-EOF
-
-close(MAKEFILE);
-
-
-# TEST #1 -- basics
-
-&run_make_with_options($makefile, "", &get_logfile);
-$answer = "one two three\nfoo four baz\nfoo bar three\n";
-&compare_output($answer,&get_logfile(1));
-
-
-# TEST #2 -- try the override feature
-
-&run_make_with_options($makefile, "BAZ=five", &get_logfile);
-$answer = "one two three\nfoo four five\nfoo bar three\n";
-&compare_output($answer,&get_logfile(1));
-
-
-# TEST #3 -- make sure patterns are inherited properly
-
-&run_make_with_options($makefile, "four.x", &get_logfile);
-$answer = "foo two three\nfoo two three\n";
-&compare_output($answer,&get_logfile(1));
-
-1;

+ 0 - 32
sys/src/ape/cmd/make-3.79/tests/scripts/features/quoting

@@ -1,32 +0,0 @@
-#                                                                    -*-perl-*-
-
-$description = "The following test creates a makefile to test using \n" .
-               "quotes within makefiles.";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE <<'EOM';
-SHELL = /bin/sh
-TEXFONTS = NICEFONT
-DEFINES = -DDEFAULT_TFM_PATH=\".:$(TEXFONTS)\"
-test: ; @"echo" 'DEFINES = $(DEFINES)'
-EOM
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-
-&run_make_with_options($makefile,"",&get_logfile);
-
-
-# Create the answer to what should be produced by this Makefile
-$answer = 'DEFINES = -DDEFAULT_TFM_PATH=\".:NICEFONT\"' . "\n";
-
-# COMPARE RESULTS
-
-&compare_output($answer,&get_logfile(1));
-
-1;

+ 0 - 61
sys/src/ape/cmd/make-3.79/tests/scripts/features/recursion

@@ -1,61 +0,0 @@
-#                                                                    -*-perl-*-
-$description = "The following test creates a makefile to ...\n";
-
-$details = "DETAILS";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "all: \n"
-              ."\t\$(MAKE) -f $makefile foo \n"
-              ."foo: \n"
-              ."\t\@echo \$(MAKE) \n"
-              ."\t\@echo MAKELEVEL = \$(MAKELEVEL)\n"
-              ."\t\$(MAKE) -f $makefile last \n"
-              ."last: \n"
-              ."\t\@echo \$(MAKE) \n"
-              ."\t\@echo MAKELEVEL = \$(MAKELEVEL) \n"
-              ."\t\@echo THE END\n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-if ($vos)
-{
-   $answer = "$make_name: Entering directory \`$pwd\'\n"
-            ."make 'CFLAGS=-O' -f $makefile foo \n"
-            ."make CFLAGS=-O\n"
-            ."MAKELEVEL = 0\n"
-            ."make 'CFLAGS=-O' -f $makefile last \n"
-            ."make CFLAGS=-O\n"
-            ."MAKELEVEL = 0\n"
-            ."THE END\n"
-            ."$make_name: Leaving directory `$pwd'\n";
-}
-else
-{
-   $answer = "$make_name: Entering directory `$pwd'\n"
-            ."$mkpath -f $makefile foo \n"
-            ."${make_name}[1]: Entering directory `$pwd'\n"
-            ."$mkpath\n"
-            ."MAKELEVEL = 1\n"
-            ."$mkpath -f $makefile last \n"
-            ."${make_name}[2]: Entering directory `$pwd'\n"
-            ."$mkpath\n"
-            ."MAKELEVEL = 2\n"
-            ."THE END\n"
-            ."${make_name}[2]: Leaving directory `$pwd'\n"
-            ."${make_name}[1]: Leaving directory `$pwd'\n"
-            ."$make_name: Leaving directory `$pwd'\n";
-}
-
-$mkoptions = "CFLAGS=-O -w";
-$mkoptions .= " -j 2" if ($parallel_jobs);
-
-&run_make_with_options($makefile,$mkoptions,&get_logfile,0);
-
-&compare_output($answer,&get_logfile(1));
-
-1;

+ 0 - 92
sys/src/ape/cmd/make-3.79/tests/scripts/features/reinvoke

@@ -1,92 +0,0 @@
-#                                                              -*-mode: perl-*-
-
-$description = "Test GNU make's auto-reinvocation feature.";
-
-$details = "\
-If the makefile or one it includes can be rebuilt then it is, and make
-is reinvoked.  We create a rule to rebuild the makefile from a temp
-file, then touch the temp file to make it newer than the makefile.";
-
-$makefile2 = &get_tmpfile;
-$makefile_orig = &get_tmpfile;
-
-open(MAKEFILE,"> $makefile");
-
-print MAKEFILE <<EOM;
-
-all: ; \@echo 'running rules.'
-
-$makefile $makefile2: $makefile_orig
-	\@echo 'rebuilding \$\@.'
-	\@echo >> \$\@
-
-include $makefile2
-
-EOM
-
-close(MAKEFILE);
-
-&touch($makefile2);
-
-# Sleep 2 seconds for DOS/Windows FAT volumes which have 2-second
-# granularity of file times.
-sleep(2);
-
-&touch("$makefile_orig");
-
-&run_make_with_options($makefile, "", &get_logfile, 0);
-
-# Create the answer to what should be produced by this Makefile
-
-$answer = "rebuilding $makefile2.\nrebuilding $makefile.\nrunning rules.\n";
-
-&compare_output($answer,&get_logfile(1))
-  && unlink "$makefile_orig";
-
-# In this test we create an included file that's out-of-date, but then
-# the rule doesn't update it.  Make shouldn't re-exec.
-
-$makefile3 = &get_tmpfile;
-
-open(MAKEFILE, "> $makefile3");
-print MAKEFILE <<'EOM';
-SHELL = /bin/sh
-
-all: ; @echo hello
-
-a : b ; echo >> $@
-
-b : c ; [ -f $@ ] || echo >> $@
-
-c: ; echo >> $@
-
-include $(F)
-EOM
-
-close(MAKEFILE);
-
-&touch('b');
-&touch('a');
-sleep(2);
-&touch('c');
-
-# First try with the file that's not updated "once removed" from the
-# file we're including.
-
-&run_make_with_options($makefile3, "F=a", &get_logfile, 0);
-
-$answer = "[ -f b ] || echo >> b\nhello\n";
-&compare_output($answer,&get_logfile(1));
-
-# Now try with the file we're not updating being the actual file we're
-# including: this and the previous one test different parts of the code.
-
-&run_make_with_options($makefile3, "F=b", &get_logfile, 0);
-
-$answer = "[ -f b ] || echo >> b\nhello\n";
-&compare_output($answer,&get_logfile(1));
-
-unlink('a','b','c');
-
-# This tells the test driver that the perl test script executed properly.
-1;

+ 0 - 72
sys/src/ape/cmd/make-3.79/tests/scripts/features/statipattrules

@@ -1,72 +0,0 @@
-#                                                                    -*-perl-*-
-$description = "Test handling of static pattern rules.";
-
-$details = "\
-The makefile created in this test has three targets.  The
-filter command is used to get those target names ending in
-.o and statically creates a compile command with the target
-name and the target name with .c.  It also does the same thing
-for another target filtered with .elc and creates a command
-to emacs a .el file";
-
-open(MAKEFILE,"> $makefile");
-print MAKEFILE <<'EOF';
-files = foo.elc bar.o lose.o
-
-$(filter %.o,$(files)): %.o: %.c ; @echo CC -c $(CFLAGS) $< -o $@
-
-$(filter %.elc,$(files)): %.elc: %.el ; @echo emacs $<
-EOF
-close(MAKEFILE);
-
-
-&touch('bar.c', 'lose.c');
-
-#   TEST #1
-#   -------
-
-&run_make_with_options($makefile, '', &get_logfile);
-$answer = "CC -c bar.c -o bar.o\n";
-&compare_output($answer, &get_logfile(1));
-
-
-#  TEST #2
-#  -------
-
-&run_make_with_options($makefile, 'lose.o', &get_logfile);
-$answer = "CC -c lose.c -o lose.o\n";
-&compare_output($answer, &get_logfile(1));
-
-
-#   TEST #3
-#   -------
-&touch("foo.el");
-
-&run_make_with_options($makefile, 'foo.elc', &get_logfile);
-$answer = "emacs foo.el\n";
-&compare_output($answer, &get_logfile(1));
-
-
-unlink('foo.el', 'bar.c', 'lose.c');
-
-
-# TEST #4 -- PR/1670: don't core dump on invalid static pattern rules
-# -------
-
-$makefile2 = &get_tmpfile;
-open(MAKEFILE, "> $makefile2");
-print MAKEFILE "foo: foo%: % ; \@echo $@\n";
-close(MAKEFILE);
-
-&run_make_with_options($makefile2, '', &get_logfile, 512);
-$answer = "$makefile2:1: *** target `foo' leaves prerequisite pattern empty.  Stop.\n";
-&compare_output($answer, &get_logfile(1));
-
-
-1;
-
-
-
-
-
-

+ 0 - 154
sys/src/ape/cmd/make-3.79/tests/scripts/features/targetvars

@@ -1,154 +0,0 @@
-#                                                                    -*-perl-*-
-$description = "Test target-specific variable settings.";
-
-$details = "\
-Create a makefile containing various flavors of target-specific variable
-values, override and non-override, and using various variable expansion
-rules, semicolon interference, etc.";
-
-open(MAKEFILE,"> $makefile");
-
-print MAKEFILE <<'EOF';
-SHELL = /bin/sh
-export FOO = foo
-export BAR = bar
-one: override FOO = one
-one two: ; @echo $(FOO) $(BAR)
-two: BAR = two
-three: ; BAR=1000
-	@echo $(FOO) $(BAR)
-# Some things that shouldn't be target vars
-funk : override
-funk : override adelic
-adelic override : ; echo $@
-# Test per-target recursive variables
-four:FOO=x
-four:VAR$(FOO)=ok
-four: ; @echo '$(FOO) $(VAR$(FOO)) $(VAR) $(VARx)'
-five:FOO=x
-five six : VAR$(FOO)=good
-five six: ;@echo '$(FOO) $(VAR$(FOO)) $(VAR) $(VARx) $(VARfoo)'
-# Test per-target variable inheritance
-seven: eight
-seven eight: ; @echo $@: $(FOO) $(BAR)
-seven: BAR = seven
-seven: FOO = seven
-eight: BAR = eight
-# Test the export keyword with per-target variables
-nine: ; @echo $(FOO) $(BAR) $$FOO $$BAR
-nine: FOO = wallace
-# Test = escaping
-EQ = =
-ten: one\=two
-ten: one \= two
-ten one$(EQ)two $(EQ):;@echo $@
-.PHONY: one two three four five six seven eight nine ten $(EQ) one$(EQ)two
-# Test target-specific vars with pattern/suffix rules
-QVAR = qvar
-RVAR = =
-%.q : ; @echo $(QVAR) $(RVAR)
-foo.q : RVAR += rvar
-# Target-specific vars with multiple LHS pattern rules
-%.r %.s %.t: ; @echo $(QVAR) $(RVAR) $(SVAR) $(TVAR)
-foo.r : RVAR += rvar
-foo.t : TVAR := $(QVAR)
-EOF
-
-close(MAKEFILE);
-
-# TEST #1
-
-&run_make_with_options($makefile, "one two three", &get_logfile);
-$answer = "one bar\nfoo two\nBAR=1000\nfoo bar\n";
-&compare_output($answer,&get_logfile(1));
-
-# TEST #2
-
-&run_make_with_options($makefile, "one two FOO=1 BAR=2", &get_logfile);
-$answer = "one 2\n1 2\n";
-&compare_output($answer,&get_logfile(1));
-
-# TEST #3
-
-&run_make_with_options($makefile, "four", &get_logfile);
-$answer = "x ok  ok\n";
-&compare_output($answer,&get_logfile(1));
-
-# TEST #4
-
-&run_make_with_options($makefile, "seven", &get_logfile);
-$answer = "eight: seven eight\nseven: seven seven\n";
-&compare_output($answer,&get_logfile(1));
-
-# TEST #5
-
-&run_make_with_options($makefile, "nine", &get_logfile);
-$answer = "wallace bar wallace bar\n";
-&compare_output($answer,&get_logfile(1));
-
-# TEST #6
-
-&run_make_with_options($makefile, "ten", &get_logfile);
-$answer = "one=two\none bar\n=\nfoo two\nten\n";
-&compare_output($answer,&get_logfile(1));
-
-# TEST #6
-
-&run_make_with_options($makefile, "foo.q bar.q", &get_logfile);
-$answer = "qvar = rvar\nqvar =\n";
-&compare_output($answer,&get_logfile(1));
-
-# TEST #7
-
-&run_make_with_options($makefile, "foo.t bar.s", &get_logfile);
-$answer = "qvar = qvar\nqvar =\n";
-&compare_output($answer,&get_logfile(1));
-
-
-# TEST #8
-# For PR/1378: Target-specific vars don't inherit correctly
-
-$makefile2 = &get_tmpfile;
-
-open(MAKEFILE,"> $makefile2");
-print MAKEFILE <<'EOF';
-foo: FOO = foo
-bar: BAR = bar
-foo: bar
-bar: baz
-baz: ; @echo $(FOO) $(BAR)
-EOF
-close(MAKEFILE);
-
-&run_make_with_options("$makefile2", "", &get_logfile);
-$answer = "foo bar\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST #9
-# For PR/1380: Using += assignment in target-specific variables sometimes fails
-
-$makefile3 = &get_tmpfile;
-
-open(MAKEFILE,"> $makefile3");
-print MAKEFILE <<'EOF';
-.PHONY: all one
-all: FOO += baz
-all: one; @echo $(FOO)
-
-FOO = bar
-
-one: FOO += biz
-one: ; @echo $(FOO)
-EOF
-close(MAKEFILE);
-
-&run_make_with_options("$makefile3", "", &get_logfile);
-$answer = "bar baz biz\nbar baz\n";
-&compare_output($answer, &get_logfile(1));
-
-&run_make_with_options("$makefile3", "one", &get_logfile);
-$answer = "bar biz\n";
-&compare_output($answer, &get_logfile(1));
-
-
-1;

+ 0 - 34
sys/src/ape/cmd/make-3.79/tests/scripts/features/varnesting

@@ -1,34 +0,0 @@
-$description = "The following test creates a makefile to ...";
-
-$details = "";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "x = variable1\n"
-              ."variable2 := Hello\n"
-              ."y = \$(subst 1,2,\$(x))\n"
-              ."z = y\n"
-              ."a := \$(\$(\$(z)))\n"
-              ."all: \n"
-              ."\t\@echo \$(a)\n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,"",&get_logfile);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "Hello\n";
-
-&compare_output($answer,&get_logfile(1));
-
-1;
-
-
-
-
-
-

+ 0 - 62
sys/src/ape/cmd/make-3.79/tests/scripts/features/vpath

@@ -1,62 +0,0 @@
-$description = "The following test creates a makefile to test the \n"
-              ."vpath directive which allows you to specify a search \n"
-              ."path for a particular class of filenames, those that\n"
-              ."match a particular pattern.";
-
-$details = "This tests the vpath directive by specifying search directories\n"
-         ."for one class of filenames with the form: vpath pattern directories"
-         ."\nIn this test, we specify the working directory for all files\n"
-         ."that end in c or h.  We also test the variables $@ (which gives\n"
-         ."target name) and $^ (which is a list of all dependencies \n"
-         ."including the directories in which they were found).  It also\n"
-         ."uses the function firstword used to extract just the first\n"
-         ."dependency from the entire list.";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "vpath %.c foo\n";
-print MAKEFILE "vpath %.c $workdir\n";
-print MAKEFILE "vpath %.h $workdir\n";
-print MAKEFILE "objects = main.o kbd.o commands.o display.o insert.o\n";
-print MAKEFILE "edit:  \$(objects)\n";
-print MAKEFILE "\t\@echo cc -o \$@ \$^\n";
-print MAKEFILE "main.o : main.c defs.h\n";
-print MAKEFILE "\t\@echo cc -c \$(firstword \$^)\n";
-print MAKEFILE "kbd.o : kbd.c defs.h command.h\n";
-print MAKEFILE "\t\@echo cc -c kbd.c\n";
-print MAKEFILE "commands.o : command.c defs.h command.h\n";
-print MAKEFILE "\t\@echo cc -c commands.c\n";
-print MAKEFILE "display.o : display.c defs.h buffer.h\n";
-print MAKEFILE "\t\@echo cc -c display.c\n";
-print MAKEFILE "insert.o : insert.c defs.h buffer.h\n";
-print MAKEFILE "\t\@echo cc -c insert.c\n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-
-@files_to_touch = ("$workdir${pathsep}main.c","$workdir${pathsep}defs.h",
-               "$workdir${pathsep}kbd.c","$workdir${pathsep}command.h",
-               "$workdir${pathsep}commands.c","$workdir${pathsep}display.c",
-               "$workdir${pathsep}buffer.h","$workdir${pathsep}insert.c",
-	       "$workdir${pathsep}command.c");
-
-&touch(@files_to_touch);
-
-&run_make_with_options($makefile,"",&get_logfile);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "cc -c $workdir${pathsep}main.c\ncc -c kbd.c\ncc -c commands.c\n"
-         ."cc -c display.c\n"
-         ."cc -c insert.c\ncc -o edit main.o kbd.o commands.o display.o "
-         ."insert.o\n";
-
-if (&compare_output($answer,&get_logfile(1)))
-{
-  unlink @files_to_touch;
-}
-
-1;

+ 0 - 45
sys/src/ape/cmd/make-3.79/tests/scripts/features/vpath2

@@ -1,45 +0,0 @@
-$description = "This is part 2 in a series to test the vpath directive\n"
-              ."It tests the three forms of the directive:\n"
-              ."     vpath pattern directive\n"
-              ."     vpath pattern  (clears path associated with pattern)\n"
-              ."     vpath          (clears all paths specified with vpath)\n";
-
-$details = "This test simply adds many search paths using various vpath\n"
-          ."directive forms and clears them afterwards.  It has a simple\n"
-          ."rule to print a message at the end to confirm that the makefile\n"
-          ."ran with no errors.\n";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "VPATH = $workdir:$sourcedir\n";
-print MAKEFILE "vpath %.c foo\n";
-print MAKEFILE "vpath %.c $workdir\n";
-print MAKEFILE "vpath %.c $sourcedir\n";
-print MAKEFILE "vpath %.h $workdir\n";
-print MAKEFILE "vpath %.c\n";
-print MAKEFILE "vpath\n";
-print MAKEFILE "all:\n";
-print MAKEFILE "\t\@echo ALL IS WELL\n";
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,"",&get_logfile);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "ALL IS WELL\n";
-
-&compare_output($answer,&get_logfile(1));
-
-1;
-
-
-
-
-
-
-
-
-

+ 0 - 64
sys/src/ape/cmd/make-3.79/tests/scripts/features/vpathgpath

@@ -1,64 +0,0 @@
-#                                                                    -*-perl-*-
-$description = "Tests VPATH+/GPATH functionality.";
-
-$details = "";
-
-$VP = "$workdir$pathsep";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "VPATH = $VP\n";
-
-print MAKEFILE <<'EOMAKE';
-
-GPATH = $(VPATH)
-
-.SUFFIXES: .a .b .c .d
-.PHONY: general rename notarget intermediate
-
-%.a:
-%.b:
-%.c:
-%.d:
-
-%.a : %.b ; cat $^ > $@
-%.b : %.c ; cat $^ > $@
-%.c :: %.d ; cat $^ > $@
-
-# General testing info:
-
-general: foo.b
-foo.b: foo.c bar.c
-
-EOMAKE
-
-close(MAKEFILE);
-
-@touchedfiles = ();
-
-sub touchfiles {
-  foreach (@_) {
-    ($f = $_) =~ s,VP/,$VP,g;
-    &touch($f);
-    push(@touchedfiles, $f);
-    sleep(1);
-  }
-}
-
-# Run the general-case test
-
-&touchfiles("VP/foo.d", "VP/bar.d", "VP/foo.c", "VP/bar.c", "foo.b", "bar.d");
-
-&run_make_with_options($makefile,"general",&get_logfile());
-
-push(@touchedfiles, "bar.c");
-
-$answer = "$make_name: Nothing to be done for `general'.\n";
-
-&compare_output($answer,&get_logfile(1));
-
-unlink(@touchedfiles) unless $keep;
-
-1;

+ 0 - 123
sys/src/ape/cmd/make-3.79/tests/scripts/features/vpathplus

@@ -1,123 +0,0 @@
-#                                                                    -*-perl-*-
-$description = "Tests the new VPATH+ functionality added in 3.76.";
-
-$details = "";
-
-$VP = "$workdir$pathsep";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "VPATH = $VP\n";
-
-print MAKEFILE <<'EOMAKE';
-
-SHELL = /bin/sh
-
-.SUFFIXES: .a .b .c .d
-.PHONY: general rename notarget intermediate
-
-%.a:
-%.b:
-%.c:
-%.d:
-
-%.a : %.b
-	cat $^ > $@
-%.b : %.c
-	cat $^ > $@ 2>/dev/null || exit 1
-%.c :: %.d
-	cat $^ > $@
-
-# General testing info:
-
-general: foo.b
-foo.b: foo.c bar.c
-
-# Rename testing info:
-
-rename: $(VPATH)/foo.c foo.d
-
-# Target not made testing info:
-
-notarget: notarget.b
-notarget.c: notarget.d
-	-@echo "not creating $@ from $^"
-
-# Intermediate files:
-
-intermediate: inter.a
-
-EOMAKE
-
-close(MAKEFILE);
-
-@touchedfiles = ();
-
-sub touchfiles {
-  foreach (@_) {
-    sleep($wtime);
-    ($f = $_) =~ s,VP/,$VP,g;
-    &touch($f);
-    push(@touchedfiles, $f);
-  }
-}
-
-# Run the general-case test
-
-&touchfiles("VP/foo.d", "VP/bar.d", "VP/foo.c", "VP/bar.c", "foo.b", "bar.d");
-
-&run_make_with_options($makefile,"general",&get_logfile);
-
-push(@touchedfiles, "bar.c");
-
-$answer = "cat bar.d > bar.c
-cat ${VP}foo.c bar.c > foo.b 2>/dev/null || exit 1
-";
-&compare_output($answer,&get_logfile(1));
-
-# Test rules that don't make the target correctly
-
-&touchfiles("VP/notarget.c", "notarget.b", "notarget.d");
-
-&run_make_with_options($makefile,"notarget",&get_logfile,512);
-
-$answer = "not creating notarget.c from notarget.d
-cat notarget.c > notarget.b 2>/dev/null || exit 1
-$make_name: *** [notarget.b] Error 1
-";
-
-&compare_output($answer,&get_logfile(1));
-
-# Test intermediate file handling (part 1)
-
-&touchfiles("VP/inter.d");
-
-&run_make_with_options($makefile,"intermediate",&get_logfile);
-
-push(@touchedfiles, "inter.a", "inter.b");
-
-$answer = "cat ${VP}inter.d > inter.c
-cat inter.c > inter.b 2>/dev/null || exit 1
-cat inter.b > inter.a
-rm inter.b inter.c
-";
-&compare_output($answer,&get_logfile(1));
-
-# Test intermediate file handling (part 2)
-
-&touchfiles("VP/inter.b", "VP/inter.d");
-
-&run_make_with_options($makefile,"intermediate",&get_logfile);
-
-$answer = "cat ${VP}inter.d > inter.c
-cat inter.c > inter.b 2>/dev/null || exit 1
-cat inter.b > inter.a
-rm inter.c
-";
-&compare_output($answer,&get_logfile(1));
-
-unlink @touchedfiles unless $keep;
-
-1;

+ 0 - 44
sys/src/ape/cmd/make-3.79/tests/scripts/functions/addprefix

@@ -1,44 +0,0 @@
-$description = "The following test creates a makefile to test the addprefix "
-              ."function.";
-
-$details = "";
-
-# IF YOU NEED >1 MAKEFILE FOR THIS TEST, USE &get_tmpfile; TO GET
-# THE NAME OF THE MAKEFILE.  THIS INSURES CONSISTENCY AND KEEPS TRACK OF
-# HOW MANY MAKEFILES EXIST FOR EASY DELETION AT THE END.
-# EXAMPLE: $makefile2 = &get_tmpfile;
-
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "string := \$(addprefix src${pathsep},a.b.z.foo hacks) \n"
-              ."all: \n"
-              ."\t\@echo \$(string) \n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,"",&get_logfile,0);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "src${pathsep}a.b.z.foo src${pathsep}hacks\n";
-
-# COMPARE RESULTS
-
-# In this call to compare output, you should use the call &get_logfile(1)
-# to send the name of the last logfile created.  You may also use
-# the special call &get_logfile(1) which returns the same as &get_logfile(1).
-
-&compare_output($answer,&get_logfile(1));
-
-# This tells the test driver that the perl test script executed properly.
-1;
-
-
-
-
-
-

+ 0 - 44
sys/src/ape/cmd/make-3.79/tests/scripts/functions/addsuffix

@@ -1,44 +0,0 @@
-$description = "The following test creates a makefile to test the addsuffix "
-              ."function.";
-
-$details = "";
-
-# IF YOU NEED >1 MAKEFILE FOR THIS TEST, USE &get_tmpfile; TO GET
-# THE NAME OF THE MAKEFILE.  THIS INSURES CONSISTENCY AND KEEPS TRACK OF
-# HOW MANY MAKEFILES EXIST FOR EASY DELETION AT THE END.
-# EXAMPLE: $makefile2 = &get_tmpfile;
-
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "string := \$(addsuffix .c,src${pathsep}a.b.z.foo hacks) \n"
-              ."all: \n"
-              ."\t\@echo \$(string) \n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,"",&get_logfile,0);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "src${pathsep}a.b.z.foo.c hacks.c\n";
-
-# COMPARE RESULTS
-
-# In this call to compare output, you should use the call &get_logfile(1)
-# to send the name of the last logfile created.  You may also use
-# the special call &get_logfile(1) which returns the same as &get_logfile(1).
-
-&compare_output($answer,&get_logfile(1));
-
-# This tells the test driver that the perl test script executed properly.
-1;
-
-
-
-
-
-

+ 0 - 44
sys/src/ape/cmd/make-3.79/tests/scripts/functions/basename

@@ -1,44 +0,0 @@
-$description = "The following test creates a makefile to test the suffix "
-              ."function.";
-
-$details = "";
-
-# IF YOU NEED >1 MAKEFILE FOR THIS TEST, USE &get_tmpfile; TO GET
-# THE NAME OF THE MAKEFILE.  THIS INSURES CONSISTENCY AND KEEPS TRACK OF
-# HOW MANY MAKEFILES EXIST FOR EASY DELETION AT THE END.
-# EXAMPLE: $makefile2 = &get_tmpfile;
-
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "string := \$(basename src${pathsep}a.b.z.foo.c src${pathsep}hacks src.bar${pathsep}a.b.z.foo.c src.bar${pathsep}hacks hacks) \n"
-              ."all: \n"
-              ."\t\@echo \$(string) \n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,"",&get_logfile,0);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "src${pathsep}a.b.z.foo src${pathsep}hacks src.bar${pathsep}a.b.z.foo src.bar${pathsep}hacks hacks\n";
-
-# COMPARE RESULTS
-
-# In this call to compare output, you should use the call &get_logfile(1)
-# to send the name of the last logfile created.  You may also use
-# the special call &get_logfile(1) which returns the same as &get_logfile(1).
-
-&compare_output($answer,&get_logfile(1));
-
-# This tells the test driver that the perl test script executed properly.
-1;
-
-
-
-
-
-

+ 0 - 60
sys/src/ape/cmd/make-3.79/tests/scripts/functions/call

@@ -1,60 +0,0 @@
-#                                                                    -*-perl-*-
-$description = "Test the call function.\n";
-
-$details = "Try various uses of call and ensure they all give the correct
-results.\n";
-
-open(MAKEFILE, "> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE <<'EOMAKE';
-# Simple, just reverse two things
-#
-reverse = $2 $1
-
-# A complex `map' function, using recursive `call'.
-#
-map = $(foreach a,$2,$(call $1,$a))
-
-# Test using a builtin; this is silly as it's simpler to do without call
-#
-my-notdir = $(call notdir,$(1))
-
-# Test using non-expanded builtins
-#
-my-foreach = $(foreach $(1),$(2),$(3))
-my-if      = $(if $(1),$(2),$(3))
-
-# Test recursive invocations of call with different arguments
-#
-one = $(1) $(2) $(3)
-two = $(call one,$(1),foo,$(2))
-
-
-all: ; @echo '$(call reverse,bar,foo)'; \
-        echo '$(call map,origin,MAKE reverse map)'; \
-        echo '$(call my-notdir,a/b   c/d      e/f)'; \
-        echo '$(call my-foreach)'; \
-        echo '$(call my-foreach,a,,,)'; \
-        echo '$(call my-if,a,b,c)'; \
-        echo '$(call two,bar,baz)'
-
-EOMAKE
-
-# These won't work until/unless PR/1527 is resolved.
-#        echo '$(call my-foreach,a,x y z,$(a)$(a))'; \
-#        echo '$(call my-if,,$(warning don't print this),ok)'
-#
-# $answer = "xx yy zz\nok\n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile, "", &get_logfile);
-$answer = "foo bar\ndefault file file\nb d f\n\n\nb\nbar foo baz\n";
-
-&compare_output($answer, &get_logfile(1));
-
-1;

+ 0 - 44
sys/src/ape/cmd/make-3.79/tests/scripts/functions/dir

@@ -1,44 +0,0 @@
-$description = "The following test creates a makefile to test the dir "
-              ."function.";
-
-$details = "";
-
-# IF YOU NEED >1 MAKEFILE FOR THIS TEST, USE &get_tmpfile; TO GET
-# THE NAME OF THE MAKEFILE.  THIS INSURES CONSISTENCY AND KEEPS TRACK OF
-# HOW MANY MAKEFILES EXIST FOR EASY DELETION AT THE END.
-# EXAMPLE: $makefile2 = &get_tmpfile;
-
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "string := \$(dir src${pathsep}foo.c hacks) \n"
-              ."all: \n"
-              ."\t\@echo \$(string) \n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,"",&get_logfile,0);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "src${pathsep} .${pathsep}\n";
-
-# COMPARE RESULTS
-
-# In this call to compare output, you should use the call &get_logfile(1)
-# to send the name of the last logfile created.  You may also use
-# the special call &get_logfile(1) which returns the same as &get_logfile(1).
-
-&compare_output($answer,&get_logfile(1));
-
-# This tells the test driver that the perl test script executed properly.
-1;
-
-
-
-
-
-

+ 0 - 63
sys/src/ape/cmd/make-3.79/tests/scripts/functions/error

@@ -1,63 +0,0 @@
-$description = "\
-The following test creates a makefile to test the error function.";
-
-$details = "";
-
-open(MAKEFILE,"> $makefile");
-
-print MAKEFILE <<'EOF';
-ifdef ERROR1
-$(error error is $(ERROR1))
-endif
-
-ifdef ERROR2
-$(error error is $(ERROR2))
-endif
-
-ifdef ERROR3
-all: some; @echo $(error error is $(ERROR3))
-endif
-
-ifdef ERROR4
-all: some; @echo error is $(ERROR4)
-	@echo $(error error is $(ERROR4))
-endif
-
-some: ; @echo Some stuff
-
-EOF
-
-close(MAKEFILE);
-
-# Test #1
-
-&run_make_with_options($makefile, "ERROR1=yes", &get_logfile, 512);
-$answer = "$makefile:2: *** error is yes.  Stop.\n";
-&compare_output($answer,&get_logfile(1));
-
-# Test #2
-
-&run_make_with_options($makefile, "ERROR2=no", &get_logfile, 512);
-$answer = "$makefile:6: *** error is no.  Stop.\n";
-&compare_output($answer,&get_logfile(1));
-
-# Test #3
-
-&run_make_with_options($makefile, "ERROR3=maybe", &get_logfile, 512);
-$answer = "Some stuff\n$makefile:10: *** error is maybe.  Stop.\n";
-&compare_output($answer,&get_logfile(1));
-
-# Test #4
-
-&run_make_with_options($makefile, "ERROR4=definitely", &get_logfile, 512);
-$answer = "Some stuff\n$makefile:14: *** error is definitely.  Stop.\n";
-&compare_output($answer,&get_logfile(1));
-
-# This tells the test driver that the perl test script executed properly.
-1;
-
-
-
-
-
-

+ 0 - 35
sys/src/ape/cmd/make-3.79/tests/scripts/functions/filter-out

@@ -1,35 +0,0 @@
-$description = "The following test creates a makefile to test static \n"
-              ."pattern rules.  Static pattern rules are rules which \n"
-              ."specify multiple targets and construct the dependency \n"
-              ."names for each target based on the target name. ";
-
-$details = "The makefile created in this test has three targets.  The \n"
-          ."filter command is used to get those target names ending in \n"
-          .".o and statically creates a compile command with the target\n"
-          ."name and the target name with .c.  It also does the same thing\n"
-          ."for another target filtered with .elc and creates a command\n"
-          ."to emacs a .el file";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "files := \$(filter-out %.o, foo.elc bar.o lose.o) \n" 
-              ."all: \n"
-              ."\t\@echo \$(files) \n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,
-                       "",
-                       &get_logfile,
-                       0);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "foo.elc\n";
-
-&compare_output($answer,&get_logfile(1));
-
-1;

+ 0 - 47
sys/src/ape/cmd/make-3.79/tests/scripts/functions/findstring

@@ -1,47 +0,0 @@
-$description = "The following test creates a makefile to test the findstring "
-              ."function.";
-
-$details = "";
-
-# IF YOU NEED >1 MAKEFILE FOR THIS TEST, USE &get_tmpfile; TO GET
-# THE NAME OF THE MAKEFILE.  THIS INSURES CONSISTENCY AND KEEPS TRACK OF
-# HOW MANY MAKEFILES EXIST FOR EASY DELETION AT THE END.
-# EXAMPLE: $makefile2 = &get_tmpfile;
-
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "string := \$(findstring port, reporter)\n"
-              ."all: \n"
-              ."\t\@echo \$(string) \n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,
-                       "",
-                       &get_logfile,
-                       0);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "port\n";
-
-# COMPARE RESULTS
-
-# In this call to compare output, you should use the call &get_logfile(1)
-# to send the name of the last logfile created.  You may also use
-# the special call &get_logfile(1) which returns the same as &get_logfile(1).
-
-&compare_output($answer,&get_logfile(1));
-
-# This tells the test driver that the perl test script executed properly.
-1;
-
-
-
-
-
-

+ 0 - 53
sys/src/ape/cmd/make-3.79/tests/scripts/functions/foreach

@@ -1,53 +0,0 @@
-#                                                                    -*-perl-*-
-
-# Updated 6.16.93  variable "MAKE" is default was environment override
-# For make 3.63 and above
-
-$description = "The following test creates a makefile to verify
-test the foreach function.";
-
-$details = "This is a test of the foreach function in gnu make.
-This function starts with a space separated list of
-names and a variable. Each name in the list is subsituted
-into the variable and the given text evaluated. The general
-form of the command is $(foreach var,$list,$text). Several
-types of foreach loops are tested\n";
-
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-# On WIN32 systems, the user's path is found in %Path% ($Path)
-#
-$pathvar = (($port_type eq 'Windows') ? "Path" : "PATH");
-
-print MAKEFILE <<EOF;
-foo = bletch null \@ garf
-null :=
-space = ' '
-auto_var = udef space CC null $pathvar MAKE foo CFLAGS WHITE \@ <
-av = \$(foreach var, \$(auto_var), \$(origin \$(var)) )
-override WHITE := BLACK
-for_var = \$(addsuffix .c,foo \$(null) \$(foo) \$(space) \$(av) )
-fe = \$(foreach var2, \$(for_var),\$(subst .c,.o, \$(var2) ) )
-all: auto for2
-auto :
-\t\@echo \$(av)
-for2:
-\t\@echo \$(fe)
-EOF
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,
-                      "-e WHITE=WHITE CFLAGS=",
-                      &get_logfile);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "undefined file default file environment default file command line override automatic automatic
-foo.o bletch.o null.o @.o garf.o .o    .o undefined.o file.o default.o file.o environment.o default.o file.o command.o line.o override.o automatic.o automatic.o\n";
-
-&compare_output($answer,&get_logfile(1));
-
-1;

+ 0 - 31
sys/src/ape/cmd/make-3.79/tests/scripts/functions/if

@@ -1,31 +0,0 @@
-#                                                                    -*-perl-*-
-$description = "Test the if function.\n";
-
-$details = "Try various uses of if and ensure they all give the correct
-results.\n";
-
-open(MAKEFILE, "> $makefile");
-
-print MAKEFILE <<EOMAKE;
-NEQ = \$(subst \$1,,\$2)
-
-all:
-\t\@echo \$(if    ,true,false)
-\t\@echo \$(if ,true,)
-\t\@echo \$(if ,true)
-\t\@echo \$(if z,true,false)
-\t\@echo \$(if z,true,\$(shell echo hi))
-\t\@echo \$(if ,\$(shell echo hi),false)
-\t\@echo \$(if \$(call NEQ,a,b),true,false)
-\t\@echo \$(if \$(call NEQ,a,a),true,false)
-\t\@echo \$(if z,true,fal,se) hi
-\t\@echo \$(if ,true,fal,se)there
-EOMAKE
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile, "", &get_logfile);
-$answer = "false\n\n\ntrue\ntrue\nfalse\ntrue\nfalse\ntrue hi\nfal,sethere\n";
-&compare_output($answer, &get_logfile(1));
-
-1;

+ 0 - 44
sys/src/ape/cmd/make-3.79/tests/scripts/functions/join

@@ -1,44 +0,0 @@
-$description = "The following test creates a makefile to test the join "
-              ."function.";
-
-$details = "";
-
-# IF YOU NEED >1 MAKEFILE FOR THIS TEST, USE &get_tmpfile; TO GET
-# THE NAME OF THE MAKEFILE.  THIS INSURES CONSISTENCY AND KEEPS TRACK OF
-# HOW MANY MAKEFILES EXIST FOR EASY DELETION AT THE END.
-# EXAMPLE: $makefile2 = &get_tmpfile;
-
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "string := \$(join a b c,foo      hacks .pl1) \n"
-              ."all: \n"
-              ."\t\@echo \$(string) \n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,"",&get_logfile,0);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "afoo bhacks c.pl1\n";
-
-# COMPARE RESULTS
-
-# In this call to compare output, you should use the call &get_logfile(1)
-# to send the name of the last logfile created.  You may also use
-# the special call &get_logfile(1) which returns the same as &get_logfile(1).
-
-&compare_output($answer,&get_logfile(1));
-
-# This tells the test driver that the perl test script executed properly.
-1;
-
-
-
-
-
-

+ 0 - 44
sys/src/ape/cmd/make-3.79/tests/scripts/functions/notdir

@@ -1,44 +0,0 @@
-$description = "The following test creates a makefile to test the notdir "
-              ."function.";
-
-$details = "";
-
-# IF YOU NEED >1 MAKEFILE FOR THIS TEST, USE &get_tmpfile; TO GET
-# THE NAME OF THE MAKEFILE.  THIS INSURES CONSISTENCY AND KEEPS TRACK OF
-# HOW MANY MAKEFILES EXIST FOR EASY DELETION AT THE END.
-# EXAMPLE: $makefile2 = &get_tmpfile;
-
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "string := \$(notdir ${pathsep}src${pathsep}foo.c hacks) \n"
-              ."all: \n"
-              ."\t\@echo \$(string) \n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,"",&get_logfile,0);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "foo.c hacks\n";
-
-# COMPARE RESULTS
-
-# In this call to compare output, you should use the call &get_logfile(1)
-# to send the name of the last logfile created.  You may also use
-# the special call &get_logfile(1) which returns the same as &get_logfile(1).
-
-&compare_output($answer,&get_logfile(1));
-
-# This tells the test driver that the perl test script executed properly.
-1;
-
-
-
-
-
-

+ 0 - 66
sys/src/ape/cmd/make-3.79/tests/scripts/functions/origin

@@ -1,66 +0,0 @@
-#                                                                    -*-perl-*-
-
-$description = "Test the origin function.";
-
-$details = "This is a test of the origin function in gnu make.
-This function will report on where a variable was
-defined per the following list:
-
-'undefined'            never defined
-'default'              default definition
-'environment'          environment var without -e
-'environment override' environment var with    -e
-'file'                 defined in makefile
-'command line'         defined on the command line
-'override'             defined by override in makefile
-'automatic'            Automatic variable\n";
-
-# On WIN32 systems, HOME is meaningless. SystemRoot should be defined
-# though.  With DJGPP, HOME is not guaranteed to be defined.  Use DJDIR
-# instead.
-#
-$homevar = (($port_type eq 'Windows') ? "SystemRoot"
-	    : (($port_type eq 'DOS') ? "DJDIR"
-	       : "HOME"));
-
-open(MAKEFILE,"> $makefile");
-
-print MAKEFILE <<EOF;
-foo := bletch garf
-auto_var = udef CC $homevar MAKE foo CFLAGS WHITE \@
-av = \$(foreach var, \$(auto_var), \$(origin \$(var)) )
-override WHITE := BLACK
-all: auto
-\t\@echo \$(origin undefined)
-\t\@echo \$(origin CC)
-\t\@echo \$(origin $homevar)
-\t\@echo \$(origin MAKE)
-\t\@echo \$(origin foo)
-\t\@echo \$(origin CFLAGS)
-\t\@echo \$(origin WHITE)
-\t\@echo \$(origin \@)
-auto :
-\t\@echo \$(av)
-EOF
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,
-                      "-e WHITE=WHITE CFLAGS=",
-                      &get_logfile);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "undefined default environment default file command line override automatic
-undefined
-default
-environment
-default
-file
-command line
-override
-automatic\n";
-
-
-&compare_output($answer,&get_logfile(1));
-
-1;

+ 0 - 55
sys/src/ape/cmd/make-3.79/tests/scripts/functions/sort

@@ -1,55 +0,0 @@
-$description = "The following test creates a makefile to verify\n"
-              ."the ability of make to sort lists of object. Sort\n"
-              ."will also remove any duplicate entries. This will also\n"
-              ."be tested.";
-
-$details = "The make file is built with a list of object in a random order\n"
-          ."and includes some duplicates. Make should sort all of the elements\n"
-          ."remove all duplicates\n";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "foo := moon_light days \n"
-              ."foo1:= jazz\n"
-              ."bar := captured \n"
-              ."bar2 = boy end, has rise A midnight \n"
-              ."bar3:= \$(foo)\n"
-              ."s1  := _by\n"
-              ."s2  := _and_a\n"
-              ."t1  := \$(addsuffix \$(s1), \$(bar) )\n"
-              ."t2  := \$(addsuffix \$(s2), \$(foo1) )\n" 
-              ."t3  := \$(t2) \$(t2) \$(t2) \$(t2) \$(t2) \$(t2) \$(t2) \$(t2) \$(t2) \$(t2) \n"
-              ."t4  := \$(t3) \$(t3) \$(t3) \$(t3) \$(t3) \$(t3) \$(t3) \$(t3) \$(t3) \$(t3) \n"
-              ."t5  := \$(t4) \$(t4) \$(t4) \$(t4) \$(t4) \$(t4) \$(t4) \$(t4) \$(t4) \$(t4) \n"
-              ."t6  := \$(t5) \$(t5) \$(t5) \$(t5) \$(t5) \$(t5) \$(t5) \$(t5) \$(t5) \$(t5) \n"
-              ."t7  := \$(t6) \$(t6) \$(t6) \n"
-              ."p1  := \$(addprefix \$(foo1), \$(s2) )\n"
-              ."blank:= \n"
-              ."all:\n"
-              ."\t\@echo \$(sort \$(bar2) \$(foo)  \$(addsuffix \$(s1), \$(bar) ) \$(t2) \$(bar2) \$(bar3))\n"
-              ."\t\@echo \$(sort \$(blank) \$(foo) \$(bar2) \$(t1) \$(p1) )\n"
-              ."\t\@echo \$(sort \$(foo) \$(bar2) \$(t1) \$(t4) \$(t5) \$(t7) \$(t6) )\n";
-
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,"",&get_logfile);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "A boy captured_by days end, has jazz_and_a midnight moon_light rise\n"
-         ."A boy captured_by days end, has jazz_and_a midnight moon_light rise\n"
-         ."A boy captured_by days end, has jazz_and_a midnight moon_light rise\n";
-
-&compare_output($answer,&get_logfile(1));
-
-1;
-
-
-
-
-
-

+ 0 - 53
sys/src/ape/cmd/make-3.79/tests/scripts/functions/strip

@@ -1,53 +0,0 @@
-#                                                                    -*-perl-*-
-$description = "The following test creates a makefile to verify
-the ability of make to strip white space from lists of object.\n";
-
-
-$details = "The make file is built with a list of objects that contain white space
-These are then run through the strip command to remove it. This is then
-verified by echoing the result.\n";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE <<'EOMAKE';
-TEST1 := "Is this TERMINAL fun?                                                               What makes you believe is this terminal fun?                                                                                                                                               JAPAN is a WONDERFUL planet -- I wonder if we will ever reach                                         their level of COMPARATIVE SHOPPING..."
-E :=
-TEST2 := $E   try this     and		this     	$E
-
-define TEST3
-
-and these	        test out
-
-
-some
-blank lines
-
-
-
-endef
-
-.PHONY: all
-all:
-	@echo '$(strip  $(TEST1) )'
-	@echo '$(strip  $(TEST2) )'
-	@echo '$(strip  $(TEST3) )'
-
-EOMAKE
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,"",&get_logfile);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "\"Is this TERMINAL fun? What makes you believe is this terminal fun? JAPAN is a WONDERFUL planet -- I wonder if we will ever reach their level of COMPARATIVE SHOPPING...\"
-try this and this
-and these test out some blank lines
-";
-
-&compare_output($answer,&get_logfile(1));
-
-1;

+ 0 - 37
sys/src/ape/cmd/make-3.79/tests/scripts/functions/substitution

@@ -1,37 +0,0 @@
-$description = "The following test creates a makefile to ...";
-
-$details = "";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "foo := a.o b.o c.o\n"
-              ."bar := \$(foo:.o=.c)\n"
-	      ."bar2:= \$(foo:%.o=%.c)\n"
-              ."bar3:= \$(patsubst %.c,%.o,x.c.c bar.c)\n"
-              ."all:\n"
-              ."\t\@echo \$(bar)\n"
-              ."\t\@echo \$(bar2)\n"
-              ."\t\@echo \$(bar3)\n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,"",&get_logfile);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "a.c b.c c.c\n"
-         ."a.c b.c c.c\n"
-         ."x.c.o bar.o\n";
-
-&compare_output($answer,&get_logfile(1));
-
-1;
-
-
-
-
-
-

+ 0 - 57
sys/src/ape/cmd/make-3.79/tests/scripts/functions/suffix

@@ -1,57 +0,0 @@
-$description = "The following test creates a makefile to test the suffix\n"
-              ."function. \n";
-
-$details = "The suffix function will return the string following the last _._\n"
-          ."the list provided. It will provide all of the unique suffixes found\n"
-          ."in the list. The long strings are sorted to remove duplicates.\n";
-
-# IF YOU NEED >1 MAKEFILE FOR THIS TEST, USE &get_tmpfile; TO GET
-# THE NAME OF THE MAKEFILE.  THIS INSURES CONSISTENCY AND KEEPS TRACK OF
-# HOW MANY MAKEFILES EXIST FOR EASY DELETION AT THE END.
-# EXAMPLE: $makefile2 = &get_tmpfile;
-
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "string  := word.pl general_test2.pl1 FORCE.pl word.pl3 generic_test.perl /tmp.c/bar foo.baz/bar.c MAKEFILES_variable.c\n"
-              ."string2 := \$(string) \$(string) \$(string) \$(string) \$(string) \$(string) \$(string)\n"
-              ."string3 := \$(string2) \$(string2) \$(string2) \$(string2) \$(string2) \$(string2) \$(string2)\n"
-              ."string4 := \$(string3) \$(string3) \$(string3) \$(string3) \$(string3) \$(string3) \$(string3)\n"
-              ."all: \n"
-              ."\t\@echo \$(suffix \$(string)) \n"
-              ."\t\@echo \$(sort \$(suffix \$(string4))) \n"
-              ."\t\@echo \$(suffix \$(string) a.out) \n"
-              ."\t\@echo \$(sort \$(suffix \$(string3))) \n";
-
-
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,"",&get_logfile,0);
-
-# Create the answer to what should be produced by this Makefile
-
-# COMPARE RESULTS
-$answer = ".pl .pl1 .pl .pl3 .perl .c .c\n"
-         .".c .perl .pl .pl1 .pl3\n"
-         .".pl .pl1 .pl .pl3 .perl .c .c .out\n"
-         .".c .perl .pl .pl1 .pl3\n";
-
-# In this call to compare output, you should use the call &get_logfile(1)
-# to send the name of the last logfile created.  You may also use
-# the special call &get_logfile(1) which returns the same as &get_logfile(1).
-
-&compare_output($answer,&get_logfile(1));
-
-# This tells the test driver that the perl test script executed properly.
-1;
-
-
-
-
-
-

+ 0 - 63
sys/src/ape/cmd/make-3.79/tests/scripts/functions/warning

@@ -1,63 +0,0 @@
-$description = "\
-The following test creates a makefile to test the warning function.";
-
-$details = "";
-
-open(MAKEFILE,"> $makefile");
-
-print MAKEFILE <<'EOF';
-ifdef WARNING1
-$(warning warning is $(WARNING1))
-endif
-
-ifdef WARNING2
-$(warning warning is $(WARNING2))
-endif
-
-ifdef WARNING3
-all: some; @echo hi $(warning warning is $(WARNING3))
-endif
-
-ifdef WARNING4
-all: some; @echo hi
-	@echo there $(warning warning is $(WARNING4))
-endif
-
-some: ; @echo Some stuff
-
-EOF
-
-close(MAKEFILE);
-
-# Test #1
-
-&run_make_with_options($makefile, "WARNING1=yes", &get_logfile, 0);
-$answer = "$makefile:2: warning is yes\nSome stuff\n";
-&compare_output($answer,&get_logfile(1));
-
-# Test #2
-
-&run_make_with_options($makefile, "WARNING2=no", &get_logfile, 0);
-$answer = "$makefile:6: warning is no\nSome stuff\n";
-&compare_output($answer,&get_logfile(1));
-
-# Test #3
-
-&run_make_with_options($makefile, "WARNING3=maybe", &get_logfile, 0);
-$answer = "Some stuff\n$makefile:10: warning is maybe\nhi\n";
-&compare_output($answer,&get_logfile(1));
-
-# Test #4
-
-&run_make_with_options($makefile, "WARNING4=definitely", &get_logfile, 0);
-$answer = "Some stuff\n$makefile:14: warning is definitely\nhi\nthere\n";
-&compare_output($answer,&get_logfile(1));
-
-# This tells the test driver that the perl test script executed properly.
-1;
-
-
-
-
-
-

+ 0 - 103
sys/src/ape/cmd/make-3.79/tests/scripts/functions/wildcard

@@ -1,103 +0,0 @@
-#                                                                    -*-perl-*-
-
-$description = "The following test creates a makefile to test wildcard\n"
-              ."expansions and the ability to put a command on the same\n"
-              ."line as the target name separated by a semi-colon.";
-
-$details = "This test creates 4 files by the names of 1.example, \n"
-          ."two.example and 3.example.  We execute three tests.  The first\n"
-          ."executes the print1 target which tests the '*' wildcard by \n"
-          ."echoing all filenames by the name of '*.example'.  The second\n"
-          ."test echo's all files which match '?.example' and \n"
-          ."[a-z0-9].example.  Lastly we clean up all of the files using\n"
-          ."the '*' wildcard as in the first test";
-
-if ($vos)
-{
-   $delete_command = "delete_file -no_ask";
-}
-else
-{
-   $delete_command = "rm";
-}
-
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE <<EOM;
-print1: ;\@echo \$(wildcard example.*)
-print2:
-\t\@echo \$(wildcard example.?)
-\t\@echo \$(wildcard example.[a-z0-9])
-\t\@echo \$(wildcard example.[!A-Za-z_\\!])
-clean:
-\t$delete_command \$(wildcard example.*)
-EOM
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&touch("example.1");
-&touch("example.two");
-&touch("example.3");
-&touch("example.for");
-&touch("example._");
-
-# TEST #1
-# -------
-
-$answer = "example.1 example.3 example._ example.for example.two\n";
-
-&run_make_with_options($makefile,"print1",&get_logfile);
-
-&compare_output($answer,&get_logfile(1));
-
-
-# TEST #2
-# -------
-
-$answer = "example.1 example.3 example._\n"
-         ."example.1 example.3\n"
-         ."example.1 example.3\n";
-
-&run_make_with_options($makefile,"print2",&get_logfile);
-
-&compare_output($answer,&get_logfile(1));
-
-
-# TEST #3
-# -------
-
-$answer = "$delete_command example.1 example.3 example._ example.for example.two";
-if ($vos)
-{
-   $answer .= " \n";
-}
-else
-{
-   $answer .= "\n";
-}
-
-&run_make_with_options($makefile,"clean",&get_logfile);
-
-&compare_output($answer,&get_logfile(1));
-
-if ((-f "example.1")||(-f "example.two")||(-f "example.3")||(-f "example.for"))
-{
-   $test_passed = 0;
-}
-
-
-1;
-
-
-
-
-
-
-
-
-

+ 0 - 64
sys/src/ape/cmd/make-3.79/tests/scripts/functions/word

@@ -1,64 +0,0 @@
-#                                                                    -*-perl-*-
-$description = "Test the word, words, and wordlist functions.\n";
-
-$details = "\
-Produce a variable with a large number of words in it,
-determine the number of words, and then read each one back.\n";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE <<'EOF';
-string  := word.pl general_test2.pl   FORCE.pl word.pl generic_test.perl MAKEFILES_variable.pl
-string2 := $(string) $(string) $(string) $(string) $(string) $(string) $(string)
-string3 := $(string2) $(string2) $(string2) $(string2) $(string2) $(string2) $(string2)
-string4 := $(string3) $(string3) $(string3) $(string3) $(string3) $(string3) $(string3)
-all:
-	@echo $(words $(string))
-	@echo $(words $(string4))
-	@echo $(word 1, $(string))
-	@echo $(word 100, $(string))
-	@echo $(word 1, $(string))
-	@echo $(word 1000, $(string3))
-	@echo $(wordlist 3, 4, $(string))
-	@echo $(wordlist 4, 3, $(string))
-	@echo $(wordlist 1, 6, $(string))
-	@echo $(wordlist 5, 7, $(string))
-	@echo $(wordlist 100, 110, $(string))
-	@echo $(wordlist 7, 10, $(string2))
-EOF
-
-
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile, "", &get_logfile);
-
-# Create the answer to what should be produced by this Makefile
-
-# COMPARE RESULTS
-$answer = "6\n"
-         ."2058\n"
-         ."word.pl\n"
-         ."\n"
-         ."word.pl\n"
-         ."\n"
-	 ."FORCE.pl word.pl\n"
-	 ."\n"
-	 ."word.pl general_test2.pl FORCE.pl word.pl generic_test.perl MAKEFILES_variable.pl\n"
-	 ."generic_test.perl MAKEFILES_variable.pl\n"
-	 ."\n"
-	 ."word.pl general_test2.pl FORCE.pl word.pl\n"
-;
-
-# In this call to compare output, you should use the call &get_logfile(1)
-# to send the name of the last logfile created.  You may also use
-# the special call &get_logfile(1) which returns the same as &get_logfile(1).
-
-&compare_output($answer, &get_logfile(1));
-
-# This tells the test driver that the perl test script executed properly.
-1;

+ 0 - 51
sys/src/ape/cmd/make-3.79/tests/scripts/misc/general1

@@ -1,51 +0,0 @@
-#                                                                    -*-perl-*-
-
-$description = "The following test creates a makefile to test the
-simple functionality of make.  It mimics the
-rebuilding of a product with dependencies.
-It also tests the simple definition of VPATH.";
-
-open(MAKEFILE,"> $makefile");
-
-print MAKEFILE <<EOF;
-VPATH = $workdir
-edit:  main.o kbd.o commands.o display.o \\
-       insert.o
-\t\@echo cc -o edit main.o kbd.o commands.o display.o \\
-                  insert.o
-main.o : main.c defs.h
-\t\@echo cc -c main.c
-kbd.o : kbd.c defs.h command.h
-\t\@echo cc -c kbd.c
-commands.o : command.c defs.h command.h
-\t\@echo cc -c commands.c
-display.o : display.c defs.h buffer.h
-\t\@echo cc -c display.c
-insert.o : insert.c defs.h buffer.h
-\t\@echo cc -c insert.c
-EOF
-
-close(MAKEFILE);
-
-
-@files_to_touch = ("$workdir${pathsep}main.c","$workdir${pathsep}defs.h",
-               "$workdir${pathsep}kbd.c","$workdir${pathsep}command.h",
-               "$workdir${pathsep}commands.c","$workdir${pathsep}display.c",
-               "$workdir${pathsep}buffer.h","$workdir${pathsep}insert.c",
-	       "$workdir${pathsep}command.c");
-
-&touch(@files_to_touch);
-
-&run_make_with_options($makefile,"",&get_logfile);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "cc -c main.c\ncc -c kbd.c\ncc -c commands.c\ncc -c display.c
-cc -c insert.c\ncc -o edit main.o kbd.o commands.o display.o insert.o\n";
-
-# COMPARE RESULTS
-
-if (&compare_output($answer,&get_logfile(1))) {
-  unlink @files_to_touch;
-}
-
-1;

+ 0 - 50
sys/src/ape/cmd/make-3.79/tests/scripts/misc/general2

@@ -1,50 +0,0 @@
-#                                                                    -*-perl-*-
-
-$description = "The following test creates a makefile to test the
-simple functionality of make.  It is the same as
-general_test1 except that this one tests the
-definition of a variable to hold the object filenames.";
-
-open(MAKEFILE,"> $makefile");
-
-# The contents of the Makefile ...
-
-print MAKEFILE <<EOF;
-VPATH = $workdir
-objects = main.o kbd.o commands.o display.o insert.o
-edit:  \$(objects)
-\t\@echo cc -o edit \$(objects)
-main.o : main.c defs.h
-\t\@echo cc -c main.c
-kbd.o : kbd.c defs.h command.h
-\t\@echo cc -c kbd.c
-commands.o : command.c defs.h command.h
-\t\@echo cc -c commands.c
-display.o : display.c defs.h buffer.h
-\t\@echo cc -c display.c
-insert.o : insert.c defs.h buffer.h
-\t\@echo cc -c insert.c
-EOF
-
-close(MAKEFILE);
-
-
-@files_to_touch = ("$workdir${pathsep}main.c","$workdir${pathsep}defs.h",
-               "$workdir${pathsep}kbd.c","$workdir${pathsep}command.h",
-               "$workdir${pathsep}commands.c","$workdir${pathsep}display.c",
-               "$workdir${pathsep}buffer.h","$workdir${pathsep}insert.c",
-	       "$workdir${pathsep}command.c");
-
-&touch(@files_to_touch);
-
-&run_make_with_options($makefile,"",&get_logfile);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "cc -c main.c\ncc -c kbd.c\ncc -c commands.c\ncc -c display.c
-cc -c insert.c\ncc -o edit main.o kbd.o commands.o display.o insert.o\n";
-
-if (&compare_output($answer,&get_logfile(1))) {
-  unlink @files_to_touch;
-}
-
-1;

+ 0 - 45
sys/src/ape/cmd/make-3.79/tests/scripts/misc/general3

@@ -1,45 +0,0 @@
-#                                                                    -*-perl-*-
-
-$description = "\
-This tests random features of the parser that need to be supported, and
-which have either broken at some point in the past or seem likely to
-break.";
-
-open(MAKEFILE,"> $makefile");
-
-# The contents of the Makefile ...
-
-print MAKEFILE <<EOF;
-\# We want to allow both empty commands _and_ commands that resolve to empty.
-EMPTY =
-
-.PHONY: all a1 a2 a3 a4
-all: a1 a2 a3 a4
-
-a1:;
-a2:
-\t
-a3:;\$(EMPTY)
-a4:
-\t\$(EMPTY)
-
-\# Non-empty lines that expand to nothing should also be ignored.
-STR =     \# Some spaces
-TAB =   \t  \# A TAB and some spaces
-
-\$(STR)
-
-\$(STR) \$(TAB)
-
-EOF
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,"",&get_logfile);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "$make_name: Nothing to be done for `all'.\n";
-
-&compare_output($answer,&get_logfile(1));
-
-1;

+ 0 - 35
sys/src/ape/cmd/make-3.79/tests/scripts/misc/version

@@ -1,35 +0,0 @@
-$description = "The following test creates a makefile to ... \n";
-
-$details = "Fill in Later\n";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "all: \n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,"-v",&get_logfile,0);
-
-# This tells the test driver that the perl test script executed properly.
-1;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

+ 0 - 48
sys/src/ape/cmd/make-3.79/tests/scripts/options/dash-C

@@ -1,48 +0,0 @@
-$description = "The following test creates a makefile to test the -C dir \n"
-              ."option in make.  This option tells make to change to \n"
-              ."directory dir before reading the makefile.";
-
-$details = "This test is similar to the clean test except that this test\n"
-          ."creates the file to delete in the work directory instead of\n"
-          ."the current directory.  Make is called from another directory\n"
-          ."using the -C workdir option so that it can both find the \n"
-          ."makefile and the file to delete in the work directory. ";
-
-$example = $workdir . $pathsep . "EXAMPLE_FILE";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "all: \n";
-print MAKEFILE "\t\@echo This makefile did not clean the dir ... good\n";
-print MAKEFILE "clean: \n";
-print MAKEFILE "\t$delete_command EXAMPLE_FILE\n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&touch($example);
-
-&run_make_with_options("${testname}.mk",
-	               "-C $workdir clean",
-		       &get_logfile);
-
-chdir $workdir;
-$wpath = &get_this_pwd;
-chdir $pwd;
-
-# Create the answer to what should be produced by this Makefile
-$answer = "$make_name: Entering directory `$wpath'\n"
-        . "$delete_command EXAMPLE_FILE\n"
-        . "$make_name: Leaving directory `$wpath'\n";
-
-&compare_output($answer,&get_logfile(1));
-
-if (-f $example)
-{
-   $test_passed = 0;
-}
-
-1;

+ 0 - 57
sys/src/ape/cmd/make-3.79/tests/scripts/options/dash-I

@@ -1,57 +0,0 @@
-$description ="The following test creates a makefile to test the -I option.";
-
-$details = "\
-This test tests the -I option by including a filename in
-another directory and giving make that directory name
-under -I in the command line.  Without this option, the make
-would fail to find the included file.  It also checks to make
-sure that the -I option gets passed to recursive makes.";
-
-$makefile2 = &get_tmpfile;
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-$mf2 = substr ($makefile2, index ($makefile2, $pathsep) + 1);
-print MAKEFILE <<EOF;
-include $mf2
-all:
-\t\@echo There should be no errors for this makefile.
-EOF
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-
-open(MAKEFILE,"> $makefile2");
-
-print MAKEFILE <<EOF;
-ANOTHER:
-\t\@echo This is another included makefile
-recurse:
-\t\$(MAKE) ANOTHER -f $makefile
-EOF
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,"-I $workdir all",&get_logfile);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "There should be no errors for this makefile.\n";
-&compare_output($answer,&get_logfile(1));
-
-
-$answer = "This is another included makefile\n";
-&run_make_with_options($makefile,"-I $workdir ANOTHER",&get_logfile);
-&compare_output($answer,&get_logfile(1));
-
-
-$answer = "$mkpath ANOTHER -f $makefile
-${make_name}[1]: Entering directory `$pwd'
-This is another included makefile
-${make_name}[1]: Leaving directory `$pwd'\n";
-
-&run_make_with_options($makefile,"-I $workdir recurse",&get_logfile);
-&compare_output($answer,&get_logfile(1));

+ 0 - 24
sys/src/ape/cmd/make-3.79/tests/scripts/options/dash-e

@@ -1,24 +0,0 @@
-#                                                                    -*-perl-*-
-
-$description = "The following test creates a makefile to ...";
-
-$details = "";
-
-$ENV{GOOGLE} = 'boggle';
-
-open(MAKEFILE,"> $makefile");
-
-print MAKEFILE <<'EOF';
-GOOGLE = bazzle
-all:; @echo "$(GOOGLE)"
-EOF
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile, '-e' ,&get_logfile);
-
-$answer = "boggle\n";
-
-&compare_output($answer,&get_logfile(1));
-
-1;

+ 0 - 85
sys/src/ape/cmd/make-3.79/tests/scripts/options/dash-f

@@ -1,85 +0,0 @@
-$description = "The following test tests that if you specify greater \n"
-              ."than one '-f makefilename' on the command line, \n"
-              ."that make concatenates them.  This test creates three \n"
-              ."makefiles and specifies all of them with the -f option \n"
-              ."on the command line.  To make sure they were concatenated, \n"
-              ."we then call make with the rules from the concatenated \n"
-              ."makefiles one at a time.  Finally, it calls all three \n"
-              ."rules in one call to make and checks that the output\n"
-              ."is in the correct order.";
-
-$makefile2 = &get_tmpfile;
-$makefile3 = &get_tmpfile;
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "all: \n";
-print MAKEFILE "\t\@echo This is the output from the original makefile\n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-# Create a second makefile
-open(MAKEFILE,"> $makefile2");
-print MAKEFILE "TWO: \n";
-print MAKEFILE "\t\@echo This is the output from makefile 2\n";
-close(MAKEFILE);
-
-# Create a third makefile
-open(MAKEFILE,"> $makefile3");
-print MAKEFILE "THREE: \n";
-print MAKEFILE "\t\@echo This is the output from makefile 3\n";
-close(MAKEFILE);
-
-
-# Create the answer to what should be produced by this Makefile
-$answer = "This is the output from the original makefile\n";
-
-# Run make to catch the default rule
-&run_make_with_options($makefile,"-f $makefile2 -f $makefile3",&get_logfile,0);
-
-&compare_output($answer,&get_logfile(1));
-
-
-# Run Make again with the rule from the second makefile: TWO
-$answer = "This is the output from makefile 2\n";
-
-&run_make_with_options($makefile,"-f $makefile2 -f $makefile3 TWO",&get_logfile,0);
-
-&compare_output($answer,&get_logfile(1));
-     
-
-# Run Make again with the rule from the third makefile: THREE
-
-$answer = "This is the output from makefile 3\n";
-&run_make_with_options($makefile,
-                       "-f $makefile2 -f $makefile3 THREE",
-                       &get_logfile,
-                       0);
-&compare_output($answer,&get_logfile(1));
-
-
-# Run Make again with ALL three rules in the order 2 1 3 to make sure
-# that all rules are executed in the proper order
-
-$answer = "This is the output from makefile 2\n";
-$answer .= "This is the output from the original makefile\n";
-$answer .= "This is the output from makefile 3\n";
-&run_make_with_options($makefile,
-                       "-f $makefile2 -f $makefile3 TWO all THREE",
-		       &get_logfile,
-                       0);
-&compare_output($answer,&get_logfile(1));
-       
-
-
-
-
-
-
-
-
-

+ 0 - 100
sys/src/ape/cmd/make-3.79/tests/scripts/options/dash-k

@@ -1,100 +0,0 @@
-#                                                                    -*-perl-*-
-
-$description = "Test the make -k (don't stop on error) option.\n";
-
-$details = "\
-The makefile created in this test is a simulation of building
-a small product.  However, the trick to this one is that one
-of the dependencies of the main target does not exist.
-Without the -k option, make would fail immediately and not
-build any part of the target.  What we are looking for here,
-is that make builds the rest of the dependencies even though
-it knows that at the end it will fail to rebuild the main target.";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE <<EOF;
-VPATH = $workdir
-edit:  main.o kbd.o commands.o display.o
-\t\@echo cc -o edit main.o kbd.o commands.o display.o
-
-main.o : main.c defs.h
-\t\@echo cc -c main.c
-
-kbd.o : kbd.c defs.h command.h
-\t\@echo cc -c kbd.c
-
-commands.o : command.c defs.h command.h
-\t\@echo cc -c commands.c
-
-display.o : display.c defs.h buffer.h
-\t\@echo cc -c display.c
-EOF
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-
-@files_to_touch = ("$workdir${pathsep}main.c","$workdir${pathsep}defs.h",
-               "$workdir${pathsep}command.h",
-               "$workdir${pathsep}commands.c","$workdir${pathsep}display.c",
-               "$workdir${pathsep}buffer.h",
-	       "$workdir${pathsep}command.c");
-
-&touch(@files_to_touch);
-
-if ($vos) {
-  $error_code = 3307;
-}
-else {
-  $error_code = 512;
-}
-
-&run_make_with_options($makefile, "-k", &get_logfile, $error_code);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "cc -c main.c
-$make_name: *** No rule to make target `kbd.c', needed by `kbd.o'.
-cc -c commands.c
-cc -c display.c
-$make_name: Target `edit' not remade because of errors.\n";
-
-# COMPARE RESULTS
-
-&compare_output($answer, &get_logfile(1));
-
-unlink(@files_to_touch) unless $keep;
-
-
-# TEST 1: Make sure that top-level targets that depend on targets that
-# previously failed to build, aren't attempted.  Regression for PR/1634.
-
-$makefile2 = &get_tmpfile;
-
-open(MAKEFILE, "> $makefile2");
-print MAKEFILE <<'EOF';
-.SUFFIXES:
-
-all: exe1 exe2; @echo making $@
-
-exe1 exe2: lib; @echo cp $^ $@
-
-lib: foo.o; @echo cp $^ $@
-
-foo.o: ; exit 1
-EOF
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile2, "-k", &get_logfile, $error_code);
-
-$answer = "exit 1
-$make_name: *** [foo.o] Error 1
-$make_name: Target `all' not remade because of errors.\n";
-
-&compare_output($answer, &get_logfile(1));
-
-1;

+ 0 - 55
sys/src/ape/cmd/make-3.79/tests/scripts/options/dash-l

@@ -1,55 +0,0 @@
-#                                                                    -*-perl-*-
-# Date: Tue, 11 Aug 1992 09:34:26 -0400
-# From: pds@lemming.webo.dg.com (Paul D. Smith)
-
-$description = "Test load balancing (-l) option.";
-
-$details = "\
-This test creates a makefile where all depends on three rules
-which contain the same body.  Each rule checks for the existence
-of a temporary file; if it exists an error is generated.  If it
-doesn't exist then it is created, the rule sleeps, then deletes
-the temp file again.  Thus if any of the rules are run in
-parallel the test will fail.  When make is called in this test,
-it is given the -l option with a value of 0.0001.  This ensures
-that the load will be above this number and make will therefore
-decide that it cannot run more than one job even though -j 4 was
-also specified on the command line.";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE <<'EOF';
-SHELL = /bin/sh
-
-define test
-if [ ! -f test-file ]; then \
-  echo >> test-file; sleep 2; rm -f test-file; \
-else \
-  echo $@ FAILED; \
-fi
-endef
-
-all : ONE TWO THREE
-ONE : ; @$(test)
-TWO : ; @$(test)
-THREE : ; @$(test)
-EOF
-
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-$mkoptions = "-l 0.0001";
-$mkoptions .= " -j 4" if ($parallel_jobs);
-
-&run_make_with_options($makefile, $mkoptions, &get_logfile);
-
-$slurp = &read_file_into_string (&get_logfile(1));
-if ($slurp !~ /cannot enforce load limit/) {
-  &compare_output("", &get_logfile(1));
-}
-
-1;

+ 0 - 76
sys/src/ape/cmd/make-3.79/tests/scripts/options/dash-n

@@ -1,76 +0,0 @@
-#                                                                    -*-perl-*-
-$description = "Test the -n option.\n";
-
-$details = "Try various uses of -n and ensure they all give the correct results.\n";
-
-open(MAKEFILE, "> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE <<'EOMAKE';
-
-final: intermediate ; echo >> $@
-intermediate: orig ; echo >> $@
-
-EOMAKE
-
-close(MAKEFILE);
-
-&touch('orig');
-
-# TEST 0
-
-&run_make_with_options($makefile, "", &get_logfile);
-$answer = "echo >> intermediate\necho >> final\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST 1
-
-&run_make_with_options($makefile, "-Worig -n", &get_logfile);
-$answer = "echo >> intermediate\necho >> final\n";
-&compare_output($answer, &get_logfile(1));
-
-unlink('orig', 'intermediate', 'final');
-
-# We consider the actual updated timestamp of targets with all
-# recursive commands, even with -n.
-
-$makefile2 = &get_tmpfile;
-
-open(MAKEFILE, "> $makefile2");
-
-print MAKEFILE <<'EOF';
-.SUFFIXES:
-BAR =     # nothing
-FOO = +$(BAR)
-a: b; echo > $@
-b: c; $(FOO)
-EOF
-
-close(MAKEFILE);
-
-&touch('b');
-# Sometimes, on my Solaris 2.5.1 box with a NetApp filesystem NFS-mounted,
-# just touching b first then a isn't good enough: the nsec field in the
-# stat result shows b is _newer_ than a once every 5 or 6 tries!!!  I've
-# no idea what this is about, but that's why there's a sleep(1) here...
-sleep(1);
-&touch('a');
-sleep(1);
-&touch('c');
-
-# TEST 2
-
-&run_make_with_options($makefile2, "", &get_logfile);
-$answer = "$make_name: `a' is up to date.\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST 3
-
-&run_make_with_options($makefile2, "-n", &get_logfile);
-$answer = "$make_name: `a' is up to date.\n";
-&compare_output($answer, &get_logfile(1));
-
-unlink('a', 'b', 'c');
-
-1;

+ 0 - 53
sys/src/ape/cmd/make-3.79/tests/scripts/targets/DEFAULT

@@ -1,53 +0,0 @@
-$description = "The following test creates a makefile to override part\n"
-              ."of one Makefile with Another Makefile with the .DEFAULT\n"
-              ."rule.";
-
-$details = "This tests the use of the .DEFAULT special target to say that \n"
-          ."to remake any target that cannot be made fram the information\n"
-          ."in the containing makefile, make should look in another makefile\n"
-          ."This test gives this makefile the target bar which is not \n"
-          ."defined here but passes the target bar on to another makefile\n"
-          ."which does have the target bar defined.\n";
-
-$makefile2 = &get_tmpfile;
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "foo:\n";
-print MAKEFILE "\t\@echo Executing rule FOO\n\n";
-print MAKEFILE ".DEFAULT:\n";
-print MAKEFILE "\t\@\$(MAKE) -f $makefile2 \$\@ \n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-
-open(MAKEFILE,"> $makefile2");
-
-print MAKEFILE "bar:\n";
-print MAKEFILE "\t\@echo Executing rule BAR\n\n";
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,'bar',&get_logfile);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "${make_name}[1]: Entering directory `$pwd'\n"
-        . "Executing rule BAR\n"
-        . "${make_name}[1]: Leaving directory `$pwd'\n";
-
-# COMPARE RESULTS
-
-&compare_output($answer,&get_logfile(1));
-
-# This tells the test driver that the perl test script executed properly.
-1;
-
-
-
-
-
-

+ 0 - 52
sys/src/ape/cmd/make-3.79/tests/scripts/targets/FORCE

@@ -1,52 +0,0 @@
-$description = "The following tests rules without Commands or Dependencies."; 
-
-$details = "If the rule ...\n";
-
-if ($vos)
-{
-   $delete_command = "delete_file";
-}
-else
-{
-   $delete_command = "rm";
-}
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE ".IGNORE :\n";
-print MAKEFILE "clean: FORCE\n";
-print MAKEFILE "\t$delete_command clean\n"; 
-print MAKEFILE "FORCE:\n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-
-# Create a file named "clean".  This is the same name as the target clean
-# and tricks the target into thinking that it is up to date.  (Unless you 
-# use the .PHONY target.
-&touch("clean");
-
-$answer = "$delete_command clean\n";
-&run_make_with_options($makefile,"clean",&get_logfile);
-
-&compare_output($answer,&get_logfile(1)); 
-
-if (-f $example)
-{
-   $test_passed = 0;
-}
- 
-1;
-
-
-
-
-
-
-
-
-

+ 0 - 110
sys/src/ape/cmd/make-3.79/tests/scripts/targets/INTERMEDIATE

@@ -1,110 +0,0 @@
-#                                                                    -*-perl-*-
-
-$description = "Test the behaviour of the .INTERMEDIATE target.";
-
-$details = "\
-Test the behavior of the .INTERMEDIATE special target.
-Create a makefile where a file would not normally be considered
-intermediate, then specify it as .INTERMEDIATE.  Build and ensure it's
-deleted properly.  Rebuild to ensure that it's not created if it doesn't
-exist but doesn't need to be built.  Change the original and ensure
-that the intermediate file and the ultimate target are both rebuilt, and
-that the intermediate file is again deleted.
-
-Try this with implicit rules and explicit rules: both should work.\n";
-
-open(MAKEFILE,"> $makefile");
-
-print MAKEFILE <<'EOF';
-
-.INTERMEDIATE: foo.e bar.e
-
-# Implicit rule test
-%.d : %.e ; cp $< $@
-%.e : %.f ; cp $< $@
-
-foo.d: foo.e
-
-# Explicit rule test
-foo.c: foo.e bar.e; cat $^ > $@
-EOF
-
-close(MAKEFILE);
-
-# TEST #0
-
-&touch('foo.f');
-&touch('bar.f');
-sleep($wtime);
-
-&run_make_with_options($makefile,'foo.d',&get_logfile);
-$answer = "cp foo.f foo.e\ncp foo.e foo.d\nrm foo.e\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST #1
-
-&run_make_with_options($makefile,'foo.d',&get_logfile);
-$answer = "$make_name: `foo.d' is up to date.\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST #2
-
-sleep($wtime);
-&touch('foo.f');
-
-&run_make_with_options($makefile,'foo.d',&get_logfile);
-$answer = "cp foo.f foo.e\ncp foo.e foo.d\nrm foo.e\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST #3
-
-&run_make_with_options($makefile,'foo.c',&get_logfile);
-$answer = "cp foo.f foo.e\ncp bar.f bar.e\ncat foo.e bar.e > foo.c\nrm foo.e bar.e\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST #4
-
-&run_make_with_options($makefile,'foo.c',&get_logfile);
-$answer = "$make_name: `foo.c' is up to date.\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST #5
-
-sleep($wtime);
-&touch('foo.f');
-
-&run_make_with_options($makefile,'foo.c',&get_logfile);
-$answer = "cp foo.f foo.e\ncp bar.f bar.e\ncat foo.e bar.e > foo.c\nrm foo.e bar.e\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST #6 -- added for PR/1669: don't remove files mentioned on the cmd line.
-
-&run_make_with_options($makefile,'foo.e',&get_logfile);
-$answer = "cp foo.f foo.e\n";
-&compare_output($answer, &get_logfile(1));
-
-unlink('foo.f', 'foo.e', 'foo.d', 'foo.c', 'bar.f', 'bar.e', 'bar.d', 'bar.c');
-
-# TEST #7 -- added for PR/1423
-
-$makefile2 = &get_tmpfile;
-
-open(MAKEFILE, "> $makefile2");
-
-print MAKEFILE <<'EOF';
-all: foo
-foo.a: ; touch $@
-%: %.a ; touch $@
-.INTERMEDIATE: foo.a
-EOF
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile2, '-R', &get_logfile);
-$answer = "touch foo.a\ntouch foo\nrm foo.a\n";
-&compare_output($answer, &get_logfile(1));
-
-unlink('foo');
-
-# This tells the test driver that the perl test script executed properly.
-1;

+ 0 - 62
sys/src/ape/cmd/make-3.79/tests/scripts/targets/PHONY

@@ -1,62 +0,0 @@
-$description = "The following tests the use of a PHONY target.  It makes\n"
-              ."sure that the rules under a target get executed even if\n"
-              ."a filename of the same name of the target exists in the\n"
-              ."directory.\n";
-
-$details = "This makefile in this test declares the target clean to be a \n"
-          ."PHONY target.  We then create a file named \"clean\" in the \n"
-          ."directory.  Although this file exists, the rule under the target\n"
-          ."clean should still execute because of it's phony status.";
-
-if ($vos)
-{
-   $delete_command = "delete_file";
-}
-else
-{
-   $delete_command = "rm";
-}
-
-$example = "EXAMPLE_FILE";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE ".PHONY : clean \n";
-print MAKEFILE "all: \n";
-print MAKEFILE "\t\@echo This makefile did not clean the dir ... good\n";
-print MAKEFILE "clean: \n";
-print MAKEFILE "\t$delete_command $example clean\n"; 
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&touch($example);
-
-# Create a file named "clean".  This is the same name as the target clean
-# and tricks the target into thinking that it is up to date.  (Unless you 
-# use the .PHONY target.
-&touch("clean");
-
-$answer = "$delete_command $example clean\n";
-&run_make_with_options($makefile,"clean",&get_logfile);
-
-&compare_output($answer,&get_logfile(1)); 
-
-if (-f $example)
-{
-   $test_passed = 0;
-}
- 
-1;
-
-
-
-
-
-
-
-
-

+ 0 - 85
sys/src/ape/cmd/make-3.79/tests/scripts/targets/SECONDARY

@@ -1,85 +0,0 @@
-#! -*-perl-*-
-
-$description = "Test the behaviour of the .SECONDARY target.";
-
-$details = "\
-Test the behavior of the .SECONDARY special target.
-Create a makefile where a file would not normally be considered
-intermediate, then specify it as .SECONDARY.  Build and note that it's
-not automatically deleted.  Delete the file.  Rebuild to ensure that
-it's not created if it doesn't exist but doesn't need to be built.
-Change the original and ensure that the secondary file and the ultimate
-target are both rebuilt, and that the secondary file is not deleted.
-
-Try this with implicit rules and explicit rules: both should work.\n";
-
-open(MAKEFILE,"> $makefile");
-
-print MAKEFILE <<'EOF';
-
-.SECONDARY: foo.e
-
-# Implicit rule test
-%.d : %.e ; cp $< $@
-%.e : %.f ; cp $< $@
-
-foo.d: foo.e
-
-# Explicit rule test
-foo.c: foo.e ; cp $< $@
-EOF
-
-close(MAKEFILE);
-
-# TEST #1
-
-&touch('foo.f');
-
-&run_make_with_options($makefile,'foo.d',&get_logfile);
-$answer = "cp foo.f foo.e\ncp foo.e foo.d\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST #2
-
-unlink('foo.e');
-
-&run_make_with_options($makefile,'foo.d',&get_logfile);
-$answer = "$make_name: `foo.d' is up to date.\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST #3
-
-sleep($wtime);
-&touch('foo.f');
-
-&run_make_with_options($makefile,'foo.d',&get_logfile);
-$answer = "cp foo.f foo.e\ncp foo.e foo.d\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST #4
-
-&run_make_with_options($makefile,'foo.c',&get_logfile);
-$answer = "cp foo.e foo.c\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST #5
-
-unlink('foo.e');
-
-&run_make_with_options($makefile,'foo.c',&get_logfile);
-$answer = "$make_name: `foo.c' is up to date.\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST #6
-
-sleep($wtime);
-&touch('foo.f');
-
-&run_make_with_options($makefile,'foo.c',&get_logfile);
-$answer = "cp foo.f foo.e\ncp foo.e foo.c\n";
-&compare_output($answer, &get_logfile(1));
-
-unlink('foo.f', 'foo.e', 'foo.d', 'foo.c');
-
-# This tells the test driver that the perl test script executed properly.
-1;

+ 0 - 51
sys/src/ape/cmd/make-3.79/tests/scripts/targets/SILENT

@@ -1,51 +0,0 @@
-$description = "The following tests the special target .SILENT.  By simply\n"
-              ."mentioning this as a target, it tells make not to print\n"
-              ."commands before executing them.";
-
-$details = "This test is the same as the clean test except that it should\n"
-          ."not echo its command before deleting the specified file.\n";
-
-if ($vos)
-{
-   $delete_command = "delete_file";
-}
-else
-{
-   $delete_command = "rm";
-}
-
-$example = "EXAMPLE_FILE";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE ".SILENT : clean\n";
-print MAKEFILE "clean: \n";
-print MAKEFILE "\t$delete_command EXAMPLE_FILE\n"; 
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&touch($example);
-
-$answer = "";
-&run_make_with_options($makefile,"clean",&get_logfile,0);
-
-&compare_output($answer,&get_logfile(1)); 
-if (-f $example)
-{
-   $test_passed = 0;
-}
- 
-1;
-
-
-
-
-
-
-
-
-

+ 0 - 51
sys/src/ape/cmd/make-3.79/tests/scripts/targets/clean

@@ -1,51 +0,0 @@
-#                                                                    -*-perl-*-
-
-$description = "The following test creates a makefile to delete a \n"
-              ."file in the directory.  It tests to see if make will \n"
-              ."NOT execute the command unless the rule is given in \n"
-              ."the make command line.";
-
-$example = "EXAMPLE_FILE";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "all: \n";
-print MAKEFILE "\t\@echo This makefile did not clean the dir... good\n";
-print MAKEFILE "clean: \n";
-print MAKEFILE "\t$delete_command EXAMPLE_FILE\n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-&touch($example);
-
-
-&run_make_with_options($makefile,"",&get_logfile,0);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "This makefile did not clean the dir... good\n";
-
-&compare_output($answer,&get_logfile(1)) || &error ("abort");
-
-
-$answer = "$delete_command $example\n";
-&run_make_with_options($makefile,"clean",&get_logfile,0);
-
-&compare_output($answer,&get_logfile(1)) || &error ("abort");
-if (-f $example) {
-   $test_passed = 0;
-}
-
-1;
-
-
-
-
-
-
-
-
-

+ 0 - 70
sys/src/ape/cmd/make-3.79/tests/scripts/test_template

@@ -1,70 +0,0 @@
-$description = "The following test creates a makefile to ...
-                     <FILL IN DESCRIPTION HERE> ";
-
-$details = "<FILL IN DETAILS OF HOW YOU TEST WHAT YOU SAY YOU ARE TESTING>";
-
-# IF YOU NEED >1 MAKEFILE FOR THIS TEST, USE &get_tmpfile; TO GET
-# THE NAME OF THE MAKEFILE.  THIS INSURES CONSISTENCY AND KEEPS TRACK OF
-# HOW MANY MAKEFILES EXIST FOR EASY DELETION AT THE END.
-# EXAMPLE: $makefile2 = &get_tmpfile;
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE " <FILL IN THE CONTENTS OF THE MAKEFILE HERE>  \n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-
-# Run make.  You may specify a makefile, but if you don't want to, just
-# insert "" where $make_filename is now.  You may also specify specific
-# options to run make with, but you also don't have to. (Insert "" where it 
-# says <FILL IN OPTIONS HERE>), The last field in this subroutine call
-# is the code which is returned from make.  If you think that make should
-# execute with no errors, you may OPTIONALLY put 0; Otherwise put the 
-# error code that you expect back from make for this test.
-
-# Every time you run make, you just need to say &get_logfile and that
-# subroutine will get a new logfile name for you in incrementing order
-# according to how many times you call it within ONE test.  It is 
-# reset to 0 at the beginning of every new test script.
-
-&run_make_with_options($makefile,
-                       "<FILL IN OPTIONS HERE>",
-                       &get_logfile,
-                       0);
-
-
-# THE REST OF THIS FILE DEPENDS HIGHLY ON WHAT KIND OF TEST YOU ARE
-# CREATING, SO IT WILL VARY.  BASICALLY, YOU MAY INSERT ANYTHING YOU 
-# WISH AT THIS POINT TO SEE IF THE TEST WORKED OK.  IF THERE ARE 
-# ADDITIONAL TESTS BESIDES &compare_output, AND IT FAILES, YOU
-# MUST *** SET $test_passed = 0 !!! ***
-
-# Create the answer to what should be produced by this Makefile
-$answer = "<INSERT ANSWER HERE>";
-
-# COMPARE RESULTS
-
-# In this call to compare output, you should use the call &get_logfile(1)
-# to send the name of the last logfile created.  You may also use
-# the special call &get_logfile(1) which returns the same as &get_logfile(1).
-
-&compare_output($answer,&get_logfile(1));
-
-# If you wish to &error ("abort
-") if the compare fails, then add a "|| &error ("abort
-")" to the
-# end of the previous line.
-
-# This tells the test driver that the perl test script executed properly.
-1;
-
-
-
-
-
-

+ 0 - 20
sys/src/ape/cmd/make-3.79/tests/scripts/variables/CURDIR

@@ -1,20 +0,0 @@
-#                                                                    -*-perl-*-
-
-$description = "This tests the CURDIR varaible.";
-
-$details = "Echo CURDIR both with and without -C.  Also ensure overrides work.";
-
-open(MAKEFILE,"> $makefile");
-print MAKEFILE "all: ; \@echo \$(CURDIR)\n";
-close(MAKEFILE);
-
-
-# TEST #1
-# -------
-
-&run_make_with_options($makefile,"",&get_logfile);
-$answer = "$pwd\n";
-&compare_output($answer,&get_logfile(1));
-
-
-1;

+ 0 - 33
sys/src/ape/cmd/make-3.79/tests/scripts/variables/MAKE

@@ -1,33 +0,0 @@
-$description = "The following test creates a makefile to test MAKE \n"
-              ."(very generic)";
-
-$details = "DETAILS";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "TMP  := \$(MAKE)\n";
-print MAKEFILE "MAKE := \$(subst X=\$(X),,\$(MAKE))\n\n";
-print MAKEFILE "all:\n";
-print MAKEFILE "\t\@echo \$(TMP)\n";
-print MAKEFILE "\t\$(MAKE) -f $makefile foo\n\n";
-print MAKEFILE "foo:\n";
-print MAKEFILE "\t\@echo \$(MAKE)\n";
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "$mkpath\n$mkpath -f $makefile foo\n"
-	. "${make_name}[1]: Entering directory `$pwd'\n"
-	. "$mkpath\n${make_name}[1]: Leaving directory `$pwd'\n";
-
-&run_make_with_options($makefile,"",&get_logfile,0);
-
-&delete("foo");
-# COMPARE RESULTS
-&compare_output($answer,&get_logfile(1));
-
-1;

+ 0 - 52
sys/src/ape/cmd/make-3.79/tests/scripts/variables/MAKECMDGOALS

@@ -1,52 +0,0 @@
-#                                                                    -*-perl-*-
-
-$description = "Test the MAKECMDGOALS variable.";
-
-$details = "\
-We construct a makefile with various targets, all of which print out
-\$(MAKECMDGOALS), then call it different ways.";
-
-open(MAKEFILE,"> $makefile");
-print MAKEFILE "\
-.DEFAULT all:
-	\@echo \$(MAKECMDGOALS)
-";
-close(MAKEFILE);
-
-# TEST #1
-
-&run_make_with_options($makefile,
-                       "",
-                       &get_logfile,
-                       0);
-$answer = "\n";
-&compare_output($answer,&get_logfile(1));
-
-# TEST #2
-
-&run_make_with_options($makefile,
-                       "all",
-                       &get_logfile,
-                       0);
-$answer = "all\n";
-&compare_output($answer,&get_logfile(1));
-
-
-# TEST #3
-
-&run_make_with_options($makefile,
-                       "foo bar baz yaz",
-                       &get_logfile,
-                       0);
-$answer = "foo bar baz yaz\nfoo bar baz yaz\nfoo bar baz yaz\nfoo bar baz yaz\n";
-&compare_output($answer,&get_logfile(1));
-
-
-# This tells the test driver that the perl test script executed properly.
-1;
-
-
-
-
-
-

+ 0 - 34
sys/src/ape/cmd/make-3.79/tests/scripts/variables/MAKEFILES

@@ -1,34 +0,0 @@
-#                                                                    -*-perl-*-
-
-$description = "Test the MAKEFILES variable.";
-
-$makefile2 = &get_tmpfile;
-$makefile3 = &get_tmpfile;
-
-open(MAKEFILE,"> $makefile");
-print MAKEFILE 'all: ; @echo DEFAULT RULE: M2=$(M2) M3=$(M3)', "\n";
-close(MAKEFILE);
-
-
-open(MAKEFILE,"> $makefile2");
-print MAKEFILE <<EOF;
-M2 = m2
-NDEF: ; \@echo RULE FROM MAKEFILE 2
-EOF
-close(MAKEFILE);
-
-
-open(MAKEFILE,"> $makefile3");
-print MAKEFILE <<EOF;
-M3 = m3
-NDEF3: ; \@echo RULE FROM MAKEFILE 3
-EOF
-close(MAKEFILE);
-
-
-&run_make_with_options($makefile, "MAKEFILES='$makefile2 $makefile3'",
-                       &get_logfile);
-$answer = "DEFAULT RULE: M2=m2 M3=m3\n";
-&compare_output($answer,&get_logfile(1));
-
-1;

+ 0 - 34
sys/src/ape/cmd/make-3.79/tests/scripts/variables/MAKELEVEL

@@ -1,34 +0,0 @@
-#                                                               -*-perl-mode-*-
-
-$description = "The following test creates a makefile to test
-makelevels in Make. It prints \$(MAKELEVEL) and then
-prints the environment variable MAKELEVEL";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE <<EOF;
-SHELL = /bin/sh
-all:
-\t\@echo MAKELEVEL is \$(MAKELEVEL)
-\techo \$\$MAKELEVEL
-EOF
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-# RUN MAKE
-
-&run_make_with_options($makefile,"",&get_logfile);
-
-# SET ANSWER
-
-$answer = "MAKELEVEL is 0\necho \$MAKELEVEL\n1\n";
-
-# COMPARE RESULTS
-
-&compare_output($answer,&get_logfile(1));
-
-1;

+ 0 - 68
sys/src/ape/cmd/make-3.79/tests/scripts/variables/flavors

@@ -1,68 +0,0 @@
-#                                                                    -*-perl-*-
-
-$description = "Test various flavors of make variable setting.";
-
-$details = "";
-
-open(MAKEFILE, "> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE <<'EOF';
-foo = $(bar)
-bar = ${ugh}
-ugh = Hello
-
-all: multi ; @echo $(foo)
-
-multi: ; $(multi)
-
-x := foo
-y := $(x) bar
-x := later
-
-nullstring :=
-space := $(nullstring) $(nullstring)
-
-next: ; @echo $x$(space)$y
-
-define multi
-@echo hi
-@echo there
-endef
-
-ifdef BOGUS
-define
-@echo error
-endef
-endif
-
-EOF
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-# TEST #1
-# -------
-
-&run_make_with_options($makefile, "", &get_logfile);
-$answer = "hi\nthere\nHello\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST #2
-# -------
-
-&run_make_with_options($makefile, "next", &get_logfile);
-$answer = "later foo bar\n";
-&compare_output($answer, &get_logfile(1));
-
-# TEST #3
-# -------
-
-&run_make_with_options($makefile, "BOGUS=true", &get_logfile, 512);
-$answer = "$makefile:23: *** empty variable name.  Stop.\n";
-&compare_output($answer, &get_logfile(1));
-
-
-1;

+ 0 - 188
sys/src/ape/cmd/make-3.79/w32/compat/dirent.c

@@ -1,188 +0,0 @@
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <errno.h>
-#include <string.h>
-#include <stdlib.h>
-#include "dirent.h"
-
-
-DIR*
-opendir(const char* pDirName)
-{
-	struct stat sb;
-	DIR*	pDir;
-	char*	pEndDirName;
-	int	nBufferLen;
-
-	/* sanity checks */
-	if (!pDirName) {
-		errno = EINVAL;
-		return NULL;
-	}
-	if (stat(pDirName, &sb) != 0) {
-		errno = ENOENT;
-		return NULL;
-	}
-	if ((sb.st_mode & S_IFMT) != S_IFDIR) {
-		errno = ENOTDIR;
-		return NULL;
-	}
-
-	/* allocate a DIR structure to return */
-	pDir = (DIR *) malloc(sizeof (DIR));
-
-	if (!pDir)
-		return NULL;
-
-	/* input directory name length */
-	nBufferLen = strlen(pDirName);
-
-	/* copy input directory name to DIR buffer */
-	strcpy(pDir->dir_pDirectoryName, pDirName);
-
-	/* point to end of the copied directory name */
-	pEndDirName = &pDir->dir_pDirectoryName[nBufferLen - 1];
-
-	/* if directory name did not end in '/' or '\', add '/' */
-	if ((*pEndDirName != '/') && (*pEndDirName != '\\')) {
-		pEndDirName++;
-		*pEndDirName = '/';
-	}
-
-	/* now append the wildcard character to the buffer */
-	pEndDirName++;
-	*pEndDirName = '*';
-	pEndDirName++;
-	*pEndDirName = '\0';
-
-	/* other values defaulted */
-	pDir->dir_nNumFiles = 0;
-	pDir->dir_hDirHandle = INVALID_HANDLE_VALUE;	
-	pDir->dir_ulCookie = __DIRENT_COOKIE;
-
-	return pDir;
-}
-
-void
-closedir(DIR *pDir)
-{
-	/* got a valid pointer? */
-	if (!pDir) {
-		errno = EINVAL;
-		return;
-	}
-
-	/* sanity check that this is a DIR pointer */
-	if (pDir->dir_ulCookie != __DIRENT_COOKIE) {
-		errno = EINVAL;
-		return;
-	}
-
-	/* close the WINDOWS32 directory handle */
-	if (pDir->dir_hDirHandle != INVALID_HANDLE_VALUE)
-		FindClose(pDir->dir_hDirHandle);
-
-	free(pDir);
-
-	return;
-}
-
-struct dirent *
-readdir(DIR* pDir)
-{
-	WIN32_FIND_DATA wfdFindData;
-
-	if (!pDir) {
-		errno = EINVAL;
-		return NULL;
-	}
-
-	/* sanity check that this is a DIR pointer */
-	if (pDir->dir_ulCookie != __DIRENT_COOKIE) {
-		errno = EINVAL;
-		return NULL;
-	}
-
-	if (pDir->dir_nNumFiles == 0) {
-		pDir->dir_hDirHandle = FindFirstFile(pDir->dir_pDirectoryName, &wfdFindData);
-		if (pDir->dir_hDirHandle == INVALID_HANDLE_VALUE)
-			return NULL;
-	} else if (!FindNextFile(pDir->dir_hDirHandle, &wfdFindData))
-			return NULL;
-
-	/* bump count for next call to readdir() or telldir() */
-	pDir->dir_nNumFiles++;
-
-	/* fill in struct dirent values */
-	pDir->dir_sdReturn.d_ino = -1;
-	strcpy(pDir->dir_sdReturn.d_name, wfdFindData.cFileName);
-
-	return &pDir->dir_sdReturn;
-}
-
-void
-rewinddir(DIR* pDir)
-{
-	if (!pDir) {
-		errno = EINVAL;
-		return;
-	}
-
-	/* sanity check that this is a DIR pointer */
-	if (pDir->dir_ulCookie != __DIRENT_COOKIE) {
-		errno = EINVAL;
-		return;
-	}
-
-	/* close the WINDOWS32 directory handle */
-	if (pDir->dir_hDirHandle != INVALID_HANDLE_VALUE)
-		if (!FindClose(pDir->dir_hDirHandle))
-			errno = EBADF;
-
-	/* reset members which control readdir() */
-	pDir->dir_hDirHandle = INVALID_HANDLE_VALUE;
-	pDir->dir_nNumFiles = 0;
-
-	return;
-}
-
-int
-telldir(DIR* pDir)
-{
-	if (!pDir) {
-		errno = EINVAL;
-		return -1;
-	}
-
-	/* sanity check that this is a DIR pointer */
-	if (pDir->dir_ulCookie != __DIRENT_COOKIE) {
-		errno = EINVAL;
-		return -1;
-	}
-
-	/* return number of times readdir() called */
-	return pDir->dir_nNumFiles;
-}
-
-void
-seekdir(DIR* pDir, long nPosition)
-{
-	if (!pDir)
-		return;
-
-	/* sanity check that this is a DIR pointer */
-	if (pDir->dir_ulCookie != __DIRENT_COOKIE)
-		return;
-
-	/* go back to beginning of directory */
-	rewinddir(pDir);
-
-	/* loop until we have found position we care about */
-	for (--nPosition; nPosition && readdir(pDir); nPosition--);
-
-	/* flag invalid nPosition value */
-	if (nPosition)
-		errno = EINVAL;
-
-	return;
-}

+ 0 - 37
sys/src/ape/cmd/make-3.79/w32/include/dirent.h

@@ -1,37 +0,0 @@
-#ifndef _DIRENT_H
-#define _DIRENT_H
-
-#include <stdlib.h>
-#include <windows.h>
-#include <limits.h>
-#include <sys/types.h>
-
-#ifndef NAME_MAX
-#define NAME_MAX 255
-#endif
-
-#define __DIRENT_COOKIE 0xfefeabab
-
-
-struct dirent
-{
-  ino_t d_ino; 			/* unused - no equivalent on WINDOWS32 */
-  char d_name[NAME_MAX+1];
-};
-
-typedef struct dir_struct {
-	ULONG	dir_ulCookie;
-	HANDLE	dir_hDirHandle;
-	DWORD	dir_nNumFiles;
-	char	dir_pDirectoryName[NAME_MAX+1];
-	struct dirent dir_sdReturn;
-} DIR;
-
-DIR *opendir(const char *);
-struct dirent *readdir(DIR *);
-void rewinddir(DIR *);
-void closedir(DIR *);
-int telldir(DIR *);
-void seekdir(DIR *, long);
-
-#endif

+ 0 - 9
sys/src/ape/cmd/make-3.79/w32/include/pathstuff.h

@@ -1,9 +0,0 @@
-#ifndef _PATHSTUFF_H
-#define _PATHSTUFF_H
-
-extern char * convert_Path_to_windows32(char *Path, char to_delim);
-extern char * convert_vpath_to_windows32(char *Path, char to_delim);
-extern char * w32ify(char *file, int resolve);
-extern char * getcwd_fs(char *buf, int len);
-
-#endif

+ 0 - 47
sys/src/ape/cmd/make-3.79/w32/include/sub_proc.h

@@ -1,47 +0,0 @@
-#ifndef SUB_PROC_H
-#define SUB_PROC_H
-
-/*
- * Component Name: 
- *
- * $Date: 1997/08/27 20:34:23 $
- *
- * $Source: /home/cvs/make/w32/include/sub_proc.h,v $
- *
- * $Revision: 1.4 $
- */
-
-/* $Id: sub_proc.h,v 1.4 1997/08/27 20:34:23 psmith Exp $ */
-
-#ifdef WINDOWS32
-
-#define EXTERN_DECL(entry, args) extern entry args
-#define VOID_DECL void
-
-EXTERN_DECL(HANDLE process_init, (VOID_DECL));
-EXTERN_DECL(HANDLE process_init_fd, (HANDLE stdinh, HANDLE stdouth,
-	HANDLE stderrh));
-EXTERN_DECL(long process_begin, (HANDLE proc, char **argv, char **envp,
-	char *exec_path, char *as_user));
-EXTERN_DECL(long process_pipe_io, (HANDLE proc, char *stdin_data, 
-	int stdin_data_len));
-EXTERN_DECL(long process_file_io, (HANDLE proc));
-EXTERN_DECL(void process_cleanup, (HANDLE proc));
-EXTERN_DECL(HANDLE process_wait_for_any, (VOID_DECL));
-EXTERN_DECL(void process_register, (HANDLE proc));
-EXTERN_DECL(HANDLE process_easy, (char** argv, char** env));
-EXTERN_DECL(BOOL process_kill, (HANDLE proc, int signal));
-
-/* support routines */
-EXTERN_DECL(long process_errno, (HANDLE proc));
-EXTERN_DECL(long process_last_err, (HANDLE proc));
-EXTERN_DECL(long process_exit_code, (HANDLE proc));
-EXTERN_DECL(long process_signal, (HANDLE proc));
-EXTERN_DECL(char * process_outbuf, (HANDLE proc));
-EXTERN_DECL(char * process_errbuf, (HANDLE proc));
-EXTERN_DECL(int process_outcnt, (HANDLE proc));
-EXTERN_DECL(int process_errcnt, (HANDLE proc));
-EXTERN_DECL(void process_pipes, (HANDLE proc, int pipes[3]));
-
-#endif
-#endif

+ 0 - 10
sys/src/ape/cmd/make-3.79/w32/include/w32err.h

@@ -1,10 +0,0 @@
-#ifndef _W32ERR_H_
-#define _W32ERR_H_
-
-#ifndef EXTERN_DECL
-#define EXTERN_DECL(entry, args) entry args
-#endif
-
-EXTERN_DECL(char * map_windows32_error_to_string, (DWORD error));
-
-#endif /* !_W32ERR_H */

+ 0 - 60
sys/src/ape/cmd/make-3.79/w32/subproc/NMakefile

@@ -1,60 +0,0 @@
-# NOTE: If you have no `make' program at all to process this makefile, run
-# `build.bat' instead.
-#
-# Copyright (C) 1988,89,91,92,93,94,95,96,97 Free Software Foundation, Inc
-# This file is part of GNU Make.
-#
-# GNU Make is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# GNU Make is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with GNU Make; see the file COPYING.  If not, write to
-# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
-
-#
-#       NMakefile for GNU Make (subproc library)
-#
-LIB = lib
-CC = cl
-
-OUTDIR=.
-MAKEFILE=NMakefile
-
-CFLAGS_any = /nologo /MT /W3 /GX /Z7 /YX /D WIN32 /D WINDOWS32 /D _WINDOWS  -I. -I../include -I../../
-CFLAGS_debug = $(CFLAGS_any) /Od /D _DEBUG /FR.\WinDebug\ /Fp.\WinDebug\subproc.pch /Fo.\WinDebug/
-CFLAGS_release = $(CFLAGS_any) /O2 /FR.\WinRel\ /Fp.\WinRel\subproc.pch /Fo.\WinRel/
-
-all: Release Debug
-
-Release:
-	$(MAKE) /f $(MAKEFILE) OUTDIR=WinRel CFLAGS="$(CFLAGS_release)" WinRel/subproc.lib
-Debug:
-	$(MAKE) /f $(MAKEFILE) OUTDIR=WinDebug CFLAGS="$(CFLAGS_debug)" WinDebug/subproc.lib
-
-clean:
-	rmdir /s /q WinRel WinDebug
-	erase *.pdb
-
-$(OUTDIR):
-	if not exist .\$@\nul mkdir .\$@
-
-OBJS = $(OUTDIR)/misc.obj $(OUTDIR)/w32err.obj $(OUTDIR)/sub_proc.obj
-
-$(OUTDIR)/subproc.lib: $(OUTDIR) $(OBJS)
-	$(LIB) -out:$@ @<<
-		$(OBJS)
-<<
-
-.c{$(OUTDIR)}.obj:
-	$(CC) $(CFLAGS) /c $<
-
-$(OUTDIR)/misc.obj: misc.c proc.h
-$(OUTDIR)/sub_proc.obj: sub_proc.c  ../include/sub_proc.h ../include/w32err.h proc.h
-$(OUTDIR)/w32err.obj: w32err.c ../include/w32err.h

+ 0 - 10
sys/src/ape/cmd/make-3.79/w32/subproc/build.bat

@@ -1,10 +0,0 @@
-if not exist .\WinDebug\nul mkdir .\WinDebug
-cl.exe /nologo /MT /W3 /GX /Z7 /YX /Od /I .. /I . /I ../include /D WIN32 /D WINDOWS32 /D _DEBUG /D _WINDOWS /FR.\WinDebug/ /Fp.\WinDebug/subproc.pch /Fo.\WinDebug/ /c misc.c
-cl.exe /nologo /MT /W3 /GX /Z7 /YX /Od /I .. /I . /I ../include /I ../.. /D WIN32 /D WINDOWS32 /D _DEBUG /D _WINDOWS /FR.\WinDebug/ /Fp.\WinDebug/subproc.pch /Fo.\WinDebug/ /c sub_proc.c
-cl.exe /nologo /MT /W3 /GX /Z7 /YX /Od /I .. /I . /I ../include /D WIN32 /D WINDOWS32 /D _DEBUG /D _WINDOWS /FR.\WinDebug/ /Fp.\WinDebug/subproc.pch /Fo.\WinDebug/ /c w32err.c
-lib.exe /NOLOGO /OUT:.\WinDebug\subproc.lib  .\WinDebug/misc.obj  .\WinDebug/sub_proc.obj  .\WinDebug/w32err.obj
-if not exist .\WinRel\nul mkdir .\WinRel
-cl.exe /nologo /MT /W3 /GX /YX /O2 /I ../include /D WIN32 /D WINDOWS32 /D NDEBUG /D _WINDOWS /FR.\WinRel/ /Fp.\WinRel/subproc.pch /Fo.\WinRel/ /c misc.c
-cl.exe /nologo /MT /W3 /GX /YX /O2 /I ../include /I ../.. /D WIN32 /D WINDOWS32 /D NDEBUG /D _WINDOWS /FR.\WinRel/ /Fp.\WinRel/subproc.pch /Fo.\WinRel/ /c sub_proc.c
-cl.exe /nologo /MT /W3 /GX /YX /O2 /I ../include /D WIN32 /D WINDOWS32 /D NDEBUG /D _WINDOWS /FR.\WinRel/ /Fp.\WinRel/subproc.pch /Fo.\WinRel/ /c w32err.c
-lib.exe /NOLOGO /OUT:.\WinRel\subproc.lib  .\WinRel/misc.obj  .\WinRel/sub_proc.obj  .\WinRel/w32err.obj

+ 0 - 65
sys/src/ape/cmd/make-3.79/w32/subproc/misc.c

@@ -1,65 +0,0 @@
-#include <stddef.h>
-#include <stdlib.h>
-#include <string.h>
-#include <windows.h>
-#include "proc.h"
-
-
-/*
- * Description:  Convert a NULL string terminated UNIX environment block to
- *		an environment block suitable for a windows32 system call
- *
- * Returns:  TRUE= success, FALSE=fail
- *
- * Notes/Dependencies:  the environment block is sorted in case-insensitive
- *	order, is double-null terminated, and is a char *, not a char **
- */
-int _cdecl compare(const void *a1, const void *a2)
-{
-	return _stricoll(*((char**)a1),*((char**)a2));
-}
-bool_t
-arr2envblk(char **arr, char **envblk_out) 
-{
-	char **tmp;
-	int size_needed;
-	int arrcnt;
-	char *ptr;
-
-	arrcnt = 0;
-	while (arr[arrcnt]) {
-		arrcnt++;
-	}
-
-	tmp = (char**) calloc(arrcnt + 1, sizeof(char *));
-	if (!tmp) {
-		return FALSE;
-	}
-
-	arrcnt = 0;
-	size_needed = 0;
-	while (arr[arrcnt]) {
-		tmp[arrcnt] = arr[arrcnt];
-		size_needed += strlen(arr[arrcnt]) + 1;
-		arrcnt++;
-	}
-	size_needed++;
-
-	qsort((void *) tmp, (size_t) arrcnt, sizeof (char*), compare);
-
-	ptr = *envblk_out = calloc(size_needed, 1);
-	if (!ptr) {
-		free(tmp);
-		return FALSE;
-	}
-
-	arrcnt = 0;
-	while (tmp[arrcnt]) {
-		strcpy(ptr, tmp[arrcnt]);
-		ptr += strlen(tmp[arrcnt]) + 1;
-		arrcnt++;
-	}
-
-        free(tmp);
-	return TRUE;
-}

+ 0 - 13
sys/src/ape/cmd/make-3.79/w32/subproc/proc.h

@@ -1,13 +0,0 @@
-#ifndef  _PROC_H
-#define _PROC_H
-
-typedef int bool_t;
-
-#define E_SCALL		101
-#define E_IO		102
-#define E_NO_MEM	103
-#define E_FORK		104
-
-extern bool_t arr2envblk(char **arr, char **envblk_out);
-
-#endif

+ 0 - 1209
sys/src/ape/cmd/make-3.79/w32/subproc/sub_proc.c

@@ -1,1209 +0,0 @@
-#include <stdlib.h>
-#include <stdio.h>
-#include <process.h>  /* for msvc _beginthreadex, _endthreadex */
-#include <windows.h>
-
-#include "sub_proc.h"
-#include "proc.h"
-#include "w32err.h"
-#include "config.h"
-
-static char *make_command_line(char *shell_name, char *exec_path, char **argv);
-
-extern int debug_flag; /* from make */
-
-typedef struct sub_process_t {
-	int sv_stdin[2];
-	int sv_stdout[2];
-	int sv_stderr[2];
-	int using_pipes;
-	char *inp;
-	DWORD incnt;
-	char * volatile outp;
-	volatile DWORD outcnt;
-	char * volatile errp;
-	volatile DWORD errcnt;
-	int pid;
-	int exit_code;
-	int signal;
-	long last_err;
-	long lerrno;
-} sub_process;
-
-/* keep track of children so we can implement a waitpid-like routine */
-static sub_process *proc_array[256];
-static int proc_index = 0;
-static int fake_exits_pending = 0;
-
-/*
- * When a process has been waited for, adjust the wait state
- * array so that we don't wait for it again
- */
-static void
-process_adjust_wait_state(sub_process* pproc)
-{
-	int i;
-
-	if (!proc_index)
-		return;
-
-	for (i = 0; i < proc_index; i++)
-		if (proc_array[i]->pid == pproc->pid)
-			break;
-
-	if (i < proc_index) {
-		proc_index--;
-		if (i != proc_index)
-			memmove(&proc_array[i], &proc_array[i+1],
-				(proc_index-i) * sizeof(sub_process*));
-		proc_array[proc_index] = NULL;
-	}
-}
-
-/*
- * Waits for any of the registered child processes to finish.
- */
-static sub_process *
-process_wait_for_any_private(void)
-{
-	HANDLE handles[256];
-	DWORD retval, which;
-	int i;
-
-	if (!proc_index)
-		return NULL;
-
-	/* build array of handles to wait for */
-	for (i = 0; i < proc_index; i++) {
-		handles[i] = (HANDLE) proc_array[i]->pid;
-
-		if (fake_exits_pending && proc_array[i]->exit_code)
-			break;
-	}
-
-	/* wait for someone to exit */
-	if (!fake_exits_pending) {
-		retval = WaitForMultipleObjects(proc_index, handles, FALSE, INFINITE);
-		which = retval - WAIT_OBJECT_0;
-	} else {
-		fake_exits_pending--;
-		retval = !WAIT_FAILED;
-		which = i;
-	}
-
-	/* return pointer to process */
-	if (retval != WAIT_FAILED) {
-		sub_process* pproc = proc_array[which];
-		process_adjust_wait_state(pproc);
-		return pproc;
-	} else
-		return NULL;
-}
-
-/*
- * Terminate a process.
- */
-BOOL
-process_kill(HANDLE proc, int signal)
-{
-	sub_process* pproc = (sub_process*) proc;
-	pproc->signal = signal;
-	return (TerminateProcess((HANDLE) pproc->pid, signal));
-}
-
-/*
- * Use this function to register processes you wish to wait for by
- * calling process_file_io(NULL) or process_wait_any(). This must be done
- * because it is possible for callers of this library to reuse the same
- * handle for multiple processes launches :-(
- */
-void
-process_register(HANDLE proc)
-{
-	proc_array[proc_index++] = (sub_process *) proc;
-}
-
-/*
- * Public function which works kind of like waitpid(). Wait for any
- * of the children to die and return results. To call this function,
- * you must do 1 of things:
- *
- * 	x = process_easy(...);
- *
- * or
- *
- *	x = process_init_fd();
- *	process_register(x);
- *
- * or
- *
- *	x = process_init();
- *	process_register(x);
- *
- * You must NOT then call process_pipe_io() because this function is
- * not capable of handling automatic notification of any child
- * death.
- */
-
-HANDLE
-process_wait_for_any(void)
-{
-	sub_process* pproc = process_wait_for_any_private();
-
-	if (!pproc)
-		return NULL;
-	else {
-		/*
-		 * Ouch! can't tell caller if this fails directly. Caller
-		 * will have to use process_last_err()
-                 */
-		(void) process_file_io(pproc);
-		return ((HANDLE) pproc);
-	}
-}
-
-long
-process_errno(HANDLE proc)
-{
-	return (((sub_process *)proc)->lerrno);
-}
-
-long
-process_signal(HANDLE proc)
-{
-	return (((sub_process *)proc)->signal);
-}
-
-	long
-process_last_err(HANDLE proc)
-{
-	return (((sub_process *)proc)->last_err);
-}
-
-	long
-process_exit_code(HANDLE proc)
-{
-	return (((sub_process *)proc)->exit_code);
-}
-
-	char *
-process_outbuf(HANDLE proc)
-{
-	return (((sub_process *)proc)->outp);
-}
-
-	char *
-process_errbuf(HANDLE proc)
-{
-	return (((sub_process *)proc)->errp);
-}
-
-	int
-process_outcnt(HANDLE proc)
-{
-	return (((sub_process *)proc)->outcnt);
-}
-
-	int
-process_errcnt(HANDLE proc)
-{
-	return (((sub_process *)proc)->errcnt);
-}
-
-	void
-process_pipes(HANDLE proc, int pipes[3])
-{
-	pipes[0] = ((sub_process *)proc)->sv_stdin[0];
-	pipes[1] = ((sub_process *)proc)->sv_stdout[0];
-	pipes[2] = ((sub_process *)proc)->sv_stderr[0];
-	return;
-}
-
-
-	HANDLE
-process_init()
-{
-	sub_process *pproc;
-	/*
-	 * open file descriptors for attaching stdin/stdout/sterr
-	 */
-	HANDLE stdin_pipes[2];
-	HANDLE stdout_pipes[2];
-	HANDLE stderr_pipes[2];
-	SECURITY_ATTRIBUTES inherit;
-	BYTE sd[SECURITY_DESCRIPTOR_MIN_LENGTH];
-
-	pproc = malloc(sizeof(*pproc));
-	memset(pproc, 0, sizeof(*pproc));
-
-	/* We can't use NULL for lpSecurityDescriptor because that
-	   uses the default security descriptor of the calling process.
-	   Instead we use a security descriptor with no DACL.  This
-	   allows nonrestricted access to the associated objects. */
-
-	if (!InitializeSecurityDescriptor((PSECURITY_DESCRIPTOR)(&sd),
-					  SECURITY_DESCRIPTOR_REVISION)) {
-		pproc->last_err = GetLastError();
-		pproc->lerrno = E_SCALL;
-		return((HANDLE)pproc);
-	}
-
-	inherit.nLength = sizeof(inherit);
-	inherit.lpSecurityDescriptor = (PSECURITY_DESCRIPTOR)(&sd);
-	inherit.bInheritHandle = TRUE;
-
-	// By convention, parent gets pipe[0], and child gets pipe[1]
-	// This means the READ side of stdin pipe goes into pipe[1]
-	// and the WRITE side of the stdout and stderr pipes go into pipe[1]
-	if (CreatePipe( &stdin_pipes[1], &stdin_pipes[0], &inherit, 0) == FALSE ||
-	CreatePipe( &stdout_pipes[0], &stdout_pipes[1], &inherit, 0) == FALSE ||
-	CreatePipe( &stderr_pipes[0], &stderr_pipes[1], &inherit, 0) == FALSE) {
-
-		pproc->last_err = GetLastError();
-		pproc->lerrno = E_SCALL;
-		return((HANDLE)pproc);
-	}
-
-	//
-	// Mark the parent sides of the pipes as non-inheritable
-	//
-	if (SetHandleInformation(stdin_pipes[0],
-				HANDLE_FLAG_INHERIT, 0) == FALSE ||
-		SetHandleInformation(stdout_pipes[0],
-				HANDLE_FLAG_INHERIT, 0) == FALSE ||
-		SetHandleInformation(stderr_pipes[0],
-				HANDLE_FLAG_INHERIT, 0) == FALSE) {
-
-		pproc->last_err = GetLastError();
-		pproc->lerrno = E_SCALL;
-		return((HANDLE)pproc);
-	}
-	pproc->sv_stdin[0]  = (int) stdin_pipes[0];
-	pproc->sv_stdin[1]  = (int) stdin_pipes[1];
-	pproc->sv_stdout[0] = (int) stdout_pipes[0];
-	pproc->sv_stdout[1] = (int) stdout_pipes[1];
-	pproc->sv_stderr[0] = (int) stderr_pipes[0];
-	pproc->sv_stderr[1] = (int) stderr_pipes[1];
-
-	pproc->using_pipes = 1;
-
-	pproc->lerrno = 0;
-
-	return((HANDLE)pproc);
-}
-
-
-	HANDLE
-process_init_fd(HANDLE stdinh, HANDLE stdouth, HANDLE stderrh)
-{
-	sub_process *pproc;
-
-	pproc = malloc(sizeof(*pproc));
-	memset(pproc, 0, sizeof(*pproc));
-
-	/*
-	 * Just pass the provided file handles to the 'child side' of the
-	 * pipe, bypassing pipes altogether.
-	 */
-	pproc->sv_stdin[1]  = (int) stdinh;
-	pproc->sv_stdout[1] = (int) stdouth;
-	pproc->sv_stderr[1] = (int) stderrh;
-
-	pproc->last_err = pproc->lerrno = 0;
-
-	return((HANDLE)pproc);
-}
-
-
-static HANDLE
-find_file(char *exec_path, LPOFSTRUCT file_info)
-{
-	HANDLE exec_handle;
-	char *fname;
-	char *ext;
-
-	fname = malloc(strlen(exec_path) + 5);
-	strcpy(fname, exec_path);
-	ext = fname + strlen(fname);
-
-	strcpy(ext, ".exe");
-	if ((exec_handle = (HANDLE)OpenFile(fname, file_info,
-			OF_READ | OF_SHARE_COMPAT)) != (HANDLE)HFILE_ERROR) {
-		free(fname);
-		return(exec_handle);
-	}
-
-	strcpy(ext, ".cmd");
-	if ((exec_handle = (HANDLE)OpenFile(fname, file_info,
-			OF_READ | OF_SHARE_COMPAT)) != (HANDLE)HFILE_ERROR) {
-		free(fname);
-		return(exec_handle);
-	}
-
-	strcpy(ext, ".bat");
-	if ((exec_handle = (HANDLE)OpenFile(fname, file_info,
-			OF_READ | OF_SHARE_COMPAT)) != (HANDLE)HFILE_ERROR) {
-		free(fname);
-		return(exec_handle);
-	}
-
-	/* should .com come before this case? */
-	if ((exec_handle = (HANDLE)OpenFile(exec_path, file_info,
-			OF_READ | OF_SHARE_COMPAT)) != (HANDLE)HFILE_ERROR) {
-		free(fname);
-		return(exec_handle);
-	}
-
-	strcpy(ext, ".com");
-	if ((exec_handle = (HANDLE)OpenFile(fname, file_info,
-			OF_READ | OF_SHARE_COMPAT)) != (HANDLE)HFILE_ERROR) {
-		free(fname);
-		return(exec_handle);
-	}
-
-	free(fname);
-	return(exec_handle);
-}
-
-
-/*
- * Description:   Create the child process to be helped
- *
- * Returns:
- *
- * Notes/Dependencies:
- */
-long
-process_begin(
-	HANDLE proc,
-	char **argv,
-	char **envp,
-	char *exec_path,
-	char *as_user)
-{
-	sub_process *pproc = (sub_process *)proc;
-	char *shell_name = 0;
-	int file_not_found=0;
-	HANDLE exec_handle;
-	char buf[256];
-	DWORD bytes_returned;
-	DWORD flags;
-	char *command_line;
-	STARTUPINFO startInfo;
-	PROCESS_INFORMATION procInfo;
-	char *envblk=NULL;
-	OFSTRUCT file_info;
-
-
-	/*
-	 *  Shell script detection...  if the exec_path starts with #! then
-	 *  we want to exec shell-script-name exec-path, not just exec-path
-	 *  NT doesn't recognize #!/bin/sh or #!/etc/Tivoli/bin/perl.  We do not
-	 *  hard-code the path to the shell or perl or whatever:  Instead, we
-	 *  assume it's in the path somewhere (generally, the NT tools
-	 *  bin directory)
-	 *  We use OpenFile here because it is capable of searching the Path.
-	 */
-
-	exec_handle = find_file(exec_path, &file_info);
-
-	/*
-	 * If we couldn't open the file, just assume that Windows32 will be able
-	 * to find and execute it.
-	 */
-	if (exec_handle == (HANDLE)HFILE_ERROR) {
-		file_not_found++;
-	}
-	else {
-		/* Attempt to read the first line of the file */
-		if (ReadFile( exec_handle,
-				buf, sizeof(buf) - 1, /* leave room for trailing NULL */
-				&bytes_returned, 0) == FALSE || bytes_returned < 2) {
-
-			pproc->last_err = GetLastError();
-			pproc->lerrno = E_IO;
-			CloseHandle(exec_handle);
-			return(-1);
-		}
-		if (buf[0] == '#' && buf[1] == '!') {
-			/*
-			 *  This is a shell script...  Change the command line from
-			 *	exec_path args to shell_name exec_path args
-			 */
-			char *p;
-
-			/*  Make sure buf is NULL terminated */
-			buf[bytes_returned] = 0;
-			/*
-			 * Depending on the file system type, etc. the first line
-			 * of the shell script may end with newline or newline-carriage-return
-			 * Whatever it ends with, cut it off.
-			 */
-			p= strchr(buf, '\n');
-			if (p)
-				*p = 0;
-			p = strchr(buf, '\r');
-			if (p)
-				*p = 0;
-
-			/*
-			 *  Find base name of shell
-			 */
-			shell_name = strrchr( buf, '/');
-			if (shell_name) {
-				shell_name++;
-			} else {
-				shell_name = &buf[2];/* skipping "#!" */
-			}
-
-		}
-		CloseHandle(exec_handle);
-	}
-
-	flags = 0;
-
-	if (file_not_found)
-		command_line = make_command_line( shell_name, exec_path, argv);
-	else
-		command_line = make_command_line( shell_name, file_info.szPathName,
-				 argv);
-
-	if ( command_line == NULL ) {
-		pproc->last_err = 0;
-		pproc->lerrno = E_NO_MEM;
-		return(-1);
-	}
-
-	if (envp) {
-		if (arr2envblk(envp, &envblk) ==FALSE) {
-			pproc->last_err = 0;
-			pproc->lerrno = E_NO_MEM;
-			free( command_line );
-			return(-1);
-		}
-	}
-
-	if ((shell_name) || (file_not_found)) {
-		exec_path = 0;	/* Search for the program in %Path% */
-	} else {
-		exec_path = file_info.szPathName;
-	}
-
-	/*
-	 *  Set up inherited stdin, stdout, stderr for child
-	 */
-	GetStartupInfo(&startInfo);
-	startInfo.dwFlags = STARTF_USESTDHANDLES;
-	startInfo.lpReserved = 0;
-	startInfo.cbReserved2 = 0;
-	startInfo.lpReserved2 = 0;
-	startInfo.lpTitle = shell_name ? shell_name : exec_path;
-	startInfo.hStdInput = (HANDLE)pproc->sv_stdin[1];
-	startInfo.hStdOutput = (HANDLE)pproc->sv_stdout[1];
-	startInfo.hStdError = (HANDLE)pproc->sv_stderr[1];
-
-	if (as_user) {
-		if (envblk) free(envblk);
-		return -1;
-	} else {
-		if (debug_flag)
-			printf("CreateProcess(%s,%s,...)\n",
-				exec_path ? exec_path : "NULL",
-				command_line ? command_line : "NULL");
-		if (CreateProcess(
-			exec_path,
-			command_line,
-			NULL,
-			0, /* default security attributes for thread */
-			TRUE, /* inherit handles (e.g. helper pipes, oserv socket) */
-			flags,
-			envblk,
-			0, /* default starting directory */
-			&startInfo,
-			&procInfo) == FALSE) {
-
-			pproc->last_err = GetLastError();
-			pproc->lerrno = E_FORK;
-			fprintf(stderr, "process_begin: CreateProcess(%s, %s, ...) failed.\n", exec_path, command_line);
-			if (envblk) free(envblk);
-			free( command_line );
-			return(-1);
-		}
-	}
-
-	pproc->pid = (int)procInfo.hProcess;
-	/* Close the thread handle -- we'll just watch the process */
-	CloseHandle(procInfo.hThread);
-
-	/* Close the halves of the pipes we don't need */
-	if (pproc->sv_stdin) {
-		CloseHandle((HANDLE)pproc->sv_stdin[1]);
-		(HANDLE)pproc->sv_stdin[1] = 0;
-	}
-	if (pproc->sv_stdout) {
-		CloseHandle((HANDLE)pproc->sv_stdout[1]);
-		(HANDLE)pproc->sv_stdout[1] = 0;
-	}
-	if (pproc->sv_stderr) {
-		CloseHandle((HANDLE)pproc->sv_stderr[1]);
-		(HANDLE)pproc->sv_stderr[1] = 0;
-	}
-
-	free( command_line );
-	if (envblk) free(envblk);
-	pproc->lerrno=0;
-	return 0;
-}
-
-
-
-static DWORD
-proc_stdin_thread(sub_process *pproc)
-{
-	DWORD in_done;
-	for (;;) {
-		if (WriteFile( (HANDLE) pproc->sv_stdin[0], pproc->inp, pproc->incnt,
-					 &in_done, NULL) == FALSE)
-			_endthreadex(0);
-		// This if should never be true for anonymous pipes, but gives
-		// us a chance to change I/O mechanisms later
-		if (in_done < pproc->incnt) {
-			pproc->incnt -= in_done;
-			pproc->inp += in_done;
-		} else {
-			_endthreadex(0);
-		}
-	}
-	return 0; // for compiler warnings only.. not reached
-}
-
-static DWORD
-proc_stdout_thread(sub_process *pproc)
-{
-	DWORD bufsize = 1024;
-	char c;
-	DWORD nread;
-	pproc->outp = malloc(bufsize);
-	if (pproc->outp == NULL)
-		_endthreadex(0);
-	pproc->outcnt = 0;
-
-	for (;;) {
-		if (ReadFile( (HANDLE)pproc->sv_stdout[0], &c, 1, &nread, NULL)
-					== FALSE) {
-/*			map_windows32_error_to_string(GetLastError());*/
-			_endthreadex(0);
-		}
-		if (nread == 0)
-			_endthreadex(0);
-		if (pproc->outcnt + nread > bufsize) {
-			bufsize += nread + 512;
-			pproc->outp = realloc(pproc->outp, bufsize);
-			if (pproc->outp == NULL) {
-				pproc->outcnt = 0;
-				_endthreadex(0);
-			}
-		}
-		pproc->outp[pproc->outcnt++] = c;
-	}
-	return 0;
-}
-
-static DWORD
-proc_stderr_thread(sub_process *pproc)
-{
-	DWORD bufsize = 1024;
-	char c;
-	DWORD nread;
-	pproc->errp = malloc(bufsize);
-	if (pproc->errp == NULL)
-		_endthreadex(0);
-	pproc->errcnt = 0;
-
-	for (;;) {
-		if (ReadFile( (HANDLE)pproc->sv_stderr[0], &c, 1, &nread, NULL) == FALSE) {
-			map_windows32_error_to_string(GetLastError());
-			_endthreadex(0);
-		}
-		if (nread == 0)
-			_endthreadex(0);
-		if (pproc->errcnt + nread > bufsize) {
-			bufsize += nread + 512;
-			pproc->errp = realloc(pproc->errp, bufsize);
-			if (pproc->errp == NULL) {
-				pproc->errcnt = 0;
-				_endthreadex(0);
-			}
-		}
-		pproc->errp[pproc->errcnt++] = c;
-	}
-	return 0;
-}
-
-
-/*
- * Purpose: collects output from child process and returns results
- *
- * Description:
- *
- * Returns:
- *
- * Notes/Dependencies:
- */
-	long
-process_pipe_io(
-	HANDLE proc,
-	char *stdin_data,
-	int stdin_data_len)
-{
-	sub_process *pproc = (sub_process *)proc;
-	bool_t stdin_eof = FALSE, stdout_eof = FALSE, stderr_eof = FALSE;
-	HANDLE childhand = (HANDLE) pproc->pid;
-	HANDLE tStdin, tStdout, tStderr;
-	DWORD dwStdin, dwStdout, dwStderr;
-	HANDLE wait_list[4];
-	DWORD wait_count;
-	DWORD wait_return;
-	HANDLE ready_hand;
-	bool_t child_dead = FALSE;
-
-
-	/*
-	 *  Create stdin thread, if needed
-	 */
-    pproc->inp = stdin_data;
-    pproc->incnt = stdin_data_len;
-	if (!pproc->inp) {
-		stdin_eof = TRUE;
-		CloseHandle((HANDLE)pproc->sv_stdin[0]);
-		(HANDLE)pproc->sv_stdin[0] = 0;
-	} else {
-		tStdin = (HANDLE) _beginthreadex( 0, 1024,
-			(unsigned (__stdcall *) (void *))proc_stdin_thread, pproc, 0,
-			(unsigned int *) &dwStdin);
-		if (tStdin == 0) {
-			pproc->last_err = GetLastError();
-			pproc->lerrno = E_SCALL;
-			goto done;
-		}
-	}
-
-	/*
-	 *   Assume child will produce stdout and stderr
-	 */
-	tStdout = (HANDLE) _beginthreadex( 0, 1024,
-		(unsigned (__stdcall *) (void *))proc_stdout_thread, pproc, 0,
-		(unsigned int *) &dwStdout);
-	tStderr = (HANDLE) _beginthreadex( 0, 1024,
-		(unsigned (__stdcall *) (void *))proc_stderr_thread, pproc, 0,
-		(unsigned int *) &dwStderr);
-
-	if (tStdout == 0 || tStderr == 0) {
-
-		pproc->last_err = GetLastError();
-		pproc->lerrno = E_SCALL;
-		goto done;
-	}
-
-
-	/*
-	 *  Wait for all I/O to finish and for the child process to exit
-	 */
-
-	while (!stdin_eof || !stdout_eof || !stderr_eof || !child_dead) {
-		wait_count = 0;
-		if (!stdin_eof) {
-			wait_list[wait_count++] = tStdin;
-		}
-		if (!stdout_eof) {
-			wait_list[wait_count++] = tStdout;
-		}
-		if (!stderr_eof) {
-			wait_list[wait_count++] = tStderr;
-		}
-		if (!child_dead) {
-			wait_list[wait_count++] = childhand;
-		}
-
-		wait_return = WaitForMultipleObjects(wait_count, wait_list,
-			 FALSE, /* don't wait for all: one ready will do */
-			 child_dead? 1000 :INFINITE); /* after the child dies, subthreads have
-			 	one second to collect all remaining output */
-
-		if (wait_return == WAIT_FAILED) {
-/*			map_windows32_error_to_string(GetLastError());*/
-			pproc->last_err = GetLastError();
-			pproc->lerrno = E_SCALL;
-			goto done;
-		}
-
-		ready_hand = wait_list[wait_return - WAIT_OBJECT_0];
-
-		if (ready_hand == tStdin) {
-			CloseHandle((HANDLE)pproc->sv_stdin[0]);
-			(HANDLE)pproc->sv_stdin[0] = 0;
-			CloseHandle(tStdin);
-			tStdin = 0;
-			stdin_eof = TRUE;
-
-		} else if (ready_hand == tStdout) {
-
-		  	CloseHandle((HANDLE)pproc->sv_stdout[0]);
-			(HANDLE)pproc->sv_stdout[0] = 0;
-			CloseHandle(tStdout);
-			tStdout = 0;
-		  	stdout_eof = TRUE;
-
-		} else if (ready_hand == tStderr) {
-
-			CloseHandle((HANDLE)pproc->sv_stderr[0]);
-			(HANDLE)pproc->sv_stderr[0] = 0;
-			CloseHandle(tStderr);
-			tStderr = 0;
-			stderr_eof = TRUE;
-
-		} else if (ready_hand == childhand) {
-
-			if (GetExitCodeProcess(childhand, &pproc->exit_code) == FALSE) {
-				pproc->last_err = GetLastError();
-				pproc->lerrno = E_SCALL;
-				goto done;
-			}
-			child_dead = TRUE;
-
-		} else {
-
-			/* ?? Got back a handle we didn't query ?? */
-			pproc->last_err = 0;
-			pproc->lerrno = E_FAIL;
-			goto done;
-		}
-	}
-
- done:
-	if (tStdin != 0)
-		CloseHandle(tStdin);
-	if (tStdout != 0)
-		CloseHandle(tStdout);
-	if (tStderr != 0)
-		CloseHandle(tStderr);
-
-	if (pproc->lerrno)
-		return(-1);
-	else
-		return(0);
-
-}
-
-/*
- * Purpose: collects output from child process and returns results
- *
- * Description:
- *
- * Returns:
- *
- * Notes/Dependencies:
- */
-	long
-process_file_io(
-	HANDLE proc)
-{
-	sub_process *pproc;
-	HANDLE childhand;
-	DWORD wait_return;
-
-	if (proc == NULL)
-		pproc = process_wait_for_any_private();
-	else
-		pproc = (sub_process *)proc;
-
-	/* some sort of internal error */
-	if (!pproc)
-		return -1;
-
-	childhand = (HANDLE) pproc->pid;
-
-	/*
-	 * This function is poorly named, and could also be used just to wait
-	 * for child death if you're doing your own pipe I/O.  If that is
-	 * the case, close the pipe handles here.
-	 */
-	if (pproc->sv_stdin[0]) {
-		CloseHandle((HANDLE)pproc->sv_stdin[0]);
-		pproc->sv_stdin[0] = 0;
-	}
-	if (pproc->sv_stdout[0]) {
-		CloseHandle((HANDLE)pproc->sv_stdout[0]);
-		pproc->sv_stdout[0] = 0;
-	}
-	if (pproc->sv_stderr[0]) {
-		CloseHandle((HANDLE)pproc->sv_stderr[0]);
-		pproc->sv_stderr[0] = 0;
-	}
-
-	/*
-	 *  Wait for the child process to exit
-	 */
-
-	wait_return = WaitForSingleObject(childhand, INFINITE);
-
-	if (wait_return != WAIT_OBJECT_0) {
-/*		map_windows32_error_to_string(GetLastError());*/
-		pproc->last_err = GetLastError();
-		pproc->lerrno = E_SCALL;
-		goto done2;
-	}
-
-	if (GetExitCodeProcess(childhand, &pproc->exit_code) == FALSE) {
-		pproc->last_err = GetLastError();
-		pproc->lerrno = E_SCALL;
-	}
-
-done2:
-	if (pproc->lerrno)
-		return(-1);
-	else
-		return(0);
-
-}
-
-/*
- * Description:  Clean up any leftover handles, etc.  It is up to the
- * caller to manage and free the input, ouput, and stderr buffers.
- */
-	void
-process_cleanup(
-	HANDLE proc)
-{
-	sub_process *pproc = (sub_process *)proc;
-	int i;
-
-	if (pproc->using_pipes) {
-		for (i= 0; i <= 1; i++) {
-			if ((HANDLE)pproc->sv_stdin[i])
-				CloseHandle((HANDLE)pproc->sv_stdin[i]);
-			if ((HANDLE)pproc->sv_stdout[i])
-				CloseHandle((HANDLE)pproc->sv_stdout[i]);
-			if ((HANDLE)pproc->sv_stderr[i])
-				CloseHandle((HANDLE)pproc->sv_stderr[i]);
-		}
-	}
-	if ((HANDLE)pproc->pid)
-		CloseHandle((HANDLE)pproc->pid);
-
-	free(pproc);
-}
-
-
-/*
- * Description:
- *	 Create a command line buffer to pass to CreateProcess
- *
- * Returns:  the buffer or NULL for failure
- *	Shell case:  sh_name a:/full/path/to/script argv[1] argv[2] ...
- *  Otherwise:   argv[0] argv[1] argv[2] ...
- *
- * Notes/Dependencies:
- *   CreateProcess does not take an argv, so this command creates a
- *   command line for the executable.
- */
-
-static char *
-make_command_line( char *shell_name, char *full_exec_path, char **argv)
-{
-	int		argc = 0;
-	char**		argvi;
-	int*		enclose_in_quotes = NULL;
-	int*		enclose_in_quotes_i;
-	unsigned int	bytes_required = 0;
-	char*		command_line;
-	char*		command_line_i;
-	int  cygwin_mode = 0; /* HAVE_CYGWIN_SHELL */
-	int have_sh = 0; /* HAVE_CYGWIN_SHELL */
-
-#ifdef HAVE_CYGWIN_SHELL
-	have_sh = (shell_name != NULL || strstr(full_exec_path, "sh.exe"));
-	cygwin_mode = 1;
-#endif
-
-	if (shell_name && full_exec_path) {
-		bytes_required
-		  = strlen(shell_name) + 1 + strlen(full_exec_path);
-		/*
-		 * Skip argv[0] if any, when shell_name is given.
-		 */
-		if (*argv) argv++;
-		/*
-		 * Add one for the intervening space.
-		 */
-		if (*argv) bytes_required++;
-	}
-
-	argvi = argv;
-	while (*(argvi++)) argc++;
-
-	if (argc) {
-		enclose_in_quotes = (int*) calloc(1, argc * sizeof(int));
-
-		if (!enclose_in_quotes) {
-			return NULL;
-		}
-	}
-
-	/* We have to make one pass through each argv[i] to see if we need
-	 * to enclose it in ", so we might as well figure out how much
-	 * memory we'll need on the same pass.
-	 */
-
-	argvi = argv;
-	enclose_in_quotes_i = enclose_in_quotes;
-	while(*argvi) {
-		char* p = *argvi;
-		unsigned int backslash_count = 0;
-
-		/*
-		 * We have to enclose empty arguments in ".
-		 */
-		if (!(*p)) *enclose_in_quotes_i = 1;
-
-		while(*p) {
-			switch (*p) {
-			case '\"':
-				/*
-				 * We have to insert a backslash for each "
-				 * and each \ that precedes the ".
-				 */
-				bytes_required += (backslash_count + 1);
-				backslash_count = 0;
-				break;
-
-#if !defined(HAVE_MKS_SHELL) && !defined(HAVE_CYGWIN_SHELL)
-			case '\\':
-				backslash_count++;
-				break;
-#endif
-	/*
-	 * At one time we set *enclose_in_quotes_i for '*' or '?' to suppress
-	 * wildcard expansion in programs linked with MSVC's SETARGV.OBJ so
-	 * that argv in always equals argv out. This was removed.  Say you have
-	 * such a program named glob.exe.  You enter
-	 * glob '*'
-	 * at the sh command prompt.  Obviously the intent is to make glob do the
-	 * wildcarding instead of sh.  If we set *enclose_in_quotes_i for '*' or '?',
-	 * then the command line that glob would see would be
-	 * glob "*"
-	 * and the _setargv in SETARGV.OBJ would _not_ expand the *.
-	 */
-			case ' ':
-			case '\t':
-				*enclose_in_quotes_i = 1;
-				/* fall through */
-
-			default:
-				backslash_count = 0;
-				break;
-			}
-
-			/*
-			 * Add one for each character in argv[i].
-			 */
-			bytes_required++;
-
-			p++;
-		}
-
-		if (*enclose_in_quotes_i) {
-			/*
-			 * Add one for each enclosing ",
-			 * and one for each \ that precedes the
-			 * closing ".
-			 */
-			bytes_required += (backslash_count + 2);
-		}
-
-		/*
-		 * Add one for the intervening space.
-		 */
-		if (*(++argvi)) bytes_required++;
-		enclose_in_quotes_i++;
-	}
-
-	/*
-	 * Add one for the terminating NULL.
-	 */
-	bytes_required++;
-
-	command_line = (char*) malloc(bytes_required);
-
-	if (!command_line) {
-		if (enclose_in_quotes) free(enclose_in_quotes);
-		return NULL;
-	}
-
-	command_line_i = command_line;
-
-	if (shell_name && full_exec_path) {
-		while(*shell_name) {
-			*(command_line_i++) = *(shell_name++);
-		}
-
-		*(command_line_i++) = ' ';
-
-		while(*full_exec_path) {
-			*(command_line_i++) = *(full_exec_path++);
-		}
-
-		if (*argv) {
-			*(command_line_i++) = ' ';
-		}
-	}
-
-	argvi = argv;
-	enclose_in_quotes_i = enclose_in_quotes;
-
-	while(*argvi) {
-		char* p = *argvi;
-		unsigned int backslash_count = 0;
-
-		if (*enclose_in_quotes_i) {
-			*(command_line_i++) = '\"';
-		}
-
-		while(*p) {
-			if (*p == '\"') {
-				if (cygwin_mode && have_sh) { /* HAVE_CYGWIN_SHELL */
-					/* instead of a \", cygwin likes "" */
-					*(command_line_i++) = '\"';
-				} else {
-
-				/*
-				 * We have to insert a backslash for the "
-				 * and each \ that precedes the ".
-				 */
-				backslash_count++;
-
-				while(backslash_count) {
-					*(command_line_i++) = '\\';
-					backslash_count--;
-				};
-				}
-#if !defined(HAVE_MKS_SHELL) && !defined(HAVE_CYGWIN_SHELL)
-			} else if (*p == '\\') {
-				backslash_count++;
-			} else {
-				backslash_count = 0;
-#endif
-			}
-
-			/*
-			 * Copy the character.
-			 */
-			*(command_line_i++) = *(p++);
-		}
-
-		if (*enclose_in_quotes_i) {
-#if !defined(HAVE_MKS_SHELL) && !defined(HAVE_CYGWIN_SHELL)
-			/*
-			 * Add one \ for each \ that precedes the
-			 * closing ".
-			 */
-			while(backslash_count--) {
-				*(command_line_i++) = '\\';
-			};
-#endif
-			*(command_line_i++) = '\"';
-		}
-
-		/*
-		 * Append an intervening space.
-		 */
-		if (*(++argvi)) {
-			*(command_line_i++) = ' ';
-		}
-
-		enclose_in_quotes_i++;
-	}
-
-	/*
-	 * Append the terminating NULL.
-	 */
-	*command_line_i = '\0';
-
-	if (enclose_in_quotes) free(enclose_in_quotes);
-	return command_line;
-}
-
-/*
- * Description: Given an argv and optional envp, launch the process
- *              using the default stdin, stdout, and stderr handles.
- *              Also, register process so that process_wait_for_any_private()
- *		can be used via process_file_io(NULL) or
- *		process_wait_for_any().
- *
- * Returns:
- *
- * Notes/Dependencies:
- */
-HANDLE
-process_easy(
-	char **argv,
-	char **envp)
-{
-  HANDLE hIn;
-  HANDLE hOut;
-  HANDLE hErr;
-  HANDLE hProcess;
-
-  if (DuplicateHandle(GetCurrentProcess(),
-                      GetStdHandle(STD_INPUT_HANDLE),
-                      GetCurrentProcess(),
-                      &hIn,
-                      0,
-                      TRUE,
-                      DUPLICATE_SAME_ACCESS) == FALSE) {
-    fprintf(stderr,
-            "process_easy: DuplicateHandle(In) failed (e=%d)\n",
-            GetLastError());
-    return INVALID_HANDLE_VALUE;
-  }
-  if (DuplicateHandle(GetCurrentProcess(),
-                      GetStdHandle(STD_OUTPUT_HANDLE),
-                      GetCurrentProcess(),
-                      &hOut,
-                      0,
-                      TRUE,
-                      DUPLICATE_SAME_ACCESS) == FALSE) {
-    fprintf(stderr,
-           "process_easy: DuplicateHandle(Out) failed (e=%d)\n",
-           GetLastError());
-    return INVALID_HANDLE_VALUE;
-  }
-  if (DuplicateHandle(GetCurrentProcess(),
-                      GetStdHandle(STD_ERROR_HANDLE),
-                      GetCurrentProcess(),
-                      &hErr,
-                      0,
-                      TRUE,
-                      DUPLICATE_SAME_ACCESS) == FALSE) {
-    fprintf(stderr,
-            "process_easy: DuplicateHandle(Err) failed (e=%d)\n",
-            GetLastError());
-    return INVALID_HANDLE_VALUE;
-  }
-
-  hProcess = process_init_fd(hIn, hOut, hErr);
-
-  if (process_begin(hProcess, argv, envp, argv[0], NULL)) {
-    fake_exits_pending++;
-    ((sub_process*) hProcess)->exit_code = process_last_err(hProcess);
-
-    /* close up unused handles */
-    CloseHandle(hIn);
-    CloseHandle(hOut);
-    CloseHandle(hErr);
-  }
-
-  process_register(hProcess);
-
-  return hProcess;
-}

+ 0 - 51
sys/src/ape/cmd/make-3.79/w32/subproc/w32err.c

@@ -1,51 +0,0 @@
-#include <windows.h>
-#include "w32err.h"
-
-/*
- * Description: the windows32 version of perror()
- *
- * Returns:  a pointer to a static error
- *
- * Notes/Dependencies:  I got this from 
- *      comp.os.ms-windows.programmer.win32
- */
-char * 
-map_windows32_error_to_string (DWORD ercode) {
-/* __declspec (thread) necessary if you will use multiple threads */
-__declspec (thread) static char szMessageBuffer[128];
- 
-	/* Fill message buffer with a default message in 
-	 * case FormatMessage fails 
-	 */
-    wsprintf (szMessageBuffer, "Error %ld", ercode);
-
-	/*
-	 *  Special code for winsock error handling.
-	 */
-	if (ercode > WSABASEERR) {
-		HMODULE hModule = GetModuleHandle("wsock32");
-		if (hModule != NULL) {
-			FormatMessage(FORMAT_MESSAGE_FROM_HMODULE,
-				hModule,
-				ercode,
-				LANG_NEUTRAL,
-				szMessageBuffer,
-				sizeof(szMessageBuffer),
-				NULL);
-			FreeLibrary(hModule);
-		} 
-	} else {
-		/*
-		 *  Default system message handling
-		 */
-    	FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM,
-                  NULL,
-                  ercode,
-                  LANG_NEUTRAL,
-                  szMessageBuffer,
-                  sizeof(szMessageBuffer),
-                  NULL);
-	}
-    return szMessageBuffer;
-}
- 

+ 2 - 1
sys/src/cmd/aux/consolefs.c

@@ -479,7 +479,8 @@ console(Fs* fs, char *name, char *dev, int speed, int cronly, int ondemand)
 	}
 
 	c = emalloc(sizeof(Console));
-	fs->cons[fs->ncons++] = c;
+	fs->cons[fs->ncons] = c;
+	fs->ncons++;
 	c->name = strdup(name);
 	c->dev = strdup(dev);
 	c->fd = -1;

+ 9 - 1
sys/src/cmd/cc/sub.c

@@ -686,6 +686,15 @@ arith(Node *n, int f)
 		w = n->right->type->link->width;
 		if(w < 1)
 			goto bad;
+		n->type = types[ewidth[TIND] <= ewidth[TLONG]? TLONG: TVLONG];
+		if(1 && ewidth[TIND] > ewidth[TLONG]){
+			n1 = new1(OXXX, Z, Z);
+			*n1 = *n;
+			n->op = OCAST;
+			n->left = n1;
+			n->right = Z;
+			n->type = types[TLONG];
+		}
 		if(w > 1) {
 			n1 = new1(OXXX, Z, Z);
 			*n1 = *n;
@@ -701,7 +710,6 @@ arith(Node *n, int f)
 				n1->vconst = w;
 			}
 		}
-		n->type = types[TLONG];
 		return;
 	}
 	if(!sametype(n->type, n->left->type)) {

+ 1 - 2
sys/src/cmd/gs/zlib/configure

@@ -136,8 +136,7 @@ main(int argc, char **argv)
 				perror("temp file");
 				Exit();
 			}
-			close(create(temp, OWRITE, 0600));
-			if((tfd = open(temp, 2)) < 0){
+			if((tfd = create(temp, ORDWR, 0600)) < 0){
 				perror(temp);
 				Exit();
 			}

+ 11 - 8
sys/src/cmd/tail.c

@@ -40,7 +40,7 @@ extern	void	skip(void);
 extern	void	suffix(char*);
 extern	long	tread(char*, long);
 extern	void	trunc(Dir*, Dir**);
-extern	long	tseek(long, int);
+extern	vlong	tseek(vlong, int);
 extern	void	twrite(char*, long);
 extern	void	usage(void);
 static	int	isseekable(int fd);
@@ -126,7 +126,7 @@ void
 trunc(Dir *old, Dir **new)
 {
 	Dir *d;
-	ulong olength;
+	vlong olength;
 
 	d = dirfstat(file);
 	if(d == nil)
@@ -135,7 +135,7 @@ trunc(Dir *old, Dir **new)
 	if(old)
 		olength = old->length;
 	if(d->length < olength)
-		d->length = tseek(0L, 0);
+		d->length = tseek(0LL, 0);
 	free(*new);
 	*new = d;
 }
@@ -268,10 +268,10 @@ reverse(void)
 	long n = 0;
 	long bufsiz = 0;
 	char *buf = 0;
-	long pos = tseek(0L, 2);
+	vlong pos = tseek(0LL, 2);
 
 	for(first=1; pos>0 && count>0; first=0) {
-		n = pos>Bsize? Bsize: (int)pos;
+		n = pos>Bsize? Bsize: (long)pos;
 		pos -= n;
 		if(len+n > bufsiz) {
 			bufsiz += 2*Bsize;
@@ -294,15 +294,18 @@ reverse(void)
 			}
 	}
 	if(dir == FWD) {
-		tseek(n==0? 0 : pos+n+1, 0);
+		if(n)
+			tseek(pos+n+1, 0);
+		else
+			tseek(0, 0);
 		copy();
 	} else
 	if(count > 0)
 		twrite(buf, len);
 }
 
-long
-tseek(long o, int p)
+vlong
+tseek(vlong o, int p)
 {
 	o = seek(file, o, p);
 	if(o == -1)

+ 0 - 0
sys/src/cmd/unix/netkey.c


Some files were not shown because too many files changed in this diff