home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
You can browse this item here: linux.diffs
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| unified diff output, ASCII text
| default (weak)
| |
71%
| TrID
| Standard Unix Mailbox
| default
| |
28%
| TrID
| E-Mail message (Var. 2)
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| application/mbox
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 70 69 40 | 69 74 75 32 2e 73 75 6e |From pi@|itu2.sun|
|00000010| 2e 61 63 2e 7a 61 20 53 | 75 6e 20 41 75 67 20 20 |.ac.za S|un Aug |
|00000020| 38 20 31 30 3a 30 38 3a | 34 34 20 31 39 39 33 0a |8 10:08:|44 1993.|
|00000030| 52 65 74 75 72 6e 2d 50 | 61 74 68 3a 20 3c 70 69 |Return-P|ath: <pi|
|00000040| 40 69 74 75 32 2e 73 75 | 6e 2e 61 63 2e 7a 61 3e |@itu2.su|n.ac.za>|
|00000050| 20 74 65 73 74 0a 52 65 | 63 65 69 76 65 64 3a 20 | test.Re|ceived: |
|00000060| 66 72 6f 6d 20 69 74 75 | 32 2e 73 75 6e 2e 61 63 |from itu|2.sun.ac|
|00000070| 2e 7a 61 20 62 79 20 63 | 73 2d 6d 61 69 6c 2e 62 |.za by c|s-mail.b|
|00000080| 75 2e 65 64 75 20 28 35 | 2e 36 31 2b 2b 2b 2f 53 |u.edu (5|.61+++/S|
|00000090| 70 69 6b 65 2d 32 2e 31 | 29 0a 09 69 64 20 41 41 |pike-2.1|)..id AA|
|000000a0| 30 34 36 30 33 3b 20 53 | 75 6e 2c 20 38 20 41 75 |04603; S|un, 8 Au|
|000000b0| 67 20 39 33 20 31 30 3a | 30 38 3a 32 35 20 2d 30 |g 93 10:|08:25 -0|
|000000c0| 34 30 30 0a 52 65 63 65 | 69 76 65 64 3a 20 62 79 |400.Rece|ived: by|
|000000d0| 20 69 74 75 32 2e 73 75 | 6e 2e 61 63 2e 7a 61 20 | itu2.su|n.ac.za |
|000000e0| 28 35 2e 34 52 32 2e 30 | 31 2f 31 34 30 2e 32 29 |(5.4R2.0|1/140.2)|
|000000f0| 0a 09 69 64 20 41 41 31 | 32 35 30 39 3b 20 53 75 |..id AA1|2509; Su|
|00000100| 6e 2c 20 38 20 41 75 67 | 20 31 39 39 33 20 31 36 |n, 8 Aug| 1993 16|
|00000110| 3a 30 37 3a 33 35 20 2b | 30 32 30 30 0a 4d 65 73 |:07:35 +|0200.Mes|
|00000120| 73 61 67 65 2d 49 64 3a | 20 3c 39 33 30 38 30 38 |sage-Id:| <930808|
|00000130| 31 34 30 37 2e 41 41 31 | 32 35 30 39 40 69 74 75 |1407.AA1|2509@itu|
|00000140| 32 2e 73 75 6e 2e 61 63 | 2e 7a 61 3e 0a 53 75 62 |2.sun.ac|.za>.Sub|
|00000150| 6a 65 63 74 3a 20 4c 69 | 73 74 70 72 6f 63 65 73 |ject: Li|stproces|
|00000160| 73 6f 72 20 70 61 74 63 | 68 20 66 6f 72 20 4c 69 |sor patc|h for Li|
|00000170| 6e 75 78 0a 54 6f 3a 20 | 67 6f 72 64 6f 6e 40 74 |nux.To: |gordon@t|
|00000180| 72 61 64 65 6e 74 2e 77 | 69 6d 73 65 79 2e 63 6f |radent.w|imsey.co|
|00000190| 6d 20 28 47 6f 72 64 6f | 6e 20 53 6f 75 6b 6f 72 |m (Gordo|n Soukor|
|000001a0| 65 66 66 29 0a 44 61 74 | 65 3a 20 53 75 6e 2c 20 |eff).Dat|e: Sun, |
|000001b0| 38 20 41 75 67 20 31 39 | 39 33 20 31 36 3a 30 37 |8 Aug 19|93 16:07|
|000001c0| 3a 33 34 20 2b 30 32 30 | 30 20 28 47 4d 54 2b 30 |:34 +020|0 (GMT+0|
|000001d0| 32 30 30 29 0a 46 72 6f | 6d 3a 20 50 69 65 74 65 |200).Fro|m: Piete|
|000001e0| 72 20 49 6d 6d 65 6c 6d | 61 6e 20 3c 70 69 40 69 |r Immelm|an <pi@i|
|000001f0| 74 75 32 2e 73 75 6e 2e | 61 63 2e 7a 61 3e 0a 43 |tu2.sun.|ac.za>.C|
|00000200| 63 3a 20 74 61 73 6f 73 | 40 63 73 2e 62 75 2e 65 |c: tasos|@cs.bu.e|
|00000210| 64 75 0a 49 6e 2d 52 65 | 70 6c 79 2d 54 6f 3a 20 |du.In-Re|ply-To: |
|00000220| 3c 6d 30 6f 4f 58 63 38 | 2d 30 30 30 4a 41 66 43 |<m0oOXc8|-000JAfC|
|00000230| 40 74 72 61 64 65 6e 74 | 2e 77 69 6d 73 65 79 2e |@tradent|.wimsey.|
|00000240| 63 6f 6d 3e 20 66 72 6f | 6d 20 22 47 6f 72 64 6f |com> fro|m "Gordo|
|00000250| 6e 20 53 6f 75 6b 6f 72 | 65 66 66 22 20 61 74 20 |n Soukor|eff" at |
|00000260| 41 75 67 20 36 2c 20 39 | 33 20 30 37 3a 33 38 3a |Aug 6, 9|3 07:38:|
|00000270| 30 37 20 70 6d 0a 58 2d | 4d 61 69 6c 65 72 3a 20 |07 pm.X-|Mailer: |
|00000280| 45 4c 4d 20 5b 76 65 72 | 73 69 6f 6e 20 32 2e 34 |ELM [ver|sion 2.4|
|00000290| 20 50 4c 32 31 5d 0a 4d | 69 6d 65 2d 56 65 72 73 | PL21].M|ime-Vers|
|000002a0| 69 6f 6e 3a 20 31 2e 30 | 0a 43 6f 6e 74 65 6e 74 |ion: 1.0|.Content|
|000002b0| 2d 54 79 70 65 3a 20 74 | 65 78 74 2f 70 6c 61 69 |-Type: t|ext/plai|
|000002c0| 6e 3b 20 63 68 61 72 73 | 65 74 3d 55 53 2d 41 53 |n; chars|et=US-AS|
|000002d0| 43 49 49 0a 43 6f 6e 74 | 65 6e 74 2d 54 72 61 6e |CII.Cont|ent-Tran|
|000002e0| 73 66 65 72 2d 45 6e 63 | 6f 64 69 6e 67 3a 20 37 |sfer-Enc|oding: 7|
|000002f0| 62 69 74 0a 43 6f 6e 74 | 65 6e 74 2d 4c 65 6e 67 |bit.Cont|ent-Leng|
|00000300| 74 68 3a 20 39 39 36 31 | 20 20 20 20 20 20 0a 53 |th: 9961| .S|
|00000310| 74 61 74 75 73 3a 20 52 | 4f 0a 0a 57 65 6c 6c 2c |tatus: R|O..Well,|
|00000320| 20 68 65 72 65 20 69 74 | 20 69 73 2e 20 20 54 68 | here it| is. Th|
|00000330| 69 73 20 69 73 20 61 20 | 70 61 74 63 68 20 61 67 |is is a |patch ag|
|00000340| 61 69 6e 73 74 20 36 2e | 30 61 2f 39 33 30 37 33 |ainst 6.|0a/93073|
|00000350| 31 2e 20 20 48 6f 70 65 | 20 69 74 20 77 6f 72 6b |1. Hope| it work|
|00000360| 73 0a 66 6f 72 20 79 6f | 75 20 61 73 20 77 65 6c |s.for yo|u as wel|
|00000370| 6c 2e 20 20 49 27 76 65 | 20 69 6e 63 6c 75 64 65 |l. I've| include|
|00000380| 64 20 6d 79 20 4d 61 6b | 65 66 69 6c 65 20 69 6e |d my Mak|efile in|
|00000390| 20 74 68 65 20 64 69 66 | 66 73 20 28 6a 75 73 74 | the dif|fs (just|
|000003a0| 20 69 6e 20 63 61 73 65 | 29 0a 42 54 57 2c 20 49 | in case|).BTW, I|
|000003b0| 27 6d 20 72 75 6e 6e 69 | 6e 67 20 4c 69 6e 75 78 |'m runni|ng Linux|
|000003c0| 20 30 2e 39 39 70 31 31 | 2c 20 67 63 63 20 32 2e | 0.99p11|, gcc 2.|
|000003d0| 34 2e 35 20 77 69 74 68 | 20 6c 69 62 63 20 34 2e |4.5 with| libc 4.|
|000003e0| 34 2e 31 0a 0a 3d 3d 3d | 20 64 69 66 66 73 20 3d |4.1..===| diffs =|
|000003f0| 3d 3d 0a 64 69 66 66 20 | 2d 72 75 32 20 39 33 30 |==.diff |-ru2 930|
|00000400| 37 33 31 2f 73 72 63 2f | 4d 61 6b 65 66 69 6c 65 |731/src/|Makefile|
|00000410| 20 53 65 72 76 65 72 2f | 73 72 63 2f 4d 61 6b 65 | Server/|src/Make|
|00000420| 66 69 6c 65 0a 2d 2d 2d | 20 39 33 30 37 33 31 2f |file.---| 930731/|
|00000430| 73 72 63 2f 4d 61 6b 65 | 66 69 6c 65 09 53 75 6e |src/Make|file.Sun|
|00000440| 20 41 75 67 20 20 38 20 | 31 32 3a 33 32 3a 31 31 | Aug 8 |12:32:11|
|00000450| 20 31 39 39 33 0a 2b 2b | 2b 20 53 65 72 76 65 72 | 1993.++|+ Server|
|00000460| 2f 73 72 63 2f 4d 61 6b | 65 66 69 6c 65 09 53 75 |/src/Mak|efile.Su|
|00000470| 6e 20 41 75 67 20 20 31 | 20 32 32 3a 32 36 3a 33 |n Aug 1| 22:26:3|
|00000480| 35 20 31 39 39 33 0a 40 | 40 20 2d 31 32 32 2c 31 |5 1993.@|@ -122,1|
|00000490| 32 20 2b 31 32 32 2c 31 | 33 20 40 40 0a 20 0a 20 |2 +122,1|3 @@. . |
|000004a0| 23 20 64 65 66 69 6e 65 | 20 79 6f 75 72 20 63 6f |# define| your co|
|000004b0| 6d 70 69 6c 65 72 3a 0a | 2d 43 43 09 09 3d 20 63 |mpiler:.|-CC..= c|
|000004c0| 63 0a 2b 43 43 09 09 3d | 20 67 63 63 0a 20 0a 20 |c.+CC..=| gcc. . |
|000004d0| 23 20 64 65 66 69 6e 65 | 20 73 70 65 63 69 61 6c |# define| special|
|000004e0| 20 73 79 6d 62 6f 6c 73 | 20 28 73 79 73 74 65 6d | symbols| (system|
|000004f0| 2c 20 70 72 65 70 72 6f | 63 65 73 73 6f 72 20 6f |, prepro|cessor o|
|00000500| 70 74 69 6f 6e 73 2c 20 | 65 74 63 29 3a 0a 2d 44 |ptions, |etc):.-D|
|00000510| 45 46 49 4e 45 53 09 09 | 3d 20 2d 44 48 41 56 45 |EFINES..|= -DHAVE|
|00000520| 5f 53 45 4c 45 43 54 5f | 48 20 2d 44 48 41 56 45 |_SELECT_|H -DHAVE|
|00000530| 5f 55 4c 49 4d 49 54 5f | 48 20 2d 44 48 41 56 45 |_ULIMIT_|H -DHAVE|
|00000540| 5f 53 45 54 4a 4d 50 5f | 48 20 5c 0a 2d 09 09 20 |_SETJMP_|H \.-.. |
|00000550| 20 2d 44 48 41 56 45 5f | 54 5a 46 49 4c 45 5f 48 | -DHAVE_|TZFILE_H|
|00000560| 0a 2b 44 45 46 49 4e 45 | 53 09 09 3d 20 2d 44 48 |.+DEFINE|S..= -DH|
|00000570| 41 56 45 5f 55 4c 49 4d | 49 54 5f 48 20 2d 44 48 |AVE_ULIM|IT_H -DH|
|00000580| 41 56 45 5f 53 45 54 4a | 4d 50 5f 48 20 5c 0a 2b |AVE_SETJ|MP_H \.+|
|00000590| 09 09 20 20 2d 44 44 4f | 4e 54 5f 47 4f 5f 49 4e |.. -DDO|NT_GO_IN|
|000005a0| 54 45 52 41 43 54 49 56 | 45 20 2d 44 5a 4d 41 49 |TERACTIV|E -DZMAI|
|000005b0| 4c 45 52 20 5c 0a 2b 09 | 09 20 20 2d 44 55 43 42 |LER \.+.|. -DUCB|
|000005c0| 5f 4d 41 49 4c 3d 5c 22 | 2f 75 73 72 2f 62 69 6e |_MAIL=\"|/usr/bin|
|000005d0| 2f 6d 61 69 6c 78 5c 22 | 0a 20 0a 20 23 20 64 65 |/mailx\"|. . # de|
|000005e0| 66 69 6e 65 20 6c 69 6e | 6b 69 6e 67 20 6f 70 74 |fine lin|king opt|
|000005f0| 69 6f 6e 73 20 61 6e 64 | 20 6c 69 62 72 61 72 69 |ions and| librari|
|00000600| 65 73 0a 2d 20 4c 44 46 | 4c 41 47 53 09 09 3d 20 |es.- LDF|LAGS..= |
|00000610| 24 28 4f 50 54 49 4d 49 | 5a 41 54 49 4f 4e 29 0a |$(OPTIMI|ZATION).|
|00000620| 2b 20 4c 44 46 4c 41 47 | 53 09 09 3d 20 2d 73 20 |+ LDFLAG|S..= -s |
|00000630| 24 28 4f 50 54 49 4d 49 | 5a 41 54 49 4f 4e 29 0a |$(OPTIMI|ZATION).|
|00000640| 20 0a 64 69 66 66 20 2d | 72 75 32 20 39 33 30 37 | .diff -|ru2 9307|
|00000650| 33 31 2f 73 72 63 2f 64 | 65 66 73 2e 68 20 53 65 |31/src/d|efs.h Se|
|00000660| 72 76 65 72 2f 73 72 63 | 2f 64 65 66 73 2e 68 0a |rver/src|/defs.h.|
|00000670| 2b 2b 2b 20 53 65 72 76 | 65 72 2f 73 72 63 2f 64 |+++ Serv|er/src/d|
|00000680| 65 66 73 2e 68 09 53 75 | 6e 20 41 75 67 20 20 31 |efs.h.Su|n Aug 1|
|00000690| 20 32 32 3a 33 39 3a 34 | 37 20 31 39 39 33 0a 2b | 22:39:4|7 1993.+|
|000006a0| 20 69 6e 74 20 6f 70 74 | 6f 70 74 3b 0a 0a 64 69 | int opt|opt;..di|
|000006b0| 66 66 20 2d 72 75 32 20 | 39 33 30 37 33 31 2f 73 |ff -ru2 |930731/s|
|000006c0| 72 63 2f 73 69 67 6e 61 | 6c 73 2e 63 20 53 65 72 |rc/signa|ls.c Ser|
|000006d0| 76 65 72 2f 73 72 63 2f | 73 69 67 6e 61 6c 73 2e |ver/src/|signals.|
|000006e0| 63 0a 2d 2d 2d 20 39 33 | 30 37 33 31 2f 73 72 63 |c.--- 93|0731/src|
|000006f0| 2f 73 69 67 6e 61 6c 73 | 2e 63 09 53 75 6e 20 41 |/signals|.c.Sun A|
|00000700| 75 67 20 20 38 20 31 32 | 3a 33 32 3a 33 37 20 31 |ug 8 12|:32:37 1|
|00000710| 39 39 33 0a 2b 2b 2b 20 | 53 65 72 76 65 72 2f 73 |993.+++ |Server/s|
|00000720| 72 63 2f 73 69 67 6e 61 | 6c 73 2e 63 09 53 75 6e |rc/signa|ls.c.Sun|
|00000730| 20 41 75 67 20 20 31 20 | 31 37 3a 32 35 3a 31 39 | Aug 1 |17:25:19|
|00000740| 20 31 39 39 33 0a 40 40 | 20 2d 38 33 2c 35 20 2b | 1993.@@| -83,5 +|
|00000750| 38 33 2c 37 20 40 40 0a | 20 20 20 73 69 67 6e 61 |83,7 @@.| signa|
|00000760| 6c 73 5b 53 49 47 51 55 | 49 54 5d 20 3d 20 22 53 |ls[SIGQU|IT] = "S|
|00000770| 49 47 51 55 49 54 22 3b | 0a 20 20 20 73 69 67 6e |IGQUIT";|. sign|
|00000780| 61 6c 73 5b 53 49 47 54 | 45 52 4d 5d 20 3d 20 22 |als[SIGT|ERM] = "|
|00000790| 53 49 47 54 45 52 4d 22 | 3b 0a 2b 23 69 66 64 65 |SIGTERM"|;.+#ifde|
|000007a0| 66 20 53 49 47 42 55 53 | 0a 20 20 20 73 69 67 6e |f SIGBUS|. sign|
|000007b0| 61 6c 73 5b 53 49 47 42 | 55 53 5d 20 3d 20 22 53 |als[SIGB|US] = "S|
|000007c0| 49 47 42 55 53 22 3b 0a | 2b 23 65 6e 64 69 66 0a |IGBUS";.|+#endif.|
|000007d0| 20 20 20 73 69 67 6e 61 | 6c 73 5b 53 49 47 53 45 | signa|ls[SIGSE|
|000007e0| 47 56 5d 20 3d 20 22 53 | 49 47 53 45 47 56 22 3b |GV] = "S|IGSEGV";|
|000007f0| 0a 20 20 20 73 69 67 6e | 61 6c 73 5b 53 49 47 4b |. sign|als[SIGK|
|00000800| 49 4c 4c 5d 20 3d 20 22 | 53 49 47 4b 49 4c 4c 22 |ILL] = "|SIGKILL"|
|00000810| 3b 0a 40 40 20 2d 31 31 | 32 2c 35 20 2b 31 31 34 |;.@@ -11|2,5 +114|
|00000820| 2c 37 20 40 40 0a 20 20 | 20 73 69 67 6e 61 6c 20 |,7 @@. | signal |
|00000830| 28 53 49 47 54 45 52 4d | 2c 20 6d 79 5f 61 62 6f |(SIGTERM|, my_abo|
|00000840| 72 74 29 3b 0a 20 20 20 | 73 69 67 6e 61 6c 20 28 |rt);. |signal (|
|00000850| 53 49 47 53 45 47 56 2c | 20 6d 79 5f 61 62 6f 72 |SIGSEGV,| my_abor|
|00000860| 74 29 3b 0a 2b 23 69 66 | 64 65 66 20 53 49 47 42 |t);.+#if|def SIGB|
|00000870| 55 53 0a 20 20 20 73 69 | 67 6e 61 6c 20 28 53 49 |US. si|gnal (SI|
|00000880| 47 42 55 53 2c 20 6d 79 | 5f 61 62 6f 72 74 29 3b |GBUS, my|_abort);|
|00000890| 0a 2b 23 65 6e 64 69 66 | 0a 20 20 20 73 69 67 6e |.+#endif|. sign|
|000008a0| 61 6c 20 28 53 49 47 4b | 49 4c 4c 2c 20 6d 79 5f |al (SIGK|ILL, my_|
|000008b0| 61 62 6f 72 74 29 3b 20 | 2f 2a 20 43 61 6e 27 74 |abort); |/* Can't|
|000008c0| 20 62 65 20 63 61 75 67 | 68 74 2c 20 62 75 74 20 | be caug|ht, but |
|000008d0| 77 68 79 20 6e 6f 74 20 | 74 72 79 3f 20 2a 2f 0a |why not |try? */.|
|000008e0| 20 23 69 66 64 65 66 20 | 5f 41 49 58 0a 40 40 20 | #ifdef |_AIX.@@ |
|000008f0| 2d 31 34 34 2c 35 20 2b | 31 34 38 2c 39 20 40 40 |-144,5 +|148,9 @@|
|00000900| 0a 20 20 20 20 20 73 79 | 73 63 6f 6d 20 28 22 65 |. sy|scom ("e|
|00000910| 63 68 6f 20 27 27 20 7c | 20 25 73 20 2d 73 20 27 |cho '' || %s -s '|
|00000920| 25 73 20 72 65 63 65 69 | 76 65 64 20 25 73 27 20 |%s recei|ved %s' |
|00000930| 25 73 20 26 22 2c 20 55 | 43 42 5f 4d 41 49 4c 2c |%s &", U|CB_MAIL,|
|00000940| 0a 20 09 20 20 20 20 28 | 70 72 6f 67 20 3f 20 70 |. . (|prog ? p|
|00000950| 72 6f 67 20 3a 20 22 3f | 3f 3f 22 29 2c 20 73 69 |rog : "?|??"), si|
|00000960| 67 6e 61 6c 73 5b 73 69 | 67 5d 2c 20 73 79 73 2e |gnals[si|g], sys.|
|00000970| 6d 61 6e 61 67 65 72 29 | 3b 0a 2b 23 69 66 64 65 |manager)|;.+#ifde|
|00000980| 66 20 53 49 47 42 55 53 | 0a 20 20 20 69 66 20 28 |f SIGBUS|. if (|
|00000990| 73 69 67 20 3d 3d 20 53 | 49 47 51 55 49 54 20 7c |sig == S|IGQUIT ||
|000009a0| 7c 20 73 69 67 20 3d 3d | 20 53 49 47 49 4c 4c 20 || sig ==| SIGILL |
|000009b0| 7c 7c 20 73 69 67 20 3d | 3d 20 53 49 47 53 45 47 ||| sig =|= SIGSEG|
|000009c0| 56 20 7c 7c 20 73 69 67 | 20 3d 3d 20 53 49 47 42 |V || sig| == SIGB|
|000009d0| 55 53 29 20 7b 0a 2b 23 | 65 6c 73 65 0a 2b 20 20 |US) {.+#|else.+ |
|000009e0| 69 66 20 28 73 69 67 20 | 3d 3d 20 53 49 47 51 55 |if (sig |== SIGQU|
|000009f0| 49 54 20 7c 7c 20 73 69 | 67 20 3d 3d 20 53 49 47 |IT || si|g == SIG|
|00000a00| 49 4c 4c 20 7c 7c 20 73 | 69 67 20 3d 3d 20 53 49 |ILL || s|ig == SI|
|00000a10| 47 53 45 47 56 29 20 7b | 0a 2b 23 65 6e 64 69 66 |GSEGV) {|.+#endif|
|00000a20| 0a 20 23 69 66 64 65 66 | 20 47 4f 5f 49 4e 54 45 |. #ifdef| GO_INTE|
|00000a30| 52 41 43 54 49 56 45 0a | 20 20 20 75 6e 69 6f 6e |RACTIVE.| union|
|00000a40| 20 73 65 6d 75 6e 20 7b | 0a 0a 64 69 66 66 20 2d | semun {|..diff -|
|00000a50| 72 75 32 20 39 33 30 37 | 33 31 2f 73 79 73 74 65 |ru2 9307|31/syste|
|00000a60| 73 74 20 53 65 72 76 65 | 72 2f 73 79 73 74 65 73 |st Serve|r/systes|
|00000a70| 74 0a 2d 2d 2d 20 39 33 | 30 37 33 31 2f 73 79 73 |t.--- 93|0731/sys|
|00000a80| 74 65 73 74 09 53 75 6e | 20 41 75 67 20 20 38 20 |test.Sun| Aug 8 |
|00000a90| 31 32 3a 33 32 3a 35 34 | 20 31 39 39 33 0a 2b 2b |12:32:54| 1993.++|
|00000aa0| 2b 20 53 65 72 76 65 72 | 2f 73 79 73 74 65 73 74 |+ Server|/systest|
|00000ab0| 09 53 75 6e 20 41 75 67 | 20 20 31 20 31 36 3a 35 |.Sun Aug| 1 16:5|
|00000ac0| 39 3a 34 32 20 31 39 39 | 33 0a 40 40 20 2d 33 38 |9:42 199|3.@@ -38|
|00000ad0| 35 2c 34 20 2b 33 38 35 | 2c 31 31 20 40 40 0a 20 |5,4 +385|,11 @@. |
|00000ae0| 20 20 65 63 68 6f 20 4d | 69 73 73 69 6e 67 20 20 | echo M|issing |
|00000af0| 75 74 69 6c 69 74 69 65 | 73 20 79 6f 75 20 68 61 |utilitie|s you ha|
|00000b00| 76 65 20 74 6f 20 68 61 | 76 65 3a 20 24 68 61 76 |ve to ha|ve: $hav|
|00000b10| 65 5f 74 6f 5f 68 61 76 | 65 0a 20 66 69 0a 2b 23 |e_to_hav|e. fi.+#|
|00000b20| 66 69 6e 64 20 2d 66 6f | 6c 6c 6f 77 20 6e 6f 74 |find -fo|llow not|
|00000b30| 20 73 75 70 70 6f 72 74 | 65 64 20 6f 6e 20 61 6c | support|ed on al|
|00000b40| 6c 20 70 6c 61 74 66 6f | 72 6d 73 0a 2b 66 69 6e |l platfo|rms.+fin|
|00000b50| 64 20 2f 75 73 72 2f 69 | 6e 63 6c 75 64 65 20 2d |d /usr/i|nclude -|
|00000b60| 66 6f 6c 6c 6f 77 20 2d | 70 72 69 6e 74 20 3e 2f |follow -|print >/|
|00000b70| 64 65 76 2f 6e 75 6c 6c | 20 32 3e 26 31 0a 2b 69 |dev/null| 2>&1.+i|
|00000b80| 66 20 5b 20 24 3f 20 2d | 65 71 20 30 20 5d 3b 20 |f [ $? -|eq 0 ]; |
|00000b90| 74 68 65 6e 0a 2b 20 20 | 66 6f 6c 6c 6f 77 3d 22 |then.+ |follow="|
|00000ba0| 2d 66 6f 6c 6c 6f 77 22 | 0a 2b 65 6c 73 65 0a 2b |-follow"|.+else.+|
|00000bb0| 20 20 66 6f 6c 6c 6f 77 | 3d 22 22 0a 2b 66 69 0a | follow|="".+fi.|
|00000bc0| 20 65 63 68 6f 0a 20 0a | 40 40 20 2d 33 39 32 2c | echo. .|@@ -392,|
|00000bd0| 35 20 2b 33 39 39 2c 35 | 20 40 40 0a 20 65 6c 73 |5 +399,5| @@. els|
|00000be0| 65 0a 20 20 20 66 69 6c | 65 3d 60 28 63 64 20 2f |e. fil|e=`(cd /|
|00000bf0| 75 73 72 2f 69 6e 63 6c | 75 64 65 3b 5c 0a 2d 09 |usr/incl|ude;\.-.|
|00000c00| 20 66 69 6e 64 20 2e 20 | 2d 6e 61 6d 65 20 73 65 | find . |-name se|
|00000c10| 6c 65 63 74 2e 68 20 2d | 70 72 69 6e 74 20 32 3e |lect.h -|print 2>|
|00000c20| 2f 64 65 76 2f 6e 75 6c | 6c 29 60 20 23 66 69 6e |/dev/nul|l)` #fin|
|00000c30| 64 20 2d 66 6f 6c 6c 6f | 77 20 6e 6f 74 20 73 75 |d -follo|w not su|
|00000c40| 70 70 6f 72 74 65 64 20 | 6f 6e 20 61 6c 6c 20 70 |pported |on all p|
|00000c50| 6c 61 74 66 6f 72 6d 73 | 0a 2b 09 20 66 69 6e 64 |latforms|.+. find|
|00000c60| 20 2e 20 24 66 6f 6c 6c | 6f 77 20 2d 6e 61 6d 65 | . $foll|ow -name|
|00000c70| 20 73 65 6c 65 63 74 2e | 68 20 2d 70 72 69 6e 74 | select.|h -print|
|00000c80| 20 32 3e 2f 64 65 76 2f | 6e 75 6c 6c 29 60 0a 20 | 2>/dev/|null)`. |
|00000c90| 20 20 69 66 20 5b 20 22 | 24 66 69 6c 65 22 20 3d | if [ "|$file" =|
|00000ca0| 20 22 22 20 5d 3b 20 74 | 68 65 6e 0a 20 20 20 20 | "" ]; t|hen. |
|00000cb0| 20 65 63 68 6f 20 27 2a | 2a 2a 20 44 6f 20 4e 4f | echo '*|** Do NO|
|00000cc0| 54 20 63 6f 6d 70 69 6c | 65 20 77 69 74 68 20 74 |T compil|e with t|
|00000cd0| 68 65 20 2d 44 48 41 56 | 45 5f 53 45 4c 45 43 54 |he -DHAV|E_SELECT|
|00000ce0| 5f 48 20 66 6c 61 67 27 | 0a 40 40 20 2d 34 31 30 |_H flag'|.@@ -410|
|00000cf0| 2c 35 20 2b 34 31 37 2c | 35 20 40 40 0a 20 65 6c |,5 +417,|5 @@. el|
|00000d00| 73 65 0a 20 20 20 66 69 | 6c 65 3d 60 28 63 64 20 |se. fi|le=`(cd |
|00000d10| 2f 75 73 72 2f 69 6e 63 | 6c 75 64 65 3b 5c 0a 2d |/usr/inc|lude;\.-|
|00000d20| 09 20 66 69 6e 64 20 2e | 20 2d 6e 61 6d 65 20 75 |. find .| -name u|
|00000d30| 6c 69 6d 69 74 2e 68 20 | 2d 70 72 69 6e 74 20 32 |limit.h |-print 2|
|00000d40| 3e 2f 64 65 76 2f 6e 75 | 6c 6c 29 60 0a 2b 09 20 |>/dev/nu|ll)`.+. |
|00000d50| 66 69 6e 64 20 2e 20 24 | 66 6f 6c 6c 6f 77 20 2d |find . $|follow -|
|00000d60| 6e 61 6d 65 20 75 6c 69 | 6d 69 74 2e 68 20 2d 70 |name uli|mit.h -p|
|00000d70| 72 69 6e 74 20 32 3e 2f | 64 65 76 2f 6e 75 6c 6c |rint 2>/|dev/null|
|00000d80| 29 60 0a 20 20 20 69 66 | 20 5b 20 22 24 66 69 6c |)`. if| [ "$fil|
|00000d90| 65 22 20 3d 20 22 22 20 | 5d 3b 20 74 68 65 6e 0a |e" = "" |]; then.|
|00000da0| 20 20 20 20 20 65 63 68 | 6f 20 27 2a 2a 2a 20 44 | ech|o '*** D|
|00000db0| 6f 20 4e 4f 54 20 63 6f | 6d 70 69 6c 65 20 77 69 |o NOT co|mpile wi|
|00000dc0| 74 68 20 74 68 65 20 2d | 44 48 41 56 45 5f 55 4c |th the -|DHAVE_UL|
|00000dd0| 49 4d 49 54 5f 48 20 66 | 6c 61 67 27 0a 40 40 20 |IMIT_H f|lag'.@@ |
|00000de0| 2d 34 32 33 2c 35 20 2b | 34 33 30 2c 35 20 40 40 |-423,5 +|430,5 @@|
|00000df0| 0a 20 65 6c 73 65 0a 20 | 20 20 66 69 6c 65 3d 60 |. else. | file=`|
|00000e00| 28 63 64 20 2f 75 73 72 | 2f 69 6e 63 6c 75 64 65 |(cd /usr|/include|
|00000e10| 3b 5c 0a 2d 09 20 66 69 | 6e 64 20 2e 20 2d 6e 61 |;\.-. fi|nd . -na|
|00000e20| 6d 65 20 73 65 74 6a 6d | 70 2e 68 20 2d 70 72 69 |me setjm|p.h -pri|
|00000e30| 6e 74 20 32 3e 2f 64 65 | 76 2f 6e 75 6c 6c 29 60 |nt 2>/de|v/null)`|
|00000e40| 0a 2b 09 20 66 69 6e 64 | 20 2e 20 24 66 6f 6c 6c |.+. find| . $foll|
|00000e50| 6f 77 20 2d 6e 61 6d 65 | 20 73 65 74 6a 6d 70 2e |ow -name| setjmp.|
|00000e60| 68 20 2d 70 72 69 6e 74 | 20 32 3e 2f 64 65 76 2f |h -print| 2>/dev/|
|00000e70| 6e 75 6c 6c 29 60 0a 20 | 20 20 69 66 20 5b 20 22 |null)`. | if [ "|
|00000e80| 24 66 69 6c 65 22 20 3d | 20 22 22 20 5d 3b 20 74 |$file" =| "" ]; t|
|00000e90| 68 65 6e 0a 20 20 20 20 | 20 65 63 68 6f 20 27 2a |hen. | echo '*|
|00000ea0| 2a 2a 20 44 6f 20 4e 4f | 54 20 63 6f 6d 70 69 6c |** Do NO|T compil|
|00000eb0| 65 20 77 69 74 68 20 74 | 68 65 20 2d 44 48 41 56 |e with t|he -DHAV|
|00000ec0| 45 5f 53 45 54 4a 4d 50 | 5f 48 20 66 6c 61 67 27 |E_SETJMP|_H flag'|
|00000ed0| 0a 40 40 20 2d 34 33 36 | 2c 35 20 2b 34 34 33 2c |.@@ -436|,5 +443,|
|00000ee0| 35 20 40 40 0a 20 65 6c | 73 65 0a 20 20 20 66 69 |5 @@. el|se. fi|
|00000ef0| 6c 65 3d 60 28 63 64 20 | 2f 75 73 72 2f 69 6e 63 |le=`(cd |/usr/inc|
|00000f00| 6c 75 64 65 3b 5c 0a 2d | 09 20 66 69 6e 64 20 2e |lude;\.-|. find .|
|00000f10| 20 2d 6e 61 6d 65 20 74 | 7a 66 69 6c 65 2e 68 20 | -name t|zfile.h |
|00000f20| 2d 70 72 69 6e 74 20 32 | 3e 2f 64 65 76 2f 6e 75 |-print 2|>/dev/nu|
|00000f30| 6c 6c 29 60 0a 2b 09 20 | 66 69 6e 64 20 2e 20 24 |ll)`.+. |find . $|
|00000f40| 66 6f 6c 6c 6f 77 20 2d | 6e 61 6d 65 20 74 7a 66 |follow -|name tzf|
|00000f50| 69 6c 65 2e 68 20 2d 70 | 72 69 6e 74 20 32 3e 2f |ile.h -p|rint 2>/|
|00000f60| 64 65 76 2f 6e 75 6c 6c | 29 60 0a 20 20 20 69 66 |dev/null|)`. if|
|00000f70| 20 5b 20 22 24 66 69 6c | 65 22 20 3d 20 22 22 20 | [ "$fil|e" = "" |
|00000f80| 5d 3b 20 74 68 65 6e 0a | 20 20 20 20 20 65 63 68 |]; then.| ech|
|00000f90| 6f 20 27 2a 2a 2a 20 44 | 6f 20 4e 4f 54 20 63 6f |o '*** D|o NOT co|
|00000fa0| 6d 70 69 6c 65 20 77 69 | 74 68 20 74 68 65 20 2d |mpile wi|th the -|
|00000fb0| 44 48 41 56 45 5f 54 5a | 46 49 4c 45 5f 48 20 66 |DHAVE_TZ|FILE_H f|
|00000fc0| 6c 61 67 27 0a 40 40 20 | 2d 34 34 32 2c 35 20 2b |lag'.@@ |-442,5 +|
|00000fd0| 34 34 39 2c 35 20 40 40 | 0a 20 20 20 20 20 66 69 |449,5 @@|. fi|
|00000fe0| 6c 65 3d 60 65 63 68 6f | 20 24 66 69 6c 65 20 7c |le=`echo| $file ||
|00000ff0| 20 61 77 6b 20 27 7b 20 | 70 72 69 6e 74 20 24 31 | awk '{ |print $1|
|00001000| 20 7d 27 60 0a 20 20 20 | 20 20 65 63 68 6f 20 27 | }'`. | echo '|
|00001010| 2a 2a 2a 20 43 6f 6d 70 | 69 6c 65 20 77 69 74 68 |*** Comp|ile with|
|00001020| 20 2d 44 48 41 56 45 5f | 54 5a 46 49 4c 45 5f 48 | -DHAVE_|TZFILE_H|
|00001030| 27 0a 2d 20 20 20 20 65 | 63 68 6f 20 5c 2a 5c 2a |'.- e|cho \*\*|
|00001040| 5c 2a 20 43 6f 6d 70 69 | 6c 65 20 77 69 74 68 20 |\* Compi|le with |
|00001050| 2d 49 2f 75 73 72 2f 73 | 65 72 76 65 72 60 64 69 |-I/usr/s|erver`di|
|00001060| 72 6e 61 6d 20 24 66 69 | 6c 65 20 7c 20 73 65 64 |rnam $fi|le | sed|
|00001070| 20 27 73 2f 5c 2e 2f 2f | 67 27 60 0a 2b 20 20 20 | 's/\.//|g'`.+ |
|00001080| 20 65 63 68 6f 20 5c 2a | 5c 2a 5c 2a 20 43 6f 6d | echo \*|\*\* Com|
|00001090| 70 69 6c 65 20 77 69 74 | 68 20 2d 49 2f 75 73 72 |pile wit|h -I/usr|
|000010a0| 2f 69 6e 63 6c 75 64 65 | 60 64 69 72 6e 61 6d 20 |/include|`dirnam |
|000010b0| 24 66 69 6c 65 20 7c 20 | 73 65 64 20 27 73 2f 5c |$file | |sed 's/\|
|000010c0| 2e 2f 2f 67 27 60 0a 20 | 20 20 66 69 0a 20 66 69 |.//g'`. | fi. fi|
|000010d0| 0a 40 40 20 2d 34 34 39 | 2c 35 20 2b 34 35 36 2c |.@@ -449|,5 +456,|
|000010e0| 35 20 40 40 0a 20 65 6c | 73 65 0a 20 20 20 66 69 |5 @@. el|se. fi|
|000010f0| 6c 65 3d 60 28 63 64 20 | 2f 75 73 72 2f 69 6e 63 |le=`(cd |/usr/inc|
|00001100| 6c 75 64 65 3b 5c 0a 2d | 09 20 66 69 6e 64 20 2e |lude;\.-|. find .|
|00001110| 20 2d 6e 61 6d 65 20 73 | 79 73 6c 6f 67 2e 68 20 | -name s|yslog.h |
|00001120| 2d 70 72 69 6e 74 20 32 | 3e 2f 64 65 76 2f 6e 75 |-print 2|>/dev/nu|
|00001130| 6c 6c 29 60 0a 2b 09 20 | 66 69 6e 64 20 2e 20 24 |ll)`.+. |find . $|
|00001140| 66 6f 6c 6c 6f 77 20 2d | 6e 61 6d 65 20 73 79 73 |follow -|name sys|
|00001150| 6c 6f 67 2e 68 20 2d 70 | 72 69 6e 74 20 32 3e 2f |log.h -p|rint 2>/|
|00001160| 64 65 76 2f 6e 75 6c 6c | 29 60 0a 20 20 20 69 66 |dev/null|)`. if|
|00001170| 20 5b 20 22 24 66 69 6c | 65 22 20 21 3d 20 22 22 | [ "$fil|e" != ""|
|00001180| 20 5d 3b 20 74 68 65 6e | 0a 20 20 20 20 20 66 69 | ]; then|. fi|
|00001190| 6c 65 3d 60 65 63 68 6f | 20 24 66 69 6c 65 20 7c |le=`echo| $file ||
|000011a0| 20 61 77 6b 20 27 7b 20 | 70 72 69 6e 74 20 24 31 | awk '{ |print $1|
|000011b0| 20 7d 27 60 0a 40 40 20 | 2d 35 30 31 2c 31 31 20 | }'`.@@ |-501,11 |
|000011c0| 2b 35 30 38 2c 31 32 20 | 40 40 0a 20 65 63 68 6f |+508,12 |@@. echo|
|000011d0| 20 2d 2d 2d 20 4c 6f 6f | 6b 69 6e 67 20 66 6f 72 | --- Loo|king for|
|000011e0| 20 73 70 65 63 69 66 69 | 63 20 68 65 61 64 65 72 | specifi|c header|
|000011f0| 20 66 69 6c 65 73 3a 0a | 20 0a 2d 67 72 65 70 20 | files:.| .-grep |
|00001200| 53 49 47 43 4c 44 20 2f | 75 73 72 2f 69 6e 63 6c |SIGCLD /|usr/incl|
|00001210| 75 64 65 2f 73 79 73 2f | 73 69 67 6e 61 6c 2e 68 |ude/sys/|signal.h|
|00001220| 20 3e 20 2f 64 65 76 2f | 6e 75 6c 6c 20 32 3e 26 | > /dev/|null 2>&|
|00001230| 31 0a 2b 66 69 6c 65 3d | 60 66 69 6e 64 20 2f 75 |1.+file=|`find /u|
|00001240| 73 72 2f 69 6e 63 6c 75 | 64 65 20 24 66 6f 6c 6c |sr/inclu|de $foll|
|00001250| 6f 77 20 2d 6e 61 6d 65 | 20 73 69 67 6e 61 6c 2e |ow -name| signal.|
|00001260| 68 20 2d 70 72 69 6e 74 | 20 32 3e 2f 64 65 76 2f |h -print| 2>/dev/|
|00001270| 6e 75 6c 6c 60 0a 2b 67 | 72 65 70 20 53 49 47 43 |null`.+g|rep SIGC|
|00001280| 4c 44 20 24 66 69 6c 65 | 20 3e 20 2f 64 65 76 2f |LD $file| > /dev/|
|00001290| 6e 75 6c 6c 20 32 3e 26 | 31 0a 20 73 69 67 63 6c |null 2>&|1. sigcl|
|000012a0| 64 31 3d 24 3f 0a 2d 67 | 72 65 70 20 53 49 47 43 |d1=$?.-g|rep SIGC|
|000012b0| 48 4c 44 20 2f 75 73 72 | 2f 69 6e 63 6c 75 64 65 |HLD /usr|/include|
|000012c0| 2f 73 79 73 2f 73 69 67 | 6e 61 6c 2e 68 20 3e 20 |/sys/sig|nal.h > |
|000012d0| 2f 64 65 76 2f 6e 75 6c | 6c 20 32 3e 26 31 0a 2b |/dev/nul|l 2>&1.+|
|000012e0| 67 72 65 70 20 53 49 47 | 43 48 4c 44 20 24 66 69 |grep SIG|CHLD $fi|
|000012f0| 6c 65 20 3e 20 2f 64 65 | 76 2f 6e 75 6c 6c 20 32 |le > /de|v/null 2|
|00001300| 3e 26 31 0a 20 73 69 67 | 63 6c 64 32 3d 24 3f 0a |>&1. sig|cld2=$?.|
|00001310| 2d 67 72 65 70 20 53 49 | 47 55 53 52 31 20 2f 75 |-grep SI|GUSR1 /u|
|00001320| 73 72 2f 69 6e 63 6c 75 | 64 65 2f 73 79 73 2f 73 |sr/inclu|de/sys/s|
|00001330| 69 67 6e 61 6c 2e 68 20 | 3e 20 2f 64 65 76 2f 6e |ignal.h |> /dev/n|
|00001340| 75 6c 6c 20 32 3e 26 31 | 0a 2b 67 72 65 70 20 53 |ull 2>&1|.+grep S|
|00001350| 49 47 55 53 52 31 20 24 | 66 69 6c 65 20 3e 20 2f |IGUSR1 $|file > /|
|00001360| 64 65 76 2f 6e 75 6c 6c | 20 32 3e 26 31 0a 20 73 |dev/null| 2>&1. s|
|00001370| 69 67 75 73 72 31 3d 24 | 3f 0a 2d 67 72 65 70 20 |igusr1=$|?.-grep |
|00001380| 53 49 47 55 53 52 32 20 | 2f 75 73 72 2f 69 6e 63 |SIGUSR2 |/usr/inc|
|00001390| 6c 75 64 65 2f 73 79 73 | 2f 73 69 67 6e 61 6c 2e |lude/sys|/signal.|
|000013a0| 68 20 3e 20 2f 64 65 76 | 2f 6e 75 6c 6c 20 32 3e |h > /dev|/null 2>|
|000013b0| 26 31 0a 2b 67 72 65 70 | 20 53 49 47 55 53 52 32 |&1.+grep| SIGUSR2|
|000013c0| 20 24 66 69 6c 65 20 3e | 20 2f 64 65 76 2f 6e 75 | $file >| /dev/nu|
|000013d0| 6c 6c 20 32 3e 26 31 0a | 20 73 69 67 75 73 72 32 |ll 2>&1.| sigusr2|
|000013e0| 3d 24 3f 0a 20 69 66 20 | 5b 20 24 73 69 67 63 6c |=$?. if |[ $sigcl|
|000013f0| 64 31 20 2d 6e 65 20 30 | 20 2d 6f 20 24 73 69 67 |d1 -ne 0| -o $sig|
|00001400| 63 6c 64 32 20 2d 6e 65 | 20 30 20 2d 6f 20 24 73 |cld2 -ne| 0 -o $s|
|00001410| 69 67 75 73 72 31 20 2d | 6e 65 20 30 20 2d 6f 20 |igusr1 -|ne 0 -o |
|00001420| 24 73 69 67 75 73 72 32 | 20 2d 6e 65 20 30 20 5d |$sigusr2| -ne 0 ]|
|00001430| 3b 20 74 68 65 6e 0a 40 | 40 20 2d 35 32 33 2c 35 |; then.@|@ -523,5|
|00001440| 20 2b 35 33 31 2c 35 20 | 40 40 0a 20 20 20 65 6c | +531,5 |@@. el|
|00001450| 73 65 0a 20 20 20 20 20 | 66 69 6c 65 3d 60 28 63 |se. |file=`(c|
|00001460| 64 20 2f 75 73 72 2f 69 | 6e 63 6c 75 64 65 3b 5c |d /usr/i|nclude;\|
|00001470| 0a 2d 09 20 20 20 66 69 | 6e 64 20 2e 20 2d 6e 61 |.-. fi|nd . -na|
|00001480| 6d 65 20 77 61 69 74 2e | 68 20 2d 70 72 69 6e 74 |me wait.|h -print|
|00001490| 20 32 3e 2f 64 65 76 2f | 6e 75 6c 6c 29 60 0a 2b | 2>/dev/|null)`.+|
|000014a0| 09 20 20 20 66 69 6e 64 | 20 2e 20 24 66 6f 6c 6c |. find| . $foll|
|000014b0| 6f 77 20 2d 6e 61 6d 65 | 20 77 61 69 74 2e 68 20 |ow -name| wait.h |
|000014c0| 2d 70 72 69 6e 74 20 32 | 3e 2f 64 65 76 2f 6e 75 |-print 2|>/dev/nu|
|000014d0| 6c 6c 29 60 0a 20 20 20 | 20 20 69 66 20 5b 20 22 |ll)`. | if [ "|
|000014e0| 24 66 69 6c 65 22 20 3d | 20 22 22 20 5d 3b 20 74 |$file" =| "" ]; t|
|000014f0| 68 65 6e 0a 20 20 20 20 | 20 20 20 65 63 68 6f 20 |hen. | echo |
|00001500| 27 2a 2a 2a 20 52 65 6d | 6f 76 65 20 23 69 6e 63 |'*** Rem|ove #inc|
|00001510| 6c 75 64 65 20 3c 73 79 | 73 2f 77 61 69 74 2e 68 |lude <sy|s/wait.h|
|00001520| 3e 20 66 72 6f 6d 20 61 | 6c 6c 20 73 6f 75 72 63 |> from a|ll sourc|
|00001530| 65 20 66 69 6c 65 73 27 | 0a 40 40 20 2d 35 34 37 |e files'|.@@ -547|
|00001540| 2c 35 20 2b 35 35 35 2c | 35 20 40 40 0a 20 69 66 |,5 +555,|5 @@. if|
|00001550| 20 5b 20 21 20 2d 66 20 | 2f 75 73 72 2f 69 6e 63 | [ ! -f |/usr/inc|
|00001560| 6c 75 64 65 2f 73 79 73 | 2f 73 65 6d 2e 68 20 5d |lude/sys|/sem.h ]|
|00001570| 3b 20 74 68 65 6e 0a 20 | 20 20 66 69 6c 65 3d 60 |; then. | file=`|
|00001580| 28 63 64 20 2f 75 73 72 | 2f 69 6e 63 6c 75 64 65 |(cd /usr|/include|
|00001590| 3b 5c 0a 2d 09 20 66 69 | 6e 64 20 2e 20 2d 6e 61 |;\.-. fi|nd . -na|
|000015a0| 6d 65 20 73 65 6d 2e 68 | 20 2d 70 72 69 6e 74 20 |me sem.h| -print |
|000015b0| 32 3e 2f 64 65 76 2f 6e | 75 6c 6c 29 60 0a 2b 09 |2>/dev/n|ull)`.+.|
|000015c0| 20 66 69 6e 64 20 2e 20 | 24 66 6f 6c 6c 6f 77 20 | find . |$follow |
|000015d0| 2d 6e 61 6d 65 20 73 65 | 6d 2e 68 20 2d 70 72 69 |-name se|m.h -pri|
|000015e0| 6e 74 20 32 3e 2f 64 65 | 76 2f 6e 75 6c 6c 29 60 |nt 2>/de|v/null)`|
|000015f0| 0a 20 20 20 69 66 20 5b | 20 22 24 66 69 6c 65 22 |. if [| "$file"|
|00001600| 20 3d 20 22 22 20 5d 3b | 20 74 68 65 6e 0a 20 20 | = "" ];| then. |
|00001610| 20 20 20 67 6f 5f 69 6e | 74 65 72 61 63 74 69 76 | go_in|teractiv|
|00001620| 65 3d 6e 6f 24 7b 6b 6e | 6f 77 6e 5f 70 6f 72 74 |e=no${kn|own_port|
|00001630| 3a 2d 27 3b 20 6e 6f 20 | 73 65 6d 61 70 68 6f 72 |:-'; no |semaphor|
|00001640| 65 20 73 75 70 70 6f 72 | 74 3b 20 63 6f 6d 70 69 |e suppor|t; compi|
|00001650| 6c 65 20 77 69 74 68 20 | 2d 44 44 4f 4e 54 5f 47 |le with |-DDONT_G|
|00001660| 4f 5f 49 4e 54 45 52 41 | 43 54 49 56 45 27 7d 0a |O_INTERA|CTIVE'}.|
|00001670| 40 40 20 2d 35 36 32 2c | 35 20 2b 35 37 30 2c 35 |@@ -562,|5 +570,5|
|00001680| 20 40 40 0a 20 69 66 20 | 5b 20 21 20 2d 66 20 2f | @@. if |[ ! -f /|
|00001690| 75 73 72 2f 69 6e 63 6c | 75 64 65 2f 6e 65 74 64 |usr/incl|ude/netd|
|000016a0| 62 2e 68 20 5d 3b 20 74 | 68 65 6e 0a 20 20 20 66 |b.h ]; t|hen. f|
|000016b0| 69 6c 65 3d 60 28 63 64 | 20 2f 75 73 72 2f 69 6e |ile=`(cd| /usr/in|
|000016c0| 63 6c 75 64 65 3b 5c 0a | 2d 09 20 66 69 6e 64 20 |clude;\.|-. find |
|000016d0| 2e 20 2d 6e 61 6d 65 20 | 6e 65 74 64 62 2e 68 20 |. -name |netdb.h |
|000016e0| 2d 70 72 69 6e 74 20 32 | 3e 2f 64 65 76 2f 6e 75 |-print 2|>/dev/nu|
|000016f0| 6c 6c 29 60 0a 2b 09 20 | 66 69 6e 64 20 2e 20 24 |ll)`.+. |find . $|
|00001700| 66 6f 6c 6c 6f 77 20 2d | 6e 61 6d 65 20 6e 65 74 |follow -|name net|
|00001710| 64 62 2e 68 20 2d 70 72 | 69 6e 74 20 32 3e 2f 64 |db.h -pr|int 2>/d|
|00001720| 65 76 2f 6e 75 6c 6c 29 | 60 0a 20 20 20 69 66 20 |ev/null)|`. if |
|00001730| 5b 20 22 24 66 69 6c 65 | 22 20 3d 20 22 22 20 5d |[ "$file|" = "" ]|
|00001740| 3b 20 74 68 65 6e 0a 20 | 20 20 20 20 65 63 68 6f |; then. | echo|
|00001750| 20 27 2a 2a 2a 20 52 65 | 6d 6f 76 65 20 23 69 6e | '*** Re|move #in|
|00001760| 63 6c 75 64 65 20 3c 6e | 65 74 64 62 2e 68 3e 20 |clude <n|etdb.h> |
|00001770| 66 72 6f 6d 20 61 6c 6c | 20 73 6f 75 72 63 65 20 |from all| source |
|00001780| 66 69 6c 65 73 27 0a 40 | 40 20 2d 35 37 32 2c 31 |files'.@|@ -572,1|
|00001790| 30 20 2b 35 38 30 2c 31 | 30 20 40 40 0a 20 69 66 |0 +580,1|0 @@. if|
|000017a0| 20 5b 20 21 20 2d 66 20 | 2f 75 73 72 2f 69 6e 63 | [ ! -f |/usr/inc|
|000017b0| 6c 75 64 65 2f 73 79 73 | 2f 73 6f 63 6b 65 74 2e |lude/sys|/socket.|
|000017c0| 68 20 5d 3b 20 74 68 65 | 6e 0a 20 20 20 66 69 6c |h ]; the|n. fil|
|000017d0| 65 3d 60 28 63 64 20 2f | 75 73 72 2f 69 6e 63 6c |e=`(cd /|usr/incl|
|000017e0| 75 64 65 3b 5c 0a 2d 09 | 20 66 69 6e 64 20 2e 20 |ude;\.-.| find . |
|000017f0| 2d 6e 61 6d 65 20 73 6f | 63 6b 65 74 2e 68 20 2d |-name so|cket.h -|
|00001800| 70 72 69 6e 74 20 32 3e | 2f 64 65 76 2f 6e 75 6c |print 2>|/dev/nul|
|00001810| 6c 29 60 0a 2b 09 20 66 | 69 6e 64 20 2e 20 24 66 |l)`.+. f|ind . $f|
|00001820| 6f 6c 6c 6f 77 20 2d 6e | 61 6d 65 20 73 6f 63 6b |ollow -n|ame sock|
|00001830| 65 74 2e 68 20 2d 70 72 | 69 6e 74 20 32 3e 2f 64 |et.h -pr|int 2>/d|
|00001840| 65 76 2f 6e 75 6c 6c 29 | 60 0a 20 20 20 69 66 20 |ev/null)|`. if |
|00001850| 5b 20 22 24 66 69 6c 65 | 22 20 3d 20 22 22 20 5d |[ "$file|" = "" ]|
|00001860| 3b 20 74 68 65 6e 0a 20 | 20 20 20 20 74 63 70 5f |; then. | tcp_|
|00001870| 69 70 3d 6e 6f 24 7b 6b | 6e 6f 77 6e 5f 70 6f 72 |ip=no${k|nown_por|
|00001880| 74 3a 2d 27 3b 20 63 6f | 6d 70 69 6c 65 20 77 69 |t:-'; co|mpile wi|
|00001890| 74 68 20 2d 44 4e 4f 5f | 54 43 50 5f 49 50 3b 20 |th -DNO_|TCP_IP; |
|000018a0| 74 68 65 20 73 79 73 74 | 65 6d 20 6d 61 69 6c 6d |the syst|em mailm|
|000018b0| 65 74 68 6f 64 20 6d 61 | 79 20 6e 6f 74 20 62 65 |ethod ma|y not be|
|000018c0| 20 75 73 65 64 27 7d 0a | 20 20 20 65 6c 73 65 0a | used'}.| else.|
|000018d0| 20 20 20 20 20 66 69 6c | 65 3d 60 65 63 68 6f 20 | fil|e=`echo |
|000018e0| 24 66 69 6c 65 20 7c 20 | 61 77 6b 20 27 7b 20 70 |$file | |awk '{ p|
|000018f0| 72 69 6e 74 20 24 31 20 | 7d 27 60 0a 2d 20 20 20 |rint $1 |}'`.- |
|00001900| 20 65 63 68 6f 20 5c 2a | 5c 2a 5c 2a 20 43 6f 6d | echo \*|\*\* Com|
|00001910| 70 69 6c 65 20 77 69 74 | 68 20 2d 49 2f 75 73 72 |pile wit|h -I/usr|
|00001920| 2f 73 65 72 76 65 72 60 | 64 69 72 6e 61 6d 20 24 |/server`|dirnam $|
|00001930| 66 69 6c 65 20 7c 20 73 | 65 64 20 27 73 2f 5c 2e |file | s|ed 's/\.|
|00001940| 2f 2f 67 27 20 7c 5c 0a | 2b 20 20 20 20 65 63 68 |//g' |\.|+ ech|
|00001950| 6f 20 5c 2a 5c 2a 5c 2a | 20 43 6f 6d 70 69 6c 65 |o \*\*\*| Compile|
|00001960| 20 77 69 74 68 20 2d 49 | 2f 75 73 72 2f 69 6e 63 | with -I|/usr/inc|
|00001970| 6c 75 64 65 60 64 69 72 | 6e 61 6d 20 24 66 69 6c |lude`dir|nam $fil|
|00001980| 65 20 7c 20 73 65 64 20 | 27 73 2f 5c 2e 2f 2f 67 |e | sed |'s/\.//g|
|00001990| 27 20 7c 5c 0a 20 73 65 | 64 20 27 73 2f 5c 2f 73 |' |\. se|d 's/\/s|
|000019a0| 79 73 2f 2f 67 27 60 0a | 20 20 20 20 20 65 63 68 |ys//g'`.| ech|
|000019b0| 6f 20 24 66 69 6c 65 20 | 7c 20 67 72 65 70 20 27 |o $file || grep '|
|000019c0| 73 79 73 2f 73 6f 63 6b | 65 74 2e 68 27 20 3e 20 |sys/sock|et.h' > |
|000019d0| 2f 64 65 76 2f 6e 75 6c | 6c 20 32 3e 26 31 0a 40 |/dev/nul|l 2>&1.@|
|000019e0| 40 20 2d 38 36 33 2c 35 | 20 2b 38 37 31 2c 35 20 |@ -863,5| +871,5 |
|000019f0| 40 40 0a 20 20 20 65 63 | 68 6f 20 79 65 73 0a 20 |@@. ec|ho yes. |
|00001a00| 65 6c 73 65 0a 2d 20 20 | 66 6f 72 20 69 20 69 6e |else.- |for i in|
|00001a10| 20 60 28 63 64 20 2f 75 | 73 72 2f 69 6e 63 6c 75 | `(cd /u|sr/inclu|
|00001a20| 64 65 3b 20 66 69 6e 64 | 20 2e 20 2d 70 72 69 6e |de; find| . -prin|
|00001a30| 74 20 32 3e 2f 64 65 76 | 2f 6e 75 6c 6c 29 60 3b |t 2>/dev|/null)`;|
|00001a40| 20 64 6f 0a 2b 20 20 66 | 6f 72 20 69 20 69 6e 20 | do.+ f|or i in |
|00001a50| 60 28 63 64 20 2f 75 73 | 72 2f 69 6e 63 6c 75 64 |`(cd /us|r/includ|
|00001a60| 65 3b 20 66 69 6e 64 20 | 2e 20 24 66 6f 6c 6c 6f |e; find |. $follo|
|00001a70| 77 20 2d 70 72 69 6e 74 | 20 32 3e 2f 64 65 76 2f |w -print| 2>/dev/|
|00001a80| 6e 75 6c 6c 29 60 3b 20 | 64 6f 0a 20 20 20 20 20 |null)`; |do. |
|00001a90| 67 72 65 70 20 4f 5f 4e | 44 45 4c 41 59 20 2f 75 |grep O_N|DELAY /u|
|00001aa0| 73 72 2f 69 6e 63 6c 75 | 64 65 2f 24 69 20 3e 20 |sr/inclu|de/$i > |
|00001ab0| 2f 64 65 76 2f 6e 75 6c | 6c 20 32 3e 26 31 0a 20 |/dev/nul|l 2>&1. |
|00001ac0| 20 20 20 20 69 66 20 5b | 20 24 3f 20 2d 65 71 20 | if [| $? -eq |
|00001ad0| 30 20 5d 3b 20 74 68 65 | 6e 0a 40 40 20 2d 38 39 |0 ]; the|n.@@ -89|
|00001ae0| 36 2c 35 20 2b 39 30 34 | 2c 35 20 40 40 0a 20 20 |6,5 +904|,5 @@. |
|00001af0| 20 65 63 68 6f 20 79 65 | 73 24 7b 6b 6e 6f 77 6e | echo ye|s${known|
|00001b00| 5f 70 6f 72 74 3a 2d 27 | 3b 20 6d 61 6b 65 20 73 |_port:-'|; make s|
|00001b10| 75 72 65 20 4e 4f 5f 4c | 4f 43 4b 53 20 69 73 20 |ure NO_L|OCKS is |
|00001b20| 4e 4f 54 20 64 65 66 69 | 6e 65 64 20 69 6e 20 73 |NOT defi|ned in s|
|00001b30| 72 63 2f 64 65 66 73 2e | 68 27 7d 0a 20 65 6c 73 |rc/defs.|h'}. els|
|00001b40| 65 0a 2d 20 20 66 6f 72 | 20 69 20 69 6e 20 60 28 |e.- for| i in `(|
|00001b50| 63 64 20 2f 75 73 72 2f | 69 6e 63 6c 75 64 65 3b |cd /usr/|include;|
|00001b60| 20 66 69 6e 64 20 2e 20 | 2d 70 72 69 6e 74 20 32 | find . |-print 2|
|00001b70| 3e 2f 64 65 76 2f 6e 75 | 6c 6c 29 60 3b 20 64 6f |>/dev/nu|ll)`; do|
|00001b80| 0a 2b 20 20 66 6f 72 20 | 69 20 69 6e 20 60 28 63 |.+ for |i in `(c|
|00001b90| 64 20 2f 75 73 72 2f 69 | 6e 63 6c 75 64 65 3b 20 |d /usr/i|nclude; |
|00001ba0| 66 69 6e 64 20 2e 20 24 | 66 6f 6c 6c 6f 77 20 2d |find . $|follow -|
|00001bb0| 70 72 69 6e 74 20 32 3e | 2f 64 65 76 2f 6e 75 6c |print 2>|/dev/nul|
|00001bc0| 6c 29 60 3b 20 64 6f 0a | 20 20 20 20 20 67 72 65 |l)`; do.| gre|
|00001bd0| 70 20 46 5f 54 4c 4f 43 | 4b 20 2f 75 73 72 2f 69 |p F_TLOC|K /usr/i|
|00001be0| 6e 63 6c 75 64 65 2f 24 | 69 20 3e 20 2f 64 65 76 |nclude/$|i > /dev|
|00001bf0| 2f 6e 75 6c 6c 20 32 3e | 26 31 0a 20 20 20 20 20 |/null 2>|&1. |
|00001c00| 69 66 20 5b 20 24 3f 20 | 2d 65 71 20 30 20 5d 3b |if [ $? |-eq 0 ];|
|00001c10| 20 74 68 65 6e 0a 3d 3d | 3d 20 64 69 66 66 73 20 | then.==|= diffs |
|00001c20| 3d 3d 3d 0a 0a 43 68 65 | 65 72 73 2c 0a 2d 2d 20 |===..Che|ers,.-- |
|00001c30| 70 69 0a 0a | |pi.. | |
+--------+-------------------------+-------------------------+--------+--------+