home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text, with overstriking
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 73 6f 75 72 63 65 73 | 2e 75 6e 69 78 0a 46 72 |.sources|.unix.Fr|
|00000020| 6f 6d 3a 20 74 73 63 68 | 75 64 69 6e 40 63 75 69 |om: tsch|udin@cui|
|00000030| 2e 75 6e 69 67 65 2e 63 | 68 20 28 43 68 72 69 73 |.unige.c|h (Chris|
|00000040| 74 69 61 6e 20 54 73 63 | 68 75 64 69 6e 29 0a 53 |tian Tsc|hudin).S|
|00000050| 75 62 6a 65 63 74 3a 20 | 76 32 38 69 30 35 32 3a |ubject: |v28i052:|
|00000060| 20 6d 30 20 2d 20 61 20 | 6d 65 73 73 65 6e 67 65 | m0 - a |messenge|
|00000070| 72 20 65 78 65 63 75 74 | 69 6f 6e 20 65 6e 76 69 |r execut|ion envi|
|00000080| 72 6f 6e 6d 65 6e 74 2c | 20 50 61 72 74 30 32 2f |ronment,| Part02/|
|00000090| 31 32 0a 52 65 66 65 72 | 65 6e 63 65 73 3a 20 3c |12.Refer|ences: <|
|000000a0| 31 2e 37 37 30 39 31 37 | 34 37 38 2e 31 39 32 37 |1.770917|478.1927|
|000000b0| 37 40 67 77 2e 68 6f 6d | 65 2e 76 69 78 2e 63 6f |7@gw.hom|e.vix.co|
|000000c0| 6d 3e 0a 53 65 6e 64 65 | 72 3a 20 75 6e 69 78 2d |m>.Sende|r: unix-|
|000000d0| 73 6f 75 72 63 65 73 2d | 6d 6f 64 65 72 61 74 6f |sources-|moderato|
|000000e0| 72 40 67 77 2e 68 6f 6d | 65 2e 76 69 78 2e 63 6f |r@gw.hom|e.vix.co|
|000000f0| 6d 0a 41 70 70 72 6f 76 | 65 64 3a 20 76 69 78 69 |m.Approv|ed: vixi|
|00000100| 65 40 67 77 2e 68 6f 6d | 65 2e 76 69 78 2e 63 6f |e@gw.hom|e.vix.co|
|00000110| 6d 0a 0a 53 75 62 6d 69 | 74 74 65 64 2d 42 79 3a |m..Submi|tted-By:|
|00000120| 20 74 73 63 68 75 64 69 | 6e 40 63 75 69 2e 75 6e | tschudi|n@cui.un|
|00000130| 69 67 65 2e 63 68 20 28 | 43 68 72 69 73 74 69 61 |ige.ch (|Christia|
|00000140| 6e 20 54 73 63 68 75 64 | 69 6e 29 0a 50 6f 73 74 |n Tschud|in).Post|
|00000150| 69 6e 67 2d 4e 75 6d 62 | 65 72 3a 20 56 6f 6c 75 |ing-Numb|er: Volu|
|00000160| 6d 65 20 32 38 2c 20 49 | 73 73 75 65 20 35 32 0a |me 28, I|ssue 52.|
|00000170| 41 72 63 68 69 76 65 2d | 4e 61 6d 65 3a 20 6d 30 |Archive-|Name: m0|
|00000180| 2f 70 61 72 74 30 32 0a | 0a 23 21 20 2f 62 69 6e |/part02.|.#! /bin|
|00000190| 2f 73 68 0a 23 20 54 68 | 69 73 20 69 73 20 61 20 |/sh.# Th|is is a |
|000001a0| 73 68 65 6c 6c 20 61 72 | 63 68 69 76 65 2e 20 20 |shell ar|chive. |
|000001b0| 52 65 6d 6f 76 65 20 61 | 6e 79 74 68 69 6e 67 20 |Remove a|nything |
|000001c0| 62 65 66 6f 72 65 20 74 | 68 69 73 20 6c 69 6e 65 |before t|his line|
|000001d0| 2c 20 74 68 65 6e 20 75 | 6e 70 61 63 6b 0a 23 20 |, then u|npack.# |
|000001e0| 69 74 20 62 79 20 73 61 | 76 69 6e 67 20 69 74 20 |it by sa|ving it |
|000001f0| 69 6e 74 6f 20 61 20 66 | 69 6c 65 20 61 6e 64 20 |into a f|ile and |
|00000200| 74 79 70 69 6e 67 20 22 | 73 68 20 66 69 6c 65 22 |typing "|sh file"|
|00000210| 2e 20 20 54 6f 20 6f 76 | 65 72 77 72 69 74 65 20 |. To ov|erwrite |
|00000220| 65 78 69 73 74 69 6e 67 | 0a 23 20 66 69 6c 65 73 |existing|.# files|
|00000230| 2c 20 74 79 70 65 20 22 | 73 68 20 66 69 6c 65 20 |, type "|sh file |
|00000240| 2d 63 22 2e 20 20 59 6f | 75 20 63 61 6e 20 61 6c |-c". Yo|u can al|
|00000250| 73 6f 20 66 65 65 64 20 | 74 68 69 73 20 61 73 20 |so feed |this as |
|00000260| 73 74 61 6e 64 61 72 64 | 20 69 6e 70 75 74 20 76 |standard| input v|
|00000270| 69 61 0a 23 20 75 6e 73 | 68 61 72 2c 20 6f 72 20 |ia.# uns|har, or |
|00000280| 62 79 20 74 79 70 69 6e | 67 20 22 73 68 20 3c 66 |by typin|g "sh <f|
|00000290| 69 6c 65 22 2c 20 65 2e | 67 2e 2e 20 20 49 66 20 |ile", e.|g.. If |
|000002a0| 74 68 69 73 20 61 72 63 | 68 69 76 65 20 69 73 20 |this arc|hive is |
|000002b0| 63 6f 6d 70 6c 65 74 65 | 2c 20 79 6f 75 0a 23 20 |complete|, you.# |
|000002c0| 77 69 6c 6c 20 73 65 65 | 20 74 68 65 20 66 6f 6c |will see| the fol|
|000002d0| 6c 6f 77 69 6e 67 20 6d | 65 73 73 61 67 65 20 61 |lowing m|essage a|
|000002e0| 74 20 74 68 65 20 65 6e | 64 3a 0a 23 09 09 22 45 |t the en|d:.#.."E|
|000002f0| 6e 64 20 6f 66 20 61 72 | 63 68 69 76 65 20 32 20 |nd of ar|chive 2 |
|00000300| 28 6f 66 20 31 32 29 2e | 22 0a 23 20 43 6f 6e 74 |(of 12).|".# Cont|
|00000310| 65 6e 74 73 3a 20 20 46 | 49 4c 45 53 2e 64 6f 63 |ents: F|ILES.doc|
|00000320| 20 6c 5f 61 72 72 61 79 | 2e 63 20 6c 5f 63 68 6b | l_array|.c l_chk|
|00000330| 73 75 6d 2e 63 20 6c 5f | 66 6f 72 6d 61 74 2e 63 |sum.c l_|format.c|
|00000340| 20 6c 5f 69 6e 63 6f 6d | 2e 63 0a 23 20 20 20 6c | l_incom|.c.# l|
|00000350| 5f 69 6e 69 74 2e 63 20 | 6c 5f 6d 69 73 63 2e 63 |_init.c |l_misc.c|
|00000360| 20 6c 6f 6e 67 64 69 63 | 74 2e 6d 30 20 6d 30 2e | longdic|t.m0 m0.|
|00000370| 31 20 6d 30 73 74 72 69 | 70 2e 6d 61 6e 20 6d 30 |1 m0stri|p.man m0|
|00000380| 75 63 2e 31 20 6f 5f 64 | 69 63 74 2e 63 0a 23 20 |uc.1 o_d|ict.c.# |
|00000390| 20 20 6f 5f 69 6e 69 74 | 2e 63 20 6f 5f 6d 73 67 | o_init|.c o_msg|
|000003a0| 72 2e 63 20 73 74 64 2e | 68 0a 23 20 57 72 61 70 |r.c std.|h.# Wrap|
|000003b0| 70 65 64 20 62 79 20 74 | 73 63 68 75 64 69 6e 40 |ped by t|schudin@|
|000003c0| 63 75 69 73 75 6e 66 20 | 6f 6e 20 4d 6f 6e 20 4a |cuisunf |on Mon J|
|000003d0| 75 6e 20 20 36 20 31 33 | 3a 32 36 3a 30 30 20 31 |un 6 13|:26:00 1|
|000003e0| 39 39 34 0a 50 41 54 48 | 3d 2f 62 69 6e 3a 2f 75 |994.PATH|=/bin:/u|
|000003f0| 73 72 2f 62 69 6e 3a 2f | 75 73 72 2f 75 63 62 20 |sr/bin:/|usr/ucb |
|00000400| 3b 20 65 78 70 6f 72 74 | 20 50 41 54 48 0a 69 66 |; export| PATH.if|
|00000410| 20 74 65 73 74 20 2d 66 | 20 27 46 49 4c 45 53 2e | test -f| 'FILES.|
|00000420| 64 6f 63 27 20 2d 61 20 | 22 24 7b 31 7d 22 20 21 |doc' -a |"${1}" !|
|00000430| 3d 20 22 2d 63 22 20 3b | 20 74 68 65 6e 20 0a 20 |= "-c" ;| then . |
|00000440| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 57 69 6c 6c | echo sh|ar: Will|
|00000450| 20 6e 6f 74 20 63 6c 6f | 62 62 65 72 20 65 78 69 | not clo|bber exi|
|00000460| 73 74 69 6e 67 20 66 69 | 6c 65 20 5c 22 27 46 49 |sting fi|le \"'FI|
|00000470| 4c 45 53 2e 64 6f 63 27 | 5c 22 0a 65 6c 73 65 0a |LES.doc'|\".else.|
|00000480| 65 63 68 6f 20 73 68 61 | 72 3a 20 45 78 74 72 61 |echo sha|r: Extra|
|00000490| 63 74 69 6e 67 20 5c 22 | 27 46 49 4c 45 53 2e 64 |cting \"|'FILES.d|
|000004a0| 6f 63 27 5c 22 20 5c 28 | 32 38 39 30 20 63 68 61 |oc'\" \(|2890 cha|
|000004b0| 72 61 63 74 65 72 73 5c | 29 0a 73 65 64 20 22 73 |racters\|).sed "s|
|000004c0| 2f 5e 58 2f 2f 22 20 3e | 27 46 49 4c 45 53 2e 64 |/^X//" >|'FILES.d|
|000004d0| 6f 63 27 20 3c 3c 27 45 | 4e 44 5f 4f 46 5f 46 49 |oc' <<'E|ND_OF_FI|
|000004e0| 4c 45 27 0a 58 23 20 46 | 49 4c 45 53 2e 64 6f 63 |LE'.X# F|ILES.doc|
|000004f0| 0a 58 23 20 63 68 72 69 | 73 74 69 61 6e 20 74 73 |.X# chri|stian ts|
|00000500| 63 68 75 64 69 6e 2c 20 | 6d 61 79 20 31 39 39 34 |chudin, |may 1994|
|00000510| 0a 58 0a 58 0a 58 6d 61 | 69 6e 20 43 20 73 6f 75 |.X.X.Xma|in C sou|
|00000520| 72 63 65 20 66 69 6c 65 | 73 3a 0a 58 20 20 6d 30 |rce file|s:.X m0|
|00000530| 2e 63 09 09 73 74 61 6e | 64 61 6c 6f 6e 65 20 4d |.c..stan|dalone M|
|00000540| 30 20 70 6c 61 74 66 6f | 72 6d 20 28 73 65 72 76 |0 platfo|rm (serv|
|00000550| 65 72 20 77 69 74 68 20 | 55 44 50 20 61 6e 64 20 |er with |UDP and |
|00000560| 4e 49 54 20 63 68 61 6e | 6e 65 6c 29 0a 58 20 20 |NIT chan|nel).X |
|00000570| 6d 30 63 2e 63 09 09 61 | 20 4d 30 20 73 65 72 76 |m0c.c..a| M0 serv|
|00000580| 65 72 20 77 69 74 68 20 | 61 20 6c 6f 63 61 6c 20 |er with |a local |
|00000590| 63 6f 6e 73 6f 6c 65 0a | 58 20 20 6d 30 75 63 2e |console.|X m0uc.|
|000005a0| 63 09 61 20 72 65 6d 6f | 74 65 20 63 6f 6e 73 6f |c.a remo|te conso|
|000005b0| 6c 65 20 63 6f 6e 74 61 | 63 74 69 6e 67 20 74 68 |le conta|cting th|
|000005c0| 65 20 4d 30 20 73 65 72 | 76 65 72 20 76 69 61 20 |e M0 ser|ver via |
|000005d0| 55 44 50 0a 58 20 20 6d | 30 73 74 72 69 70 2e 63 |UDP.X m|0strip.c|
|000005e0| 09 61 20 70 72 65 70 72 | 6f 63 65 73 73 6f 72 20 |.a prepr|ocessor |
|000005f0| 74 68 61 74 20 72 65 6d | 6f 76 65 73 20 63 6f 6d |that rem|oves com|
|00000600| 6d 65 6e 74 73 20 61 6e | 64 20 62 6c 61 6e 6b 73 |ments an|d blanks|
|00000610| 20 66 72 6f 6d 0a 58 09 | 09 4d 30 20 73 6f 75 72 | from.X.|.M0 sour|
|00000620| 63 65 73 20 28 75 73 65 | 64 20 62 79 20 6d 30 2e |ces (use|d by m0.|
|00000630| 63 2c 20 6d 30 75 63 2e | 63 20 61 6e 64 20 6d 30 |c, m0uc.|c and m0|
|00000640| 63 2e 63 29 0a 58 0a 58 | 68 65 61 64 65 72 20 66 |c.c).X.X|header f|
|00000650| 69 6c 65 73 3a 0a 58 20 | 20 63 5f 70 72 6f 74 6f |iles:.X | c_proto|
|00000660| 2e 68 09 66 75 6e 63 74 | 69 6f 6e 20 70 72 6f 74 |.h.funct|ion prot|
|00000670| 6f 74 79 70 65 73 20 61 | 6e 64 20 64 61 74 61 20 |otypes a|nd data |
|00000680| 64 65 63 6c 61 72 61 74 | 69 6f 6e 73 20 66 6f 72 |declarat|ions for|
|00000690| 20 63 68 61 6e 6e 65 6c | 73 0a 58 20 20 63 68 6b | channel|s.X chk|
|000006a0| 73 75 6d 2e 68 09 66 75 | 6e 63 74 69 6f 6e 20 70 |sum.h.fu|nction p|
|000006b0| 72 6f 74 6f 74 79 70 65 | 20 66 6f 72 20 43 43 49 |rototype| for CCI|
|000006c0| 54 54 2d 31 36 20 63 68 | 65 63 6b 73 75 6d 6d 69 |TT-16 ch|ecksummi|
|000006d0| 6e 67 0a 58 20 20 63 6f | 70 79 72 67 68 74 2e 68 |ng.X co|pyrght.h|
|000006e0| 09 6d 79 20 63 6f 70 79 | 72 69 67 68 74 20 73 74 |.my copy|right st|
|000006f0| 72 69 6e 67 0a 58 20 20 | 65 6c 65 6d 65 6e 74 2e |ring.X |element.|
|00000700| 68 09 64 61 74 61 20 73 | 74 72 75 63 74 75 72 65 |h.data s|tructure|
|00000710| 73 20 66 6f 72 20 4d 30 | 20 64 61 74 61 20 74 79 |s for M0| data ty|
|00000720| 70 65 73 0a 58 20 20 65 | 72 72 6f 72 2e 68 09 64 |pes.X e|rror.h.d|
|00000730| 65 66 69 6e 69 74 69 6f | 6e 20 6f 66 20 65 72 72 |efinitio|n of err|
|00000740| 6f 72 20 6e 75 6d 62 65 | 72 73 0a 58 20 20 68 64 |or numbe|rs.X hd|
|00000750| 72 2e 68 09 09 74 68 65 | 20 68 65 61 64 65 72 20 |r.h..the| header |
|00000760| 66 6f 72 6d 61 74 20 6f | 66 20 61 20 6d 65 73 73 |format o|f a mess|
|00000770| 65 6e 67 65 72 20 70 61 | 63 6b 65 74 0a 58 20 20 |enger pa|cket.X |
|00000780| 6c 5f 70 72 6f 74 6f 2e | 68 09 6c 6f 77 2d 6c 65 |l_proto.|h.low-le|
|00000790| 76 65 6c 20 66 75 6e 63 | 74 69 6f 6e 20 70 72 6f |vel func|tion pro|
|000007a0| 74 6f 74 79 70 65 73 20 | 61 6e 64 20 64 61 74 61 |totypes |and data|
|000007b0| 20 64 65 63 6c 61 72 61 | 74 69 6f 6e 73 0a 58 20 | declara|tions.X |
|000007c0| 20 6f 5f 70 72 6f 74 6f | 2e 68 09 66 75 6e 63 74 | o_proto|.h.funct|
|000007d0| 69 6f 6e 20 70 72 6f 74 | 6f 74 79 70 65 73 20 61 |ion prot|otypes a|
|000007e0| 6e 64 20 64 61 74 61 20 | 64 65 63 6c 61 72 61 74 |nd data |declarat|
|000007f0| 69 6f 6e 73 20 66 6f 72 | 20 4d 30 20 6f 70 65 72 |ions for| M0 oper|
|00000800| 61 74 6f 72 73 0a 58 20 | 20 70 72 6f 63 2e 68 09 |ators.X | proc.h.|
|00000810| 64 61 74 61 20 73 74 72 | 75 63 74 75 72 65 73 20 |data str|uctures |
|00000820| 6f 66 20 61 20 6d 65 73 | 73 65 6e 67 65 72 20 70 |of a mes|senger p|
|00000830| 72 6f 63 65 73 73 0a 58 | 20 20 73 74 64 2e 68 09 |rocess.X| std.h.|
|00000840| 09 6d 61 63 68 69 6e 65 | 20 64 65 70 65 6e 64 65 |.machine| depende|
|00000850| 6e 64 20 64 65 63 6c 61 | 72 61 74 69 6f 6e 73 20 |nd decla|rations |
|00000860| 28 64 61 74 61 20 74 79 | 70 65 73 2c 20 63 68 61 |(data ty|pes, cha|
|00000870| 6e 6e 65 6c 73 29 0a 58 | 20 20 73 74 72 62 75 66 |nnels).X| strbuf|
|00000880| 2e 68 09 61 20 28 76 65 | 72 79 20 73 69 6d 70 6c |.h.a (ve|ry simpl|
|00000890| 65 29 20 73 65 6c 66 20 | 65 78 74 65 6e 64 69 6e |e) self |extendin|
|000008a0| 67 20 63 68 61 72 20 73 | 74 72 69 6e 67 20 62 75 |g char s|tring bu|
|000008b0| 66 66 65 72 20 70 61 63 | 6b 61 67 65 0a 58 0a 58 |ffer pac|kage.X.X|
|000008c0| 0a 58 6c 6f 77 2d 6c 65 | 76 65 6c 20 43 20 63 6f |.Xlow-le|vel C co|
|000008d0| 64 65 3a 0a 58 20 20 6c | 5f 61 72 72 61 79 2e 63 |de:.X l|_array.c|
|000008e0| 0a 58 20 20 6c 5f 63 68 | 6b 73 75 6d 2e 63 0a 58 |.X l_ch|ksum.c.X|
|000008f0| 20 20 6c 5f 63 6f 6d 70 | 61 74 2e 63 0a 58 20 20 | l_comp|at.c.X |
|00000900| 6c 5f 64 69 63 74 2e 63 | 0a 58 20 20 6c 5f 64 75 |l_dict.c|.X l_du|
|00000910| 6d 70 2e 63 0a 58 20 20 | 6c 5f 65 6c 65 6d 6e 74 |mp.c.X |l_elemnt|
|00000920| 2e 63 0a 58 20 20 6c 5f | 66 6f 72 6d 61 74 2e 63 |.c.X l_|format.c|
|00000930| 0a 58 20 20 6c 5f 69 6e | 63 6f 6d 2e 63 0a 58 20 |.X l_in|com.c.X |
|00000940| 20 6c 5f 69 6e 69 74 2e | 63 0a 58 20 20 6c 5f 6d | l_init.|c.X l_m|
|00000950| 69 73 63 2e 63 0a 58 20 | 20 6c 5f 6e 61 6d 65 2e |isc.c.X | l_name.|
|00000960| 63 0a 58 20 20 6c 5f 70 | 72 6f 63 2e 63 0a 58 20 |c.X l_p|roc.c.X |
|00000970| 20 6c 5f 73 74 72 2e 63 | 0a 58 20 20 6c 5f 73 74 | l_str.c|.X l_st|
|00000980| 72 62 75 66 2e 63 0a 58 | 20 20 6c 5f 74 69 6d 65 |rbuf.c.X| l_time|
|00000990| 2e 63 0a 58 0a 58 0a 58 | 43 20 63 6f 64 65 20 66 |.c.X.X.X|C code f|
|000009a0| 6f 72 20 73 75 62 6d 69 | 73 73 69 6f 6e 20 63 68 |or submi|ssion ch|
|000009b0| 61 6e 6e 65 6c 73 3a 0a | 58 20 20 63 5f 63 6f 6e |annels:.|X c_con|
|000009c0| 2e 63 09 6c 6f 63 61 6c | 20 63 6f 6e 73 6f 6c 65 |.c.local| console|
|000009d0| 20 28 73 74 64 69 6f 29 | 20 63 68 61 6e 6e 65 6c | (stdio)| channel|
|000009e0| 0a 58 20 20 63 5f 66 69 | 6c 65 2e 63 09 6c 6f 63 |.X c_fi|le.c.loc|
|000009f0| 61 6c 20 63 68 61 6e 6e | 65 6c 20 69 6e 74 6f 20 |al chann|el into |
|00000a00| 66 69 6c 65 73 0a 58 20 | 20 63 5f 6e 69 74 2e 63 |files.X | c_nit.c|
|00000a10| 09 72 6f 75 74 69 6e 65 | 73 20 66 6f 72 20 53 55 |.routine|s for SU|
|00000a20| 4e 27 73 20 28 65 74 68 | 65 72 6e 65 74 29 20 6e |N's (eth|ernet) n|
|00000a30| 65 74 77 6f 72 6b 20 69 | 6e 74 65 72 66 61 63 65 |etwork i|nterface|
|00000a40| 20 74 61 70 0a 58 20 20 | 63 5f 75 64 70 2e 63 09 | tap.X |c_udp.c.|
|00000a50| 72 6f 75 74 69 6e 65 73 | 20 66 6f 72 20 74 68 65 |routines| for the|
|00000a60| 20 73 75 62 6d 69 73 73 | 69 6f 6e 20 61 6e 64 20 | submiss|ion and |
|00000a70| 72 65 63 65 70 74 69 6f | 6e 20 6f 66 20 55 44 50 |receptio|n of UDP|
|00000a80| 20 70 61 63 6b 65 74 73 | 0a 58 0a 58 0a 58 43 20 | packets|.X.X.XC |
|00000a90| 63 6f 64 65 20 66 6f 72 | 20 4d 30 20 6f 70 65 72 |code for| M0 oper|
|00000aa0| 61 74 6f 72 73 20 61 6e | 64 20 74 68 65 20 69 6e |ators an|d the in|
|00000ab0| 74 65 72 70 72 65 74 65 | 72 3a 0a 58 20 20 69 6e |terprete|r:.X in|
|00000ac0| 74 65 72 70 2e 63 0a 58 | 20 20 6f 5f 61 72 69 74 |terp.c.X| o_arit|
|00000ad0| 68 2e 63 0a 58 20 20 6f | 5f 61 72 72 61 79 2e 63 |h.c.X o|_array.c|
|00000ae0| 0a 58 20 20 6f 5f 61 74 | 74 72 2e 63 0a 58 20 20 |.X o_at|tr.c.X |
|00000af0| 6f 5f 63 68 61 6e 2e 63 | 0a 58 20 20 6f 5f 63 74 |o_chan.c|.X o_ct|
|00000b00| 72 6c 2e 63 0a 58 20 20 | 6f 5f 64 69 63 74 2e 63 |rl.c.X |o_dict.c|
|00000b10| 0a 58 20 20 6f 5f 69 6e | 69 74 2e 63 0a 58 20 20 |.X o_in|it.c.X |
|00000b20| 6f 5f 6d 69 73 63 2e 63 | 0a 58 20 20 6f 5f 6d 73 |o_misc.c|.X o_ms|
|00000b30| 67 72 2e 63 0a 58 20 20 | 6f 5f 73 74 61 63 6b 2e |gr.c.X |o_stack.|
|00000b40| 63 0a 58 20 20 6f 5f 73 | 74 72 69 6e 67 2e 63 0a |c.X o_s|tring.c.|
|00000b50| 58 20 20 6f 5f 74 79 70 | 65 2e 63 0a 58 0a 58 0a |X o_typ|e.c.X.X.|
|00000b60| 58 4d 30 20 73 6f 75 72 | 63 65 20 66 69 6c 65 73 |XM0 sour|ce files|
|00000b70| 3a 0a 58 20 20 63 6f 6e | 73 5f 69 6e 69 2e 6d 30 |:.X con|s_ini.m0|
|00000b80| 09 4d 30 20 63 6f 64 65 | 20 66 6f 72 20 74 68 65 |.M0 code| for the|
|00000b90| 20 63 6f 6e 73 6f 6c 65 | 20 70 72 6f 67 72 61 6d | console| program|
|00000ba0| 73 20 28 6d 30 63 20 61 | 6e 64 20 6d 30 75 63 29 |s (m0c a|nd m0uc)|
|00000bb0| 0a 58 20 20 6c 6f 6e 67 | 64 69 63 74 2e 6d 30 09 |.X long|dict.m0.|
|00000bc0| 64 65 66 69 6e 69 74 69 | 6f 6e 73 20 6f 66 20 6c |definiti|ons of l|
|00000bd0| 6f 6e 67 20 63 6f 6d 6d | 61 6e 64 73 20 28 69 6e |ong comm|ands (in|
|00000be0| 63 6c 75 64 65 64 20 62 | 79 20 73 74 61 72 74 75 |cluded b|y startu|
|00000bf0| 70 2e 6d 30 29 0a 58 20 | 20 66 72 61 67 6d 65 6e |p.m0).X | fragmen|
|00000c00| 74 2e 6d 30 09 4d 30 20 | 73 6f 75 72 63 65 73 20 |t.m0.M0 |sources |
|00000c10| 66 6f 72 20 61 20 66 72 | 61 67 6d 65 6e 74 61 74 |for a fr|agmentat|
|00000c20| 69 6f 6e 20 28 2b 74 65 | 73 74 69 6e 67 29 20 70 |ion (+te|sting) p|
|00000c30| 72 6f 63 65 64 75 72 65 | 0a 58 20 20 66 72 61 67 |rocedure|.X frag|
|00000c40| 5f 30 2e 6d 30 20 20 20 | 20 20 61 75 78 69 6c 69 |_0.m0 | auxili|
|00000c50| 61 72 79 20 66 69 6c 65 | 20 66 6f 72 20 66 72 61 |ary file| for fra|
|00000c60| 67 6d 65 6e 74 2e 6d 30 | 0a 58 20 20 6e 65 69 67 |gment.m0|.X neig|
|00000c70| 68 62 6f 72 2e 6d 30 09 | 63 6f 6d 70 6c 65 74 65 |hbor.m0.|complete|
|00000c80| 20 4d 30 20 73 6f 75 72 | 63 65 73 20 6f 66 20 61 | M0 sour|ces of a|
|00000c90| 6e 20 65 78 70 6c 6f 72 | 61 74 69 6f 6e 20 6d 65 |n explor|ation me|
|00000ca0| 73 73 65 6e 67 65 72 0a | 58 20 20 6e 65 69 67 68 |ssenger.|X neigh|
|00000cb0| 5f 65 78 2e 6d 30 09 61 | 75 78 69 6c 69 61 72 79 |_ex.m0.a|uxiliary|
|00000cc0| 20 66 69 6c 65 20 66 6f | 72 20 6e 65 69 67 68 62 | file fo|r neighb|
|00000cd0| 6f 72 2e 6d 30 0a 58 20 | 20 73 74 61 72 74 75 70 |or.m0.X | startup|
|00000ce0| 2e 6d 30 09 4d 30 20 73 | 74 61 72 74 75 70 20 63 |.m0.M0 s|tartup c|
|00000cf0| 6f 64 65 20 66 6f 72 20 | 70 6c 61 74 66 6f 72 6d |ode for |platform|
|00000d00| 73 20 28 6d 30 20 61 6e | 64 20 6d 30 63 29 0a 58 |s (m0 an|d m0c).X|
|00000d10| 0a 58 0a 58 6d 61 6e 20 | 70 61 67 65 73 3a 0a 58 |.X.Xman |pages:.X|
|00000d20| 20 20 6d 30 2e 31 09 09 | 6e 72 6f 66 66 20 66 6f | m0.1..|nroff fo|
|00000d30| 72 6d 61 74 0a 58 20 20 | 6d 30 63 2e 31 09 09 6e |rmat.X |m0c.1..n|
|00000d40| 72 6f 66 66 20 66 6f 72 | 6d 61 74 0a 58 20 20 6d |roff for|mat.X m|
|00000d50| 30 63 2e 6d 61 6e 20 20 | 09 66 6f 72 6d 61 74 74 |0c.man |.formatt|
|00000d60| 65 64 20 41 53 43 49 49 | 0a 58 20 20 6d 30 73 74 |ed ASCII|.X m0st|
|00000d70| 72 69 70 2e 31 09 6e 72 | 6f 66 66 20 66 6f 72 6d |rip.1.nr|off form|
|00000d80| 61 74 0a 58 20 20 6d 30 | 73 74 72 69 70 2e 6d 61 |at.X m0|strip.ma|
|00000d90| 6e 09 66 6f 72 6d 61 74 | 74 65 64 20 41 53 43 49 |n.format|ted ASCI|
|00000da0| 49 0a 58 20 20 6d 30 75 | 63 2e 31 09 6e 72 6f 66 |I.X m0u|c.1.nrof|
|00000db0| 66 20 66 6f 72 6d 61 74 | 0a 58 0a 58 0a 58 6d 69 |f format|.X.X.Xmi|
|00000dc0| 73 63 65 6c 6c 61 6e 65 | 6f 75 73 20 66 69 6c 65 |scellane|ous file|
|00000dd0| 73 3a 0a 58 20 20 46 49 | 4c 45 53 2e 64 6f 63 09 |s:.X FI|LES.doc.|
|00000de0| 74 68 69 73 20 66 69 6c | 65 0a 58 20 20 4c 49 43 |this fil|e.X LIC|
|00000df0| 45 4e 53 45 09 74 68 65 | 20 47 4e 55 20 47 65 6e |ENSE.the| GNU Gen|
|00000e00| 65 72 61 6c 20 50 75 62 | 6c 69 63 20 4c 69 63 65 |eral Pub|lic Lice|
|00000e10| 6e 73 65 0a 58 20 20 4d | 30 2e 70 73 09 09 69 6e |nse.X M|0.ps..in|
|00000e20| 74 72 6f 64 75 63 74 69 | 6f 6e 20 74 6f 20 61 6e |troducti|on to an|
|00000e30| 64 20 63 6f 6d 70 6c 65 | 74 65 20 64 65 73 63 72 |d comple|te descr|
|00000e40| 69 70 74 69 6f 6e 20 6f | 66 20 4d 30 20 28 69 6e |iption o|f M0 (in|
|00000e50| 20 50 6f 73 74 53 63 72 | 69 70 74 29 0a 58 20 20 | PostScr|ipt).X |
|00000e60| 4d 41 4e 55 41 4c 2e 64 | 6f 63 09 61 6e 20 41 53 |MANUAL.d|oc.an AS|
|00000e70| 43 49 49 20 66 69 6c 65 | 20 65 78 70 6c 61 69 6e |CII file| explain|
|00000e80| 69 6e 67 20 6d 6f 73 74 | 20 6f 66 20 74 68 65 20 |ing most| of the |
|00000e90| 4d 30 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 73 0a |M0 instr|uctions.|
|00000ea0| 58 20 20 4d 61 6b 65 66 | 69 6c 65 09 6d 61 69 6e |X Makef|ile.main|
|00000eb0| 20 6d 61 6b 65 66 69 6c | 65 0a 58 20 20 52 45 41 | makefil|e.X REA|
|00000ec0| 44 4d 45 09 61 20 62 72 | 69 65 66 20 77 65 6c 63 |DME.a br|ief welc|
|00000ed0| 6f 6d 65 20 6d 65 73 73 | 61 67 65 20 61 6e 64 20 |ome mess|age and |
|00000ee0| 69 6e 73 74 61 6c 6c 61 | 74 69 6f 6e 20 67 75 69 |installa|tion gui|
|00000ef0| 64 65 0a 58 20 20 54 4f | 44 4f 2e 64 6f 63 09 77 |de.X TO|DO.doc.w|
|00000f00| 69 73 68 20 6c 69 73 74 | 2c 20 69 6d 70 72 6f 76 |ish list|, improv|
|00000f10| 65 6d 65 6e 74 73 2c 20 | 6b 6e 6f 77 6e 20 62 75 |ements, |known bu|
|00000f20| 67 73 20 65 74 63 0a 58 | 0a 58 20 20 6d 61 6b 65 |gs etc.X|.X make|
|00000f30| 66 69 6c 65 2e 61 6c 6c | 09 6d 61 6b 65 66 69 6c |file.all|.makefil|
|00000f40| 65 20 63 6f 6d 6d 6f 6e | 20 74 6f 20 61 6c 6c 20 |e common| to all |
|00000f50| 63 6f 6d 70 69 6c 61 74 | 69 6f 6e 20 70 6c 61 74 |compilat|ion plat|
|00000f60| 66 6f 72 6d 73 0a 58 20 | 20 6d 61 6b 65 66 69 6c |forms.X | makefil|
|00000f70| 65 2e 64 6f 73 09 4d 53 | 2f 44 4f 53 20 73 70 65 |e.dos.MS|/DOS spe|
|00000f80| 63 69 66 69 63 20 64 65 | 66 69 6e 69 74 69 6f 6e |cific de|finition|
|00000f90| 73 0a 58 20 20 6d 61 6b | 65 66 69 6c 65 2e 6f 73 |s.X mak|efile.os|
|00000fa0| 66 09 44 45 43 2f 4f 53 | 46 20 73 70 65 63 69 66 |f.DEC/OS|F specif|
|00000fb0| 69 63 20 64 65 66 69 6e | 69 74 69 6f 6e 73 0a 58 |ic defin|itions.X|
|00000fc0| 20 20 6d 61 6b 65 66 69 | 6c 65 2e 73 6f 34 09 53 | makefi|le.so4.S|
|00000fd0| 55 4e 20 4f 53 20 34 2e | 78 2e 79 20 73 70 65 63 |UN OS 4.|x.y spec|
|00000fe0| 69 66 69 63 20 64 65 66 | 69 6e 69 74 69 6f 6e 73 |ific def|initions|
|00000ff0| 0a 58 20 20 6d 61 6b 65 | 66 69 6c 65 2e 73 6f 35 |.X make|file.so5|
|00001000| 09 53 55 4e 20 4f 53 20 | 35 2e 78 2e 79 20 73 70 |.SUN OS |5.x.y sp|
|00001010| 65 63 69 66 69 63 20 64 | 65 66 69 6e 69 74 69 6f |ecific d|efinitio|
|00001020| 6e 73 0a 58 20 20 6d 61 | 6b 65 66 69 6c 65 2e 75 |ns.X ma|kefile.u|
|00001030| 6c 74 09 44 45 43 2f 55 | 6c 74 72 69 78 20 73 70 |lt.DEC/U|ltrix sp|
|00001040| 65 63 69 66 69 63 20 64 | 65 66 69 6e 69 74 69 6f |ecific d|efinitio|
|00001050| 6e 73 0a 58 20 20 6d 61 | 6b 65 66 69 6c 65 2e 75 |ns.X ma|kefile.u|
|00001060| 6e 78 09 64 65 66 69 6e | 69 74 69 6f 6e 73 20 63 |nx.defin|itions c|
|00001070| 6f 6d 6d 6f 6e 20 74 6f | 20 61 6c 6c 20 55 4e 49 |ommon to| all UNI|
|00001080| 58 20 70 6c 61 74 66 6f | 72 6d 73 0a 58 0a 58 23 |X platfo|rms.X.X#|
|00001090| 20 65 6f 66 0a 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 | eof.END|_OF_FILE|
|000010a0| 0a 69 66 20 74 65 73 74 | 20 32 38 39 30 20 2d 6e |.if test| 2890 -n|
|000010b0| 65 20 60 77 63 20 2d 63 | 20 3c 27 46 49 4c 45 53 |e `wc -c| <'FILES|
|000010c0| 2e 64 6f 63 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |.doc'`; |then. |
|000010d0| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 46 | echo sh|ar: \"'F|
|000010e0| 49 4c 45 53 2e 64 6f 63 | 27 5c 22 20 75 6e 70 61 |ILES.doc|'\" unpa|
|000010f0| 63 6b 65 64 20 77 69 74 | 68 20 77 72 6f 6e 67 20 |cked wit|h wrong |
|00001100| 73 69 7a 65 21 0a 66 69 | 0a 23 20 65 6e 64 20 6f |size!.fi|.# end o|
|00001110| 66 20 27 46 49 4c 45 53 | 2e 64 6f 63 27 0a 66 69 |f 'FILES|.doc'.fi|
|00001120| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 6c 5f 61 |.if test| -f 'l_a|
|00001130| 72 72 61 79 2e 63 27 20 | 2d 61 20 22 24 7b 31 7d |rray.c' |-a "${1}|
|00001140| 22 20 21 3d 20 22 2d 63 | 22 20 3b 20 74 68 65 6e |" != "-c|" ; then|
|00001150| 20 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 57 | . echo| shar: W|
|00001160| 69 6c 6c 20 6e 6f 74 20 | 63 6c 6f 62 62 65 72 20 |ill not |clobber |
|00001170| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|00001180| 27 6c 5f 61 72 72 61 79 | 2e 63 27 5c 22 0a 65 6c |'l_array|.c'\".el|
|00001190| 73 65 0a 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |se.echo |shar: Ex|
|000011a0| 74 72 61 63 74 69 6e 67 | 20 5c 22 27 6c 5f 61 72 |tracting| \"'l_ar|
|000011b0| 72 61 79 2e 63 27 5c 22 | 20 5c 28 33 32 37 34 20 |ray.c'\"| \(3274 |
|000011c0| 63 68 61 72 61 63 74 65 | 72 73 5c 29 0a 73 65 64 |characte|rs\).sed|
|000011d0| 20 22 73 2f 5e 58 2f 2f | 22 20 3e 27 6c 5f 61 72 | "s/^X//|" >'l_ar|
|000011e0| 72 61 79 2e 63 27 20 3c | 3c 27 45 4e 44 5f 4f 46 |ray.c' <|<'END_OF|
|000011f0| 5f 46 49 4c 45 27 0a 58 | 2f 2a 0a 58 09 61 72 72 |_FILE'.X|/*.X.arr|
|00001200| 61 79 2e 63 0a 58 2a 2f | 0a 58 2f 2a 20 20 43 6f |ay.c.X*/|.X/* Co|
|00001210| 70 79 72 69 67 68 74 20 | 28 63 29 20 31 39 39 34 |pyright |(c) 1994|
|00001220| 20 43 68 72 69 73 74 69 | 61 6e 20 46 2e 20 54 73 | Christi|an F. Ts|
|00001230| 63 68 75 64 69 6e 2e 20 | 41 6c 6c 20 72 69 67 68 |chudin. |All righ|
|00001240| 74 73 20 72 65 73 65 72 | 76 65 64 2e 0a 58 0a 58 |ts reser|ved..X.X|
|00001250| 20 20 20 20 44 69 73 74 | 72 69 62 75 74 65 64 20 | Dist|ributed |
|00001260| 75 6e 64 65 72 20 74 68 | 65 20 74 65 72 6d 73 20 |under th|e terms |
|00001270| 6f 66 20 74 68 65 20 47 | 4e 55 20 47 65 6e 65 72 |of the G|NU Gener|
|00001280| 61 6c 20 50 75 62 6c 69 | 63 20 4c 69 63 65 6e 73 |al Publi|c Licens|
|00001290| 65 0a 58 20 20 20 20 76 | 65 72 73 69 6f 6e 20 32 |e.X v|ersion 2|
|000012a0| 20 6f 66 20 6a 75 6e 65 | 20 31 39 39 31 20 61 73 | of june| 1991 as|
|000012b0| 20 70 75 62 6c 69 73 68 | 65 64 20 62 79 20 74 68 | publish|ed by th|
|000012c0| 65 20 46 72 65 65 20 53 | 6f 66 74 77 61 72 65 0a |e Free S|oftware.|
|000012d0| 58 20 20 20 20 46 6f 75 | 6e 64 61 74 69 6f 6e 2c |X Fou|ndation,|
|000012e0| 20 49 6e 63 2e 0a 58 0a | 58 09 09 20 20 20 20 20 | Inc..X.|X.. |
|000012f0| 54 68 69 73 20 66 69 6c | 65 20 69 73 20 70 61 72 |This fil|e is par|
|00001300| 74 20 6f 66 20 4d 30 2e | 0a 58 0a 58 4d 30 20 69 |t of M0.|.X.XM0 i|
|00001310| 73 20 64 69 73 74 72 69 | 62 75 74 65 64 20 69 6e |s distri|buted in|
|00001320| 20 74 68 65 20 68 6f 70 | 65 20 74 68 61 74 20 69 | the hop|e that i|
|00001330| 74 20 77 69 6c 6c 20 62 | 65 20 75 73 65 66 75 6c |t will b|e useful|
|00001340| 2c 20 62 75 74 20 57 49 | 54 48 4f 55 54 20 41 4e |, but WI|THOUT AN|
|00001350| 59 0a 58 57 41 52 52 41 | 4e 54 59 2e 20 20 4e 6f |Y.XWARRA|NTY. No|
|00001360| 20 61 75 74 68 6f 72 20 | 6f 72 20 64 69 73 74 72 | author |or distr|
|00001370| 69 62 75 74 6f 72 20 61 | 63 63 65 70 74 73 20 72 |ibutor a|ccepts r|
|00001380| 65 73 70 6f 6e 73 69 62 | 69 6c 69 74 79 20 74 6f |esponsib|ility to|
|00001390| 20 61 6e 79 6f 6e 65 20 | 66 6f 72 0a 58 74 68 65 | anyone |for.Xthe|
|000013a0| 20 63 6f 6e 73 65 71 75 | 65 6e 63 65 73 20 6f 66 | consequ|ences of|
|000013b0| 20 75 73 69 6e 67 20 69 | 74 20 6f 72 20 66 6f 72 | using i|t or for|
|000013c0| 20 77 68 65 74 68 65 72 | 20 69 74 20 73 65 72 76 | whether| it serv|
|000013d0| 65 73 20 61 6e 79 20 70 | 61 72 74 69 63 75 6c 61 |es any p|articula|
|000013e0| 72 0a 58 70 75 72 70 6f | 73 65 20 6f 72 20 77 6f |r.Xpurpo|se or wo|
|000013f0| 72 6b 73 20 61 74 20 61 | 6c 6c 2c 20 75 6e 6c 65 |rks at a|ll, unle|
|00001400| 73 73 20 68 65 20 73 61 | 79 73 20 73 6f 20 69 6e |ss he sa|ys so in|
|00001410| 20 77 72 69 74 69 6e 67 | 2e 20 20 52 65 66 65 72 | writing|. Refer|
|00001420| 20 74 6f 20 74 68 65 20 | 47 4e 55 0a 58 47 65 6e | to the |GNU.XGen|
|00001430| 65 72 61 6c 20 50 75 62 | 6c 69 63 20 4c 69 63 65 |eral Pub|lic Lice|
|00001440| 6e 73 65 20 66 6f 72 20 | 66 75 6c 6c 20 64 65 74 |nse for |full det|
|00001450| 61 69 6c 73 2e 20 0a 58 | 0a 58 45 76 65 72 79 6f |ails. .X|.XEveryo|
|00001460| 6e 65 20 69 73 20 67 72 | 61 6e 74 65 64 20 70 65 |ne is gr|anted pe|
|00001470| 72 6d 69 73 73 69 6f 6e | 20 74 6f 20 63 6f 70 79 |rmission| to copy|
|00001480| 2c 20 6d 6f 64 69 66 79 | 20 61 6e 64 20 72 65 64 |, modify| and red|
|00001490| 69 73 74 72 69 62 75 74 | 65 20 4d 30 2c 20 62 75 |istribut|e M0, bu|
|000014a0| 74 0a 58 6f 6e 6c 79 20 | 75 6e 64 65 72 20 74 68 |t.Xonly |under th|
|000014b0| 65 20 63 6f 6e 64 69 74 | 69 6f 6e 73 20 64 65 73 |e condit|ions des|
|000014c0| 63 72 69 62 65 64 20 69 | 6e 20 74 68 65 20 47 4e |cribed i|n the GN|
|000014d0| 55 20 47 65 6e 65 72 61 | 6c 20 50 75 62 6c 69 63 |U Genera|l Public|
|000014e0| 20 4c 69 63 65 6e 73 65 | 2e 20 0a 58 41 20 63 6f | License|. .XA co|
|000014f0| 70 79 20 6f 66 20 74 68 | 69 73 20 6c 69 63 65 6e |py of th|is licen|
|00001500| 73 65 20 69 73 20 73 75 | 70 70 6f 73 65 64 20 74 |se is su|pposed t|
|00001510| 6f 20 68 61 76 65 20 62 | 65 65 6e 20 67 69 76 65 |o have b|een give|
|00001520| 6e 20 74 6f 20 79 6f 75 | 20 61 6c 6f 6e 67 20 77 |n to you| along w|
|00001530| 69 74 68 0a 58 4d 30 20 | 73 6f 20 79 6f 75 20 63 |ith.XM0 |so you c|
|00001540| 61 6e 20 6b 6e 6f 77 20 | 79 6f 75 72 20 72 69 67 |an know |your rig|
|00001550| 68 74 73 20 61 6e 64 20 | 72 65 73 70 6f 6e 73 69 |hts and |responsi|
|00001560| 62 69 6c 69 74 69 65 73 | 2e 20 20 49 74 20 73 68 |bilities|. It sh|
|00001570| 6f 75 6c 64 20 62 65 20 | 69 6e 20 61 0a 58 66 69 |ould be |in a.Xfi|
|00001580| 6c 65 20 6e 61 6d 65 64 | 20 4c 49 43 45 4e 53 45 |le named| LICENSE|
|00001590| 2e 20 20 41 6d 6f 6e 67 | 20 6f 74 68 65 72 20 74 |. Among| other t|
|000015a0| 68 69 6e 67 73 2c 20 74 | 68 65 20 63 6f 70 79 72 |hings, t|he copyr|
|000015b0| 69 67 68 74 20 6e 6f 74 | 69 63 65 20 61 6e 64 20 |ight not|ice and |
|000015c0| 74 68 69 73 0a 58 6e 6f | 74 69 63 65 20 6d 75 73 |this.Xno|tice mus|
|000015d0| 74 20 62 65 20 70 72 65 | 73 65 72 76 65 64 20 6f |t be pre|served o|
|000015e0| 6e 20 61 6c 6c 20 63 6f | 70 69 65 73 2e 20 20 2a |n all co|pies. *|
|000015f0| 2f 0a 58 0a 58 23 69 6e | 63 6c 75 64 65 20 22 6c |/.X.X#in|clude "l|
|00001600| 5f 70 72 6f 74 6f 2e 68 | 22 0a 58 0a 58 0a 58 65 |_proto.h|".X.X.Xe|
|00001610| 69 6e 64 65 78 0a 58 6e | 65 77 5f 61 72 72 61 79 |index.Xn|ew_array|
|00001620| 28 6d 70 72 6f 63 20 70 | 2c 20 75 69 6e 74 20 6c |(mproc p|, uint l|
|00001630| 65 6e 29 0a 58 7b 0a 58 | 09 65 69 6e 64 65 78 20 |en).X{.X|.eindex |
|00001640| 65 69 20 3d 20 6e 65 77 | 5f 65 6c 65 6d 65 6e 74 |ei = new|_element|
|00001650| 28 70 2c 20 54 5f 41 52 | 52 41 59 29 2c 20 2a 69 |(p, T_AR|RAY), *i|
|00001660| 70 3b 0a 58 09 65 70 74 | 72 20 65 70 3b 0a 58 0a |p;.X.ept|r ep;.X.|
|00001670| 58 09 69 66 20 28 21 65 | 69 20 29 0a 58 09 09 72 |X.if (!e|i ).X..r|
|00001680| 65 74 75 72 6e 20 30 3b | 0a 58 0a 58 09 65 70 20 |eturn 0;|.X.X.ep |
|00001690| 3d 20 65 61 64 64 72 28 | 70 2c 65 69 29 3b 0a 58 |= eaddr(|p,ei);.X|
|000016a0| 09 69 66 20 28 6c 65 6e | 29 20 7b 0a 58 09 09 65 |.if (len|) {.X..e|
|000016b0| 70 2d 3e 56 2e 61 72 72 | 2e 61 20 3d 20 28 65 69 |p->V.arr|.a = (ei|
|000016c0| 6e 64 65 78 2a 29 20 6d | 61 6c 6c 6f 63 28 6c 65 |ndex*) m|alloc(le|
|000016d0| 6e 20 2a 20 73 69 7a 65 | 6f 66 28 65 69 6e 64 65 |n * size|of(einde|
|000016e0| 78 29 29 3b 0a 58 09 09 | 69 66 20 28 21 65 70 2d |x));.X..|if (!ep-|
|000016f0| 3e 56 2e 61 72 72 2e 61 | 29 20 7b 0a 58 09 09 09 |>V.arr.a|) {.X...|
|00001700| 66 72 65 65 5f 65 6c 65 | 6d 65 6e 74 28 70 2c 65 |free_ele|ment(p,e|
|00001710| 69 29 3b 0a 58 09 09 09 | 72 65 74 75 72 6e 20 30 |i);.X...|return 0|
|00001720| 3b 0a 58 09 09 7d 0a 58 | 09 7d 0a 58 09 65 70 6c |;.X..}.X|.}.X.epl|
|00001730| 65 6e 28 65 70 29 20 3d | 20 6c 65 6e 3b 0a 58 09 |en(ep) =| len;.X.|
|00001740| 65 70 2d 3e 56 2e 61 72 | 72 2e 61 6c 65 6e 20 3d |ep->V.ar|r.alen =|
|00001750| 20 6c 65 6e 3b 0a 58 09 | 66 6f 72 20 28 69 70 20 | len;.X.|for (ip |
|00001760| 3d 20 65 70 2d 3e 56 2e | 61 72 72 2e 61 3b 20 6c |= ep->V.|arr.a; l|
|00001770| 65 6e 20 3e 20 30 3b 20 | 6c 65 6e 2d 2d 2c 20 69 |en > 0; |len--, i|
|00001780| 70 2b 2b 29 0a 58 09 09 | 2a 69 70 20 3d 20 6e 75 |p++).X..|*ip = nu|
|00001790| 6c 6c 5f 76 61 6c 3b 0a | 58 09 67 61 64 64 72 28 |ll_val;.|X.gaddr(|
|000017a0| 6e 75 6c 6c 5f 76 61 6c | 29 2d 3e 52 20 2b 3d 20 |null_val|)->R += |
|000017b0| 65 70 6c 65 6e 28 65 70 | 29 3b 0a 58 09 72 65 74 |eplen(ep|);.X.ret|
|000017c0| 75 72 6e 20 65 69 3b 0a | 58 7d 0a 58 0a 58 0a 58 |urn ei;.|X}.X.X.X|
|000017d0| 65 69 6e 64 65 78 0a 58 | 61 72 72 61 79 5f 67 65 |eindex.X|array_ge|
|000017e0| 74 28 6d 70 72 6f 63 20 | 70 2c 20 65 69 6e 64 65 |t(mproc |p, einde|
|000017f0| 78 20 61 2c 20 75 69 6e | 74 20 6f 66 66 73 29 0a |x a, uin|t offs).|
|00001800| 58 7b 0a 58 09 65 70 74 | 72 20 65 70 20 3d 20 65 |X{.X.ept|r ep = e|
|00001810| 61 64 64 72 28 70 2c 61 | 29 3b 0a 58 0a 58 09 69 |addr(p,a|);.X.X.i|
|00001820| 66 20 28 6f 66 66 73 3c | 30 20 7c 7c 20 6f 66 66 |f (offs<|0 || off|
|00001830| 73 20 3e 3d 20 65 70 6c | 65 6e 28 65 70 29 29 0a |s >= epl|en(ep)).|
|00001840| 58 09 09 72 65 74 75 72 | 6e 20 30 3b 0a 58 0a 58 |X..retur|n 0;.X.X|
|00001850| 09 69 66 20 28 65 70 61 | 74 74 72 28 65 70 29 26 |.if (epa|ttr(ep)&|
|00001860| 41 5f 53 55 42 29 0a 58 | 09 09 72 65 74 75 72 6e |A_SUB).X|..return|
|00001870| 20 61 72 72 61 79 5f 67 | 65 74 28 70 2c 20 65 70 | array_g|et(p, ep|
|00001880| 2d 3e 56 2e 73 75 62 2e | 65 2c 20 65 70 2d 3e 56 |->V.sub.|e, ep->V|
|00001890| 2e 73 75 62 2e 6f 66 66 | 73 65 74 20 2b 20 6f 66 |.sub.off|set + of|
|000018a0| 66 73 29 3b 0a 58 0a 58 | 09 72 65 74 75 72 6e 20 |fs);.X.X|.return |
|000018b0| 65 70 2d 3e 56 2e 61 72 | 72 2e 61 5b 6f 66 66 73 |ep->V.ar|r.a[offs|
|000018c0| 5d 3b 0a 58 7d 0a 58 0a | 58 0a 58 72 65 74 63 6f |];.X}.X.|X.Xretco|
|000018d0| 64 65 0a 58 61 72 72 61 | 79 5f 70 75 74 28 6d 70 |de.Xarra|y_put(mp|
|000018e0| 72 6f 63 20 70 2c 20 65 | 69 6e 64 65 78 20 61 2c |roc p, e|index a,|
|000018f0| 20 75 69 6e 74 20 6f 66 | 66 73 2c 20 65 69 6e 64 | uint of|fs, eind|
|00001900| 65 78 20 65 29 0a 58 7b | 0a 58 09 65 70 74 72 20 |ex e).X{|.X.eptr |
|00001910| 61 70 20 3d 20 65 61 64 | 64 72 28 70 2c 61 29 3b |ap = ead|dr(p,a);|
|00001920| 0a 58 0a 58 09 69 66 20 | 28 6f 66 66 73 3c 30 20 |.X.X.if |(offs<0 |
|00001930| 7c 7c 20 6f 66 66 73 20 | 3e 3d 20 65 70 6c 65 6e ||| offs |>= eplen|
|00001940| 28 61 70 29 29 0a 58 09 | 09 72 65 74 75 72 6e 20 |(ap)).X.|.return |
|00001950| 45 52 52 5f 52 41 4e 47 | 45 5f 43 48 45 43 4b 3b |ERR_RANG|E_CHECK;|
|00001960| 0a 58 0a 58 09 69 66 20 | 28 65 70 61 74 74 72 28 |.X.X.if |(epattr(|
|00001970| 61 70 29 26 41 5f 53 55 | 42 29 0a 58 09 09 72 65 |ap)&A_SU|B).X..re|
|00001980| 74 75 72 6e 20 61 72 72 | 61 79 5f 70 75 74 28 70 |turn arr|ay_put(p|
|00001990| 2c 20 61 70 2d 3e 56 2e | 73 75 62 2e 65 2c 20 61 |, ap->V.|sub.e, a|
|000019a0| 70 2d 3e 56 2e 73 75 62 | 2e 6f 66 66 73 65 74 20 |p->V.sub|.offset |
|000019b0| 2b 20 6f 66 66 73 2c 20 | 65 29 3b 0a 58 0a 58 09 |+ offs, |e);.X.X.|
|000019c0| 69 66 20 28 61 20 3c 20 | 30 29 20 7b 0a 58 09 09 |if (a < |0) {.X..|
|000019d0| 65 69 6e 64 65 78 20 65 | 32 20 3d 20 6d 61 6b 65 |eindex e|2 = make|
|000019e0| 5f 67 6c 6f 62 61 6c 28 | 70 2c 20 65 29 3b 0a 58 |_global(|p, e);.X|
|000019f0| 09 09 64 65 63 72 65 66 | 28 70 2c 20 65 29 3b 0a |..decref|(p, e);.|
|00001a00| 58 09 09 65 20 3d 20 65 | 32 3b 0a 58 09 7d 0a 58 |X..e = e|2;.X.}.X|
|00001a10| 09 64 65 63 72 65 66 28 | 70 2c 20 61 70 2d 3e 56 |.decref(|p, ap->V|
|00001a20| 2e 61 72 72 2e 61 5b 6f | 66 66 73 5d 29 3b 0a 58 |.arr.a[o|ffs]);.X|
|00001a30| 09 61 70 2d 3e 56 2e 61 | 72 72 2e 61 5b 6f 66 66 |.ap->V.a|rr.a[off|
|00001a40| 73 5d 20 3d 20 65 3b 0a | 58 09 72 65 74 75 72 6e |s] = e;.|X.return|
|00001a50| 20 4f 4b 3b 0a 58 7d 0a | 58 0a 58 2f 2a 20 6d 61 | OK;.X}.|X.X/* ma|
|00001a60| 6b 65 5f 61 72 72 61 79 | 20 64 6f 65 73 20 4e 4f |ke_array| does NO|
|00001a70| 54 20 69 6e 63 72 65 6d | 65 6e 74 20 74 68 65 20 |T increm|ent the |
|00001a80| 72 65 66 63 6f 75 6e 74 | 20 6f 66 20 74 68 65 20 |refcount| of the |
|00001a90| 69 6e 63 6c 75 64 65 64 | 20 6d 65 6d 62 65 72 73 |included| members|
|00001aa0| 20 2a 2f 0a 58 65 69 6e | 64 65 78 0a 58 6d 61 6b | */.Xein|dex.Xmak|
|00001ab0| 65 5f 61 72 72 61 79 28 | 6d 70 72 6f 63 20 70 2c |e_array(|mproc p,|
|00001ac0| 20 65 69 6e 64 65 78 20 | 2a 69 70 2c 20 75 69 6e | eindex |*ip, uin|
|00001ad0| 74 20 6c 65 6e 29 0a 58 | 7b 0a 58 09 65 69 6e 64 |t len).X|{.X.eind|
|00001ae0| 65 78 20 65 69 20 3d 20 | 6e 65 77 5f 65 6c 65 6d |ex ei = |new_elem|
|00001af0| 65 6e 74 28 70 2c 20 54 | 5f 41 52 52 41 59 29 2c |ent(p, T|_ARRAY),|
|00001b00| 20 2a 69 70 32 3b 0a 58 | 09 65 70 74 72 20 65 70 | *ip2;.X|.eptr ep|
|00001b10| 3b 0a 58 0a 58 09 69 66 | 20 28 21 65 69 20 29 0a |;.X.X.if| (!ei ).|
|00001b20| 58 09 09 72 65 74 75 72 | 6e 20 30 3b 0a 58 0a 58 |X..retur|n 0;.X.X|
|00001b30| 09 65 70 20 3d 20 65 61 | 64 64 72 28 70 2c 65 69 |.ep = ea|ddr(p,ei|
|00001b40| 29 3b 0a 58 09 69 66 20 | 28 6c 65 6e 29 20 7b 0a |);.X.if |(len) {.|
|00001b50| 58 09 09 69 6e 74 20 69 | 3b 0a 58 09 09 65 70 2d |X..int i|;.X..ep-|
|00001b60| 3e 56 2e 61 72 72 2e 61 | 20 3d 20 28 65 69 6e 64 |>V.arr.a| = (eind|
|00001b70| 65 78 2a 29 20 6d 61 6c | 6c 6f 63 28 6c 65 6e 20 |ex*) mal|loc(len |
|00001b80| 2a 20 73 69 7a 65 6f 66 | 28 65 69 6e 64 65 78 29 |* sizeof|(eindex)|
|00001b90| 29 3b 0a 58 09 09 69 66 | 20 28 21 65 70 2d 3e 56 |);.X..if| (!ep->V|
|00001ba0| 2e 61 72 72 2e 61 29 20 | 7b 0a 58 09 09 09 66 72 |.arr.a) |{.X...fr|
|00001bb0| 65 65 5f 65 6c 65 6d 65 | 6e 74 28 70 2c 65 69 29 |ee_eleme|nt(p,ei)|
|00001bc0| 3b 0a 58 09 09 09 72 65 | 74 75 72 6e 20 30 3b 0a |;.X...re|turn 0;.|
|00001bd0| 58 09 09 7d 0a 58 09 09 | 66 6f 72 20 28 69 3d 6c |X..}.X..|for (i=l|
|00001be0| 65 6e 2c 20 69 70 32 20 | 3d 20 65 70 2d 3e 56 2e |en, ip2 |= ep->V.|
|00001bf0| 61 72 72 2e 61 3b 20 69 | 20 3e 20 30 3b 20 69 2d |arr.a; i| > 0; i-|
|00001c00| 2d 29 0a 58 09 09 09 2a | 69 70 32 2b 2b 20 3d 20 |-).X...*|ip2++ = |
|00001c10| 2a 69 70 2b 2b 3b 0a 58 | 09 09 65 70 6c 65 6e 28 |*ip++;.X|..eplen(|
|00001c20| 65 70 29 20 3d 20 65 70 | 2d 3e 56 2e 61 72 72 2e |ep) = ep|->V.arr.|
|00001c30| 61 6c 65 6e 20 3d 20 6c | 65 6e 3b 0a 58 09 7d 0a |alen = l|en;.X.}.|
|00001c40| 58 09 72 65 74 75 72 6e | 20 65 69 3b 0a 58 7d 0a |X.return| ei;.X}.|
|00001c50| 58 0a 58 0a 58 2f 2a 20 | 73 68 6f 75 6c 64 20 62 |X.X.X/* |should b|
|00001c60| 65 20 63 61 6c 6c 65 64 | 20 62 79 20 66 72 65 65 |e called| by free|
|00001c70| 5f 65 6c 65 6d 65 6e 74 | 28 29 20 6f 6e 6c 79 21 |_element|() only!|
|00001c80| 20 2a 2f 0a 58 76 6f 69 | 64 0a 58 61 72 72 61 79 | */.Xvoi|d.Xarray|
|00001c90| 5f 66 72 65 65 28 6d 70 | 72 6f 63 20 70 2c 20 65 |_free(mp|roc p, e|
|00001ca0| 69 6e 64 65 78 20 65 69 | 29 0a 58 7b 0a 58 09 65 |index ei|).X{.X.e|
|00001cb0| 69 6e 64 65 78 20 2a 65 | 61 3b 0a 58 09 65 70 74 |index *e|a;.X.ept|
|00001cc0| 72 20 65 70 20 3d 20 65 | 61 64 64 72 28 70 2c 20 |r ep = e|addr(p, |
|00001cd0| 65 69 29 3b 0a 58 09 69 | 6e 74 20 69 3b 0a 58 0a |ei);.X.i|nt i;.X.|
|00001ce0| 58 09 65 70 74 79 70 65 | 28 65 70 29 20 3d 20 54 |X.eptype|(ep) = T|
|00001cf0| 5f 45 4d 50 54 59 3b 0a | 58 09 66 6f 72 20 28 69 |_EMPTY;.|X.for (i|
|00001d00| 3d 65 70 6c 65 6e 28 65 | 70 29 2c 20 65 61 20 3d |=eplen(e|p), ea =|
|00001d10| 20 65 70 2d 3e 56 2e 61 | 72 72 2e 61 3b 20 69 3e | ep->V.a|rr.a; i>|
|00001d20| 30 3b 20 69 2d 2d 2c 20 | 65 61 2b 2b 29 0a 58 09 |0; i--, |ea++).X.|
|00001d30| 09 69 66 20 28 2a 65 61 | 29 20 7b 0a 58 09 09 09 |.if (*ea|) {.X...|
|00001d40| 65 69 6e 64 65 78 20 65 | 20 3d 20 2a 65 61 3b 0a |eindex e| = *ea;.|
|00001d50| 58 09 09 09 2a 65 61 20 | 3d 20 30 3b 0a 58 09 09 |X...*ea |= 0;.X..|
|00001d60| 09 64 65 63 72 65 66 28 | 70 2c 20 65 29 3b 0a 58 |.decref(|p, e);.X|
|00001d70| 09 09 7d 0a 58 09 66 72 | 65 65 28 65 70 2d 3e 56 |..}.X.fr|ee(ep->V|
|00001d80| 2e 61 72 72 2e 61 29 3b | 0a 58 7d 0a 58 0a 58 0a |.arr.a);|.X}.X.X.|
|00001d90| 58 72 65 74 63 6f 64 65 | 0a 58 61 72 72 61 79 5f |Xretcode|.Xarray_|
|00001da0| 63 6f 70 79 28 6d 70 72 | 6f 63 20 70 2c 20 65 69 |copy(mpr|oc p, ei|
|00001db0| 6e 64 65 78 20 65 2c 20 | 65 70 74 72 20 66 72 6f |ndex e, |eptr fro|
|00001dc0| 6d 2c 20 65 70 74 72 20 | 74 6f 29 0a 58 7b 0a 58 |m, eptr |to).X{.X|
|00001dd0| 09 69 6e 74 20 69 20 3d | 20 65 70 6c 65 6e 28 66 |.int i =| eplen(f|
|00001de0| 72 6f 6d 29 3b 0a 58 09 | 65 69 6e 64 65 78 20 2a |rom);.X.|eindex *|
|00001df0| 69 70 20 3d 20 74 6f 2d | 3e 56 2e 61 72 72 2e 61 |ip = to-|>V.arr.a|
|00001e00| 20 3d 20 28 65 69 6e 64 | 65 78 2a 29 20 6d 61 6c | = (eind|ex*) mal|
|00001e10| 6c 6f 63 28 69 20 2a 20 | 73 69 7a 65 6f 66 28 65 |loc(i * |sizeof(e|
|00001e20| 69 6e 64 65 78 29 29 3b | 0a 58 09 69 6e 74 20 6f |index));|.X.int o|
|00001e30| 66 66 73 20 3d 20 30 3b | 0a 58 0a 58 09 69 66 20 |ffs = 0;|.X.X.if |
|00001e40| 28 21 69 70 29 0a 58 09 | 09 72 65 74 75 72 6e 20 |(!ip).X.|.return |
|00001e50| 45 52 52 5f 4d 41 4c 4c | 4f 43 5f 46 41 49 4c 45 |ERR_MALL|OC_FAILE|
|00001e60| 44 3b 0a 58 0a 58 09 77 | 68 69 6c 65 20 28 65 70 |D;.X.X.w|hile (ep|
|00001e70| 61 74 74 72 28 66 72 6f | 6d 29 20 26 20 41 5f 53 |attr(fro|m) & A_S|
|00001e80| 55 42 29 20 7b 0a 58 09 | 09 6f 66 66 73 20 2b 3d |UB) {.X.|.offs +=|
|00001e90| 20 66 72 6f 6d 2d 3e 56 | 2e 73 75 62 2e 6f 66 66 | from->V|.sub.off|
|00001ea0| 73 65 74 3b 0a 58 09 09 | 66 72 6f 6d 20 3d 20 65 |set;.X..|from = e|
|00001eb0| 61 64 64 72 28 70 2c 20 | 66 72 6f 6d 2d 3e 56 2e |addr(p, |from->V.|
|00001ec0| 73 75 62 2e 65 29 3b 0a | 58 09 7d 0a 58 0a 58 09 |sub.e);.|X.}.X.X.|
|00001ed0| 6d 65 6d 63 70 79 28 69 | 70 2c 20 66 72 6f 6d 2d |memcpy(i|p, from-|
|00001ee0| 3e 56 2e 61 72 72 2e 61 | 20 2b 20 6f 66 66 73 2c |>V.arr.a| + offs,|
|00001ef0| 20 69 20 2a 20 73 69 7a | 65 6f 66 28 65 69 6e 64 | i * siz|eof(eind|
|00001f00| 65 78 29 29 3b 0a 58 0a | 58 09 66 6f 72 20 28 3b |ex));.X.|X.for (;|
|00001f10| 20 69 20 3e 20 30 3b 20 | 69 2d 2d 2c 20 69 70 2b | i > 0; |i--, ip+|
|00001f20| 2b 29 0a 58 09 09 69 6e | 63 72 65 66 28 70 2c 2a |+).X..in|cref(p,*|
|00001f30| 69 70 29 3b 0a 58 0a 58 | 09 65 70 61 74 74 72 28 |ip);.X.X|.epattr(|
|00001f40| 74 6f 29 20 3d 20 41 5f | 41 4c 4c 3b 0a 58 09 72 |to) = A_|ALL;.X.r|
|00001f50| 65 74 75 72 6e 20 4f 4b | 3b 0a 58 7d 0a 58 0a 45 |eturn OK|;.X}.X.E|
|00001f60| 4e 44 5f 4f 46 5f 46 49 | 4c 45 0a 69 66 20 74 65 |ND_OF_FI|LE.if te|
|00001f70| 73 74 20 33 32 37 34 20 | 2d 6e 65 20 60 77 63 20 |st 3274 |-ne `wc |
|00001f80| 2d 63 20 3c 27 6c 5f 61 | 72 72 61 79 2e 63 27 60 |-c <'l_a|rray.c'`|
|00001f90| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|00001fa0| 73 68 61 72 3a 20 5c 22 | 27 6c 5f 61 72 72 61 79 |shar: \"|'l_array|
|00001fb0| 2e 63 27 5c 22 20 75 6e | 70 61 63 6b 65 64 20 77 |.c'\" un|packed w|
|00001fc0| 69 74 68 20 77 72 6f 6e | 67 20 73 69 7a 65 21 0a |ith wron|g size!.|
|00001fd0| 66 69 0a 23 20 65 6e 64 | 20 6f 66 20 27 6c 5f 61 |fi.# end| of 'l_a|
|00001fe0| 72 72 61 79 2e 63 27 0a | 66 69 0a 69 66 20 74 65 |rray.c'.|fi.if te|
|00001ff0| 73 74 20 2d 66 20 27 6c | 5f 63 68 6b 73 75 6d 2e |st -f 'l|_chksum.|
|00002000| 63 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |c' -a "$|{1}" != |
|00002010| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|00002020| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|00002030| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|00002040| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 6c 5f 63 68 |ing file| \"'l_ch|
|00002050| 6b 73 75 6d 2e 63 27 5c | 22 0a 65 6c 73 65 0a 65 |ksum.c'\|".else.e|
|00002060| 63 68 6f 20 73 68 61 72 | 3a 20 45 78 74 72 61 63 |cho shar|: Extrac|
|00002070| 74 69 6e 67 20 5c 22 27 | 6c 5f 63 68 6b 73 75 6d |ting \"'|l_chksum|
|00002080| 2e 63 27 5c 22 20 5c 28 | 33 35 30 30 20 63 68 61 |.c'\" \(|3500 cha|
|00002090| 72 61 63 74 65 72 73 5c | 29 0a 73 65 64 20 22 73 |racters\|).sed "s|
|000020a0| 2f 5e 58 2f 2f 22 20 3e | 27 6c 5f 63 68 6b 73 75 |/^X//" >|'l_chksu|
|000020b0| 6d 2e 63 27 20 3c 3c 27 | 45 4e 44 5f 4f 46 5f 46 |m.c' <<'|END_OF_F|
|000020c0| 49 4c 45 27 0a 58 2f 2a | 0a 58 09 63 68 6b 73 75 |ILE'.X/*|.X.chksu|
|000020d0| 6d 2e 63 0a 58 2a 2f 0a | 58 2f 2a 20 20 43 6f 70 |m.c.X*/.|X/* Cop|
|000020e0| 79 72 69 67 68 74 20 28 | 63 29 20 31 39 39 34 20 |yright (|c) 1994 |
|000020f0| 43 68 72 69 73 74 69 61 | 6e 20 46 2e 20 54 73 63 |Christia|n F. Tsc|
|00002100| 68 75 64 69 6e 2e 20 41 | 6c 6c 20 72 69 67 68 74 |hudin. A|ll right|
|00002110| 73 20 72 65 73 65 72 76 | 65 64 2e 0a 58 0a 58 20 |s reserv|ed..X.X |
|00002120| 20 20 20 44 69 73 74 72 | 69 62 75 74 65 64 20 75 | Distr|ibuted u|
|00002130| 6e 64 65 72 20 74 68 65 | 20 74 65 72 6d 73 20 6f |nder the| terms o|
|00002140| 66 20 74 68 65 20 47 4e | 55 20 47 65 6e 65 72 61 |f the GN|U Genera|
|00002150| 6c 20 50 75 62 6c 69 63 | 20 4c 69 63 65 6e 73 65 |l Public| License|
|00002160| 0a 58 20 20 20 20 76 65 | 72 73 69 6f 6e 20 32 20 |.X ve|rsion 2 |
|00002170| 6f 66 20 6a 75 6e 65 20 | 31 39 39 31 20 61 73 20 |of june |1991 as |
|00002180| 70 75 62 6c 69 73 68 65 | 64 20 62 79 20 74 68 65 |publishe|d by the|
|00002190| 20 46 72 65 65 20 53 6f | 66 74 77 61 72 65 0a 58 | Free So|ftware.X|
|000021a0| 20 20 20 20 46 6f 75 6e | 64 61 74 69 6f 6e 2c 20 | Foun|dation, |
|000021b0| 49 6e 63 2e 0a 58 0a 58 | 09 09 20 20 20 20 20 54 |Inc..X.X|.. T|
|000021c0| 68 69 73 20 66 69 6c 65 | 20 69 73 20 70 61 72 74 |his file| is part|
|000021d0| 20 6f 66 20 4d 30 2e 0a | 58 0a 58 4d 30 20 69 73 | of M0..|X.XM0 is|
|000021e0| 20 64 69 73 74 72 69 62 | 75 74 65 64 20 69 6e 20 | distrib|uted in |
|000021f0| 74 68 65 20 68 6f 70 65 | 20 74 68 61 74 20 69 74 |the hope| that it|
|00002200| 20 77 69 6c 6c 20 62 65 | 20 75 73 65 66 75 6c 2c | will be| useful,|
|00002210| 20 62 75 74 20 57 49 54 | 48 4f 55 54 20 41 4e 59 | but WIT|HOUT ANY|
|00002220| 0a 58 57 41 52 52 41 4e | 54 59 2e 20 20 4e 6f 20 |.XWARRAN|TY. No |
|00002230| 61 75 74 68 6f 72 20 6f | 72 20 64 69 73 74 72 69 |author o|r distri|
|00002240| 62 75 74 6f 72 20 61 63 | 63 65 70 74 73 20 72 65 |butor ac|cepts re|
|00002250| 73 70 6f 6e 73 69 62 69 | 6c 69 74 79 20 74 6f 20 |sponsibi|lity to |
|00002260| 61 6e 79 6f 6e 65 20 66 | 6f 72 0a 58 74 68 65 20 |anyone f|or.Xthe |
|00002270| 63 6f 6e 73 65 71 75 65 | 6e 63 65 73 20 6f 66 20 |conseque|nces of |
|00002280| 75 73 69 6e 67 20 69 74 | 20 6f 72 20 66 6f 72 20 |using it| or for |
|00002290| 77 68 65 74 68 65 72 20 | 69 74 20 73 65 72 76 65 |whether |it serve|
|000022a0| 73 20 61 6e 79 20 70 61 | 72 74 69 63 75 6c 61 72 |s any pa|rticular|
|000022b0| 0a 58 70 75 72 70 6f 73 | 65 20 6f 72 20 77 6f 72 |.Xpurpos|e or wor|
|000022c0| 6b 73 20 61 74 20 61 6c | 6c 2c 20 75 6e 6c 65 73 |ks at al|l, unles|
|000022d0| 73 20 68 65 20 73 61 79 | 73 20 73 6f 20 69 6e 20 |s he say|s so in |
|000022e0| 77 72 69 74 69 6e 67 2e | 20 20 52 65 66 65 72 20 |writing.| Refer |
|000022f0| 74 6f 20 74 68 65 20 47 | 4e 55 0a 58 47 65 6e 65 |to the G|NU.XGene|
|00002300| 72 61 6c 20 50 75 62 6c | 69 63 20 4c 69 63 65 6e |ral Publ|ic Licen|
|00002310| 73 65 20 66 6f 72 20 66 | 75 6c 6c 20 64 65 74 61 |se for f|ull deta|
|00002320| 69 6c 73 2e 20 0a 58 0a | 58 45 76 65 72 79 6f 6e |ils. .X.|XEveryon|
|00002330| 65 20 69 73 20 67 72 61 | 6e 74 65 64 20 70 65 72 |e is gra|nted per|
|00002340| 6d 69 73 73 69 6f 6e 20 | 74 6f 20 63 6f 70 79 2c |mission |to copy,|
|00002350| 20 6d 6f 64 69 66 79 20 | 61 6e 64 20 72 65 64 69 | modify |and redi|
|00002360| 73 74 72 69 62 75 74 65 | 20 4d 30 2c 20 62 75 74 |stribute| M0, but|
|00002370| 0a 58 6f 6e 6c 79 20 75 | 6e 64 65 72 20 74 68 65 |.Xonly u|nder the|
|00002380| 20 63 6f 6e 64 69 74 69 | 6f 6e 73 20 64 65 73 63 | conditi|ons desc|
|00002390| 72 69 62 65 64 20 69 6e | 20 74 68 65 20 47 4e 55 |ribed in| the GNU|
|000023a0| 20 47 65 6e 65 72 61 6c | 20 50 75 62 6c 69 63 20 | General| Public |
|000023b0| 4c 69 63 65 6e 73 65 2e | 20 0a 58 41 20 63 6f 70 |License.| .XA cop|
|000023c0| 79 20 6f 66 20 74 68 69 | 73 20 6c 69 63 65 6e 73 |y of thi|s licens|
|000023d0| 65 20 69 73 20 73 75 70 | 70 6f 73 65 64 20 74 6f |e is sup|posed to|
|000023e0| 20 68 61 76 65 20 62 65 | 65 6e 20 67 69 76 65 6e | have be|en given|
|000023f0| 20 74 6f 20 79 6f 75 20 | 61 6c 6f 6e 67 20 77 69 | to you |along wi|
|00002400| 74 68 0a 58 4d 30 20 73 | 6f 20 79 6f 75 20 63 61 |th.XM0 s|o you ca|
|00002410| 6e 20 6b 6e 6f 77 20 79 | 6f 75 72 20 72 69 67 68 |n know y|our righ|
|00002420| 74 73 20 61 6e 64 20 72 | 65 73 70 6f 6e 73 69 62 |ts and r|esponsib|
|00002430| 69 6c 69 74 69 65 73 2e | 20 20 49 74 20 73 68 6f |ilities.| It sho|
|00002440| 75 6c 64 20 62 65 20 69 | 6e 20 61 0a 58 66 69 6c |uld be i|n a.Xfil|
|00002450| 65 20 6e 61 6d 65 64 20 | 4c 49 43 45 4e 53 45 2e |e named |LICENSE.|
|00002460| 20 20 41 6d 6f 6e 67 20 | 6f 74 68 65 72 20 74 68 | Among |other th|
|00002470| 69 6e 67 73 2c 20 74 68 | 65 20 63 6f 70 79 72 69 |ings, th|e copyri|
|00002480| 67 68 74 20 6e 6f 74 69 | 63 65 20 61 6e 64 20 74 |ght noti|ce and t|
|00002490| 68 69 73 0a 58 6e 6f 74 | 69 63 65 20 6d 75 73 74 |his.Xnot|ice must|
|000024a0| 20 62 65 20 70 72 65 73 | 65 72 76 65 64 20 6f 6e | be pres|erved on|
|000024b0| 20 61 6c 6c 20 63 6f 70 | 69 65 73 2e 20 20 2a 2f | all cop|ies. */|
|000024c0| 0a 58 0a 58 23 69 6e 63 | 6c 75 64 65 20 22 63 68 |.X.X#inc|lude "ch|
|000024d0| 6b 73 75 6d 2e 68 22 0a | 58 0a 58 0a 58 75 73 68 |ksum.h".|X.X.Xush|
|000024e0| 6f 72 74 0a 58 63 72 63 | 5f 63 63 69 74 74 28 62 |ort.Xcrc|_ccitt(b|
|000024f0| 79 74 65 70 74 72 20 73 | 2c 20 75 69 6e 74 20 6c |yteptr s|, uint l|
|00002500| 65 6e 29 0a 58 7b 0a 58 | 23 64 65 66 69 6e 65 20 |en).X{.X|#define |
|00002510| 43 52 43 5f 50 4f 4c 59 | 4e 4f 4d 49 41 4c 20 30 |CRC_POLY|NOMIAL 0|
|00002520| 31 30 30 34 31 09 2f 2a | 20 43 52 43 5f 43 43 49 |10041./*| CRC_CCI|
|00002530| 54 54 20 2a 2f 0a 58 0a | 58 73 74 61 74 69 63 20 |TT */.X.|Xstatic |
|00002540| 75 73 68 6f 72 74 20 63 | 72 63 5f 74 61 62 6c 65 |ushort c|rc_table|
|00002550| 5b 32 35 36 5d 20 3d 20 | 7b 0a 58 20 20 20 20 30 |[256] = |{.X 0|
|00002560| 78 30 30 30 30 2c 20 30 | 78 31 30 32 31 2c 20 30 |x0000, 0|x1021, 0|
|00002570| 78 32 30 34 32 2c 20 30 | 78 33 30 36 33 2c 20 30 |x2042, 0|x3063, 0|
|00002580| 78 34 30 38 34 2c 20 30 | 78 35 30 41 35 2c 20 30 |x4084, 0|x50A5, 0|
|00002590| 78 36 30 43 36 2c 20 30 | 78 37 30 45 37 2c 20 0a |x60C6, 0|x70E7, .|
|000025a0| 58 20 20 20 20 30 78 38 | 31 30 38 2c 20 30 78 39 |X 0x8|108, 0x9|
|000025b0| 31 32 39 2c 20 30 78 41 | 31 34 41 2c 20 30 78 42 |129, 0xA|14A, 0xB|
|000025c0| 31 36 42 2c 20 30 78 43 | 31 38 43 2c 20 30 78 44 |16B, 0xC|18C, 0xD|
|000025d0| 31 41 44 2c 20 30 78 45 | 31 43 45 2c 20 30 78 46 |1AD, 0xE|1CE, 0xF|
|000025e0| 31 45 46 2c 20 0a 58 20 | 20 20 20 30 78 31 32 33 |1EF, .X | 0x123|
|000025f0| 31 2c 20 30 78 30 32 31 | 30 2c 20 30 78 33 32 37 |1, 0x021|0, 0x327|
|00002600| 33 2c 20 30 78 32 32 35 | 32 2c 20 30 78 35 32 42 |3, 0x225|2, 0x52B|
|00002610| 35 2c 20 30 78 34 32 39 | 34 2c 20 30 78 37 32 46 |5, 0x429|4, 0x72F|
|00002620| 37 2c 20 30 78 36 32 44 | 36 2c 20 0a 58 20 20 20 |7, 0x62D|6, .X |
|00002630| 20 30 78 39 33 33 39 2c | 20 30 78 38 33 31 38 2c | 0x9339,| 0x8318,|
|00002640| 20 30 78 42 33 37 42 2c | 20 30 78 41 33 35 41 2c | 0xB37B,| 0xA35A,|
|00002650| 20 30 78 44 33 42 44 2c | 20 30 78 43 33 39 43 2c | 0xD3BD,| 0xC39C,|
|00002660| 20 30 78 46 33 46 46 2c | 20 30 78 45 33 44 45 2c | 0xF3FF,| 0xE3DE,|
|00002670| 20 0a 58 20 20 20 20 30 | 78 32 34 36 32 2c 20 30 | .X 0|x2462, 0|
|00002680| 78 33 34 34 33 2c 20 30 | 78 30 34 32 30 2c 20 30 |x3443, 0|x0420, 0|
|00002690| 78 31 34 30 31 2c 20 30 | 78 36 34 45 36 2c 20 30 |x1401, 0|x64E6, 0|
|000026a0| 78 37 34 43 37 2c 20 30 | 78 34 34 41 34 2c 20 30 |x74C7, 0|x44A4, 0|
|000026b0| 78 35 34 38 35 2c 20 0a | 58 20 20 20 20 30 78 41 |x5485, .|X 0xA|
|000026c0| 35 36 41 2c 20 30 78 42 | 35 34 42 2c 20 30 78 38 |56A, 0xB|54B, 0x8|
|000026d0| 35 32 38 2c 20 30 78 39 | 35 30 39 2c 20 30 78 45 |528, 0x9|509, 0xE|
|000026e0| 35 45 45 2c 20 30 78 46 | 35 43 46 2c 20 30 78 43 |5EE, 0xF|5CF, 0xC|
|000026f0| 35 41 43 2c 20 30 78 44 | 35 38 44 2c 20 0a 58 20 |5AC, 0xD|58D, .X |
|00002700| 20 20 20 30 78 33 36 35 | 33 2c 20 30 78 32 36 37 | 0x365|3, 0x267|
|00002710| 32 2c 20 30 78 31 36 31 | 31 2c 20 30 78 30 36 33 |2, 0x161|1, 0x063|
|00002720| 30 2c 20 30 78 37 36 44 | 37 2c 20 30 78 36 36 46 |0, 0x76D|7, 0x66F|
|00002730| 36 2c 20 30 78 35 36 39 | 35 2c 20 30 78 34 36 42 |6, 0x569|5, 0x46B|
|00002740| 34 2c 20 0a 58 20 20 20 | 20 30 78 42 37 35 42 2c |4, .X | 0xB75B,|
|00002750| 20 30 78 41 37 37 41 2c | 20 30 78 39 37 31 39 2c | 0xA77A,| 0x9719,|
|00002760| 20 30 78 38 37 33 38 2c | 20 30 78 46 37 44 46 2c | 0x8738,| 0xF7DF,|
|00002770| 20 30 78 45 37 46 45 2c | 20 30 78 44 37 39 44 2c | 0xE7FE,| 0xD79D,|
|00002780| 20 30 78 43 37 42 43 2c | 20 0a 58 20 20 20 20 30 | 0xC7BC,| .X 0|
|00002790| 78 34 38 43 34 2c 20 30 | 78 35 38 45 35 2c 20 30 |x48C4, 0|x58E5, 0|
|000027a0| 78 36 38 38 36 2c 20 30 | 78 37 38 41 37 2c 20 30 |x6886, 0|x78A7, 0|
|000027b0| 78 30 38 34 30 2c 20 30 | 78 31 38 36 31 2c 20 30 |x0840, 0|x1861, 0|
|000027c0| 78 32 38 30 32 2c 20 30 | 78 33 38 32 33 2c 20 0a |x2802, 0|x3823, .|
|000027d0| 58 20 20 20 20 30 78 43 | 39 43 43 2c 20 30 78 44 |X 0xC|9CC, 0xD|
|000027e0| 39 45 44 2c 20 30 78 45 | 39 38 45 2c 20 30 78 46 |9ED, 0xE|98E, 0xF|
|000027f0| 39 41 46 2c 20 30 78 38 | 39 34 38 2c 20 30 78 39 |9AF, 0x8|948, 0x9|
|00002800| 39 36 39 2c 20 30 78 41 | 39 30 41 2c 20 30 78 42 |969, 0xA|90A, 0xB|
|00002810| 39 32 42 2c 20 0a 58 20 | 20 20 20 30 78 35 41 46 |92B, .X | 0x5AF|
|00002820| 35 2c 20 30 78 34 41 44 | 34 2c 20 30 78 37 41 42 |5, 0x4AD|4, 0x7AB|
|00002830| 37 2c 20 30 78 36 41 39 | 36 2c 20 30 78 31 41 37 |7, 0x6A9|6, 0x1A7|
|00002840| 31 2c 20 30 78 30 41 35 | 30 2c 20 30 78 33 41 33 |1, 0x0A5|0, 0x3A3|
|00002850| 33 2c 20 30 78 32 41 31 | 32 2c 20 0a 58 20 20 20 |3, 0x2A1|2, .X |
|00002860| 20 30 78 44 42 46 44 2c | 20 30 78 43 42 44 43 2c | 0xDBFD,| 0xCBDC,|
|00002870| 20 30 78 46 42 42 46 2c | 20 30 78 45 42 39 45 2c | 0xFBBF,| 0xEB9E,|
|00002880| 20 30 78 39 42 37 39 2c | 20 30 78 38 42 35 38 2c | 0x9B79,| 0x8B58,|
|00002890| 20 30 78 42 42 33 42 2c | 20 30 78 41 42 31 41 2c | 0xBB3B,| 0xAB1A,|
|000028a0| 20 0a 58 20 20 20 20 30 | 78 36 43 41 36 2c 20 30 | .X 0|x6CA6, 0|
|000028b0| 78 37 43 38 37 2c 20 30 | 78 34 43 45 34 2c 20 30 |x7C87, 0|x4CE4, 0|
|000028c0| 78 35 43 43 35 2c 20 30 | 78 32 43 32 32 2c 20 30 |x5CC5, 0|x2C22, 0|
|000028d0| 78 33 43 30 33 2c 20 30 | 78 30 43 36 30 2c 20 30 |x3C03, 0|x0C60, 0|
|000028e0| 78 31 43 34 31 2c 20 0a | 58 20 20 20 20 30 78 45 |x1C41, .|X 0xE|
|000028f0| 44 41 45 2c 20 30 78 46 | 44 38 46 2c 20 30 78 43 |DAE, 0xF|D8F, 0xC|
|00002900| 44 45 43 2c 20 30 78 44 | 44 43 44 2c 20 30 78 41 |DEC, 0xD|DCD, 0xA|
|00002910| 44 32 41 2c 20 30 78 42 | 44 30 42 2c 20 30 78 38 |D2A, 0xB|D0B, 0x8|
|00002920| 44 36 38 2c 20 30 78 39 | 44 34 39 2c 20 0a 58 20 |D68, 0x9|D49, .X |
|00002930| 20 20 20 30 78 37 45 39 | 37 2c 20 30 78 36 45 42 | 0x7E9|7, 0x6EB|
|00002940| 36 2c 20 30 78 35 45 44 | 35 2c 20 30 78 34 45 46 |6, 0x5ED|5, 0x4EF|
|00002950| 34 2c 20 30 78 33 45 31 | 33 2c 20 30 78 32 45 33 |4, 0x3E1|3, 0x2E3|
|00002960| 32 2c 20 30 78 31 45 35 | 31 2c 20 30 78 30 45 37 |2, 0x1E5|1, 0x0E7|
|00002970| 30 2c 20 0a 58 20 20 20 | 20 30 78 46 46 39 46 2c |0, .X | 0xFF9F,|
|00002980| 20 30 78 45 46 42 45 2c | 20 30 78 44 46 44 44 2c | 0xEFBE,| 0xDFDD,|
|00002990| 20 30 78 43 46 46 43 2c | 20 30 78 42 46 31 42 2c | 0xCFFC,| 0xBF1B,|
|000029a0| 20 30 78 41 46 33 41 2c | 20 30 78 39 46 35 39 2c | 0xAF3A,| 0x9F59,|
|000029b0| 20 30 78 38 46 37 38 2c | 20 0a 58 20 20 20 20 30 | 0x8F78,| .X 0|
|000029c0| 78 39 31 38 38 2c 20 30 | 78 38 31 41 39 2c 20 30 |x9188, 0|x81A9, 0|
|000029d0| 78 42 31 43 41 2c 20 30 | 78 41 31 45 42 2c 20 30 |xB1CA, 0|xA1EB, 0|
|000029e0| 78 44 31 30 43 2c 20 30 | 78 43 31 32 44 2c 20 30 |xD10C, 0|xC12D, 0|
|000029f0| 78 46 31 34 45 2c 20 30 | 78 45 31 36 46 2c 20 0a |xF14E, 0|xE16F, .|
|00002a00| 58 20 20 20 20 30 78 31 | 30 38 30 2c 20 30 78 30 |X 0x1|080, 0x0|
|00002a10| 30 41 31 2c 20 30 78 33 | 30 43 32 2c 20 30 78 32 |0A1, 0x3|0C2, 0x2|
|00002a20| 30 45 33 2c 20 30 78 35 | 30 30 34 2c 20 30 78 34 |0E3, 0x5|004, 0x4|
|00002a30| 30 32 35 2c 20 30 78 37 | 30 34 36 2c 20 30 78 36 |025, 0x7|046, 0x6|
|00002a40| 30 36 37 2c 20 0a 58 20 | 20 20 20 30 78 38 33 42 |067, .X | 0x83B|
|00002a50| 39 2c 20 30 78 39 33 39 | 38 2c 20 30 78 41 33 46 |9, 0x939|8, 0xA3F|
|00002a60| 42 2c 20 30 78 42 33 44 | 41 2c 20 30 78 43 33 33 |B, 0xB3D|A, 0xC33|
|00002a70| 44 2c 20 30 78 44 33 31 | 43 2c 20 30 78 45 33 37 |D, 0xD31|C, 0xE37|
|00002a80| 46 2c 20 30 78 46 33 35 | 45 2c 20 0a 58 20 20 20 |F, 0xF35|E, .X |
|00002a90| 20 30 78 30 32 42 31 2c | 20 30 78 31 32 39 30 2c | 0x02B1,| 0x1290,|
|00002aa0| 20 30 78 32 32 46 33 2c | 20 30 78 33 32 44 32 2c | 0x22F3,| 0x32D2,|
|00002ab0| 20 30 78 34 32 33 35 2c | 20 30 78 35 32 31 34 2c | 0x4235,| 0x5214,|
|00002ac0| 20 30 78 36 32 37 37 2c | 20 30 78 37 32 35 36 2c | 0x6277,| 0x7256,|
|00002ad0| 20 0a 58 20 20 20 20 30 | 78 42 35 45 41 2c 20 30 | .X 0|xB5EA, 0|
|00002ae0| 78 41 35 43 42 2c 20 30 | 78 39 35 41 38 2c 20 30 |xA5CB, 0|x95A8, 0|
|00002af0| 78 38 35 38 39 2c 20 30 | 78 46 35 36 45 2c 20 30 |x8589, 0|xF56E, 0|
|00002b00| 78 45 35 34 46 2c 20 30 | 78 44 35 32 43 2c 20 30 |xE54F, 0|xD52C, 0|
|00002b10| 78 43 35 30 44 2c 20 0a | 58 20 20 20 20 30 78 33 |xC50D, .|X 0x3|
|00002b20| 34 45 32 2c 20 30 78 32 | 34 43 33 2c 20 30 78 31 |4E2, 0x2|4C3, 0x1|
|00002b30| 34 41 30 2c 20 30 78 30 | 34 38 31 2c 20 30 78 37 |4A0, 0x0|481, 0x7|
|00002b40| 34 36 36 2c 20 30 78 36 | 34 34 37 2c 20 30 78 35 |466, 0x6|447, 0x5|
|00002b50| 34 32 34 2c 20 30 78 34 | 34 30 35 2c 20 0a 58 20 |424, 0x4|405, .X |
|00002b60| 20 20 20 30 78 41 37 44 | 42 2c 20 30 78 42 37 46 | 0xA7D|B, 0xB7F|
|00002b70| 41 2c 20 30 78 38 37 39 | 39 2c 20 30 78 39 37 42 |A, 0x879|9, 0x97B|
|00002b80| 38 2c 20 30 78 45 37 35 | 46 2c 20 30 78 46 37 37 |8, 0xE75|F, 0xF77|
|00002b90| 45 2c 20 30 78 43 37 31 | 44 2c 20 30 78 44 37 33 |E, 0xC71|D, 0xD73|
|00002ba0| 43 2c 20 0a 58 20 20 20 | 20 30 78 32 36 44 33 2c |C, .X | 0x26D3,|
|00002bb0| 20 30 78 33 36 46 32 2c | 20 30 78 30 36 39 31 2c | 0x36F2,| 0x0691,|
|00002bc0| 20 30 78 31 36 42 30 2c | 20 30 78 36 36 35 37 2c | 0x16B0,| 0x6657,|
|00002bd0| 20 30 78 37 36 37 36 2c | 20 30 78 34 36 31 35 2c | 0x7676,| 0x4615,|
|00002be0| 20 30 78 35 36 33 34 2c | 20 0a 58 20 20 20 20 30 | 0x5634,| .X 0|
|00002bf0| 78 44 39 34 43 2c 20 30 | 78 43 39 36 44 2c 20 30 |xD94C, 0|xC96D, 0|
|00002c00| 78 46 39 30 45 2c 20 30 | 78 45 39 32 46 2c 20 30 |xF90E, 0|xE92F, 0|
|00002c10| 78 39 39 43 38 2c 20 30 | 78 38 39 45 39 2c 20 30 |x99C8, 0|x89E9, 0|
|00002c20| 78 42 39 38 41 2c 20 30 | 78 41 39 41 42 2c 20 0a |xB98A, 0|xA9AB, .|
|00002c30| 58 20 20 20 20 30 78 35 | 38 34 34 2c 20 30 78 34 |X 0x5|844, 0x4|
|00002c40| 38 36 35 2c 20 30 78 37 | 38 30 36 2c 20 30 78 36 |865, 0x7|806, 0x6|
|00002c50| 38 32 37 2c 20 30 78 31 | 38 43 30 2c 20 30 78 30 |827, 0x1|8C0, 0x0|
|00002c60| 38 45 31 2c 20 30 78 33 | 38 38 32 2c 20 30 78 32 |8E1, 0x3|882, 0x2|
|00002c70| 38 41 33 2c 20 0a 58 20 | 20 20 20 30 78 43 42 37 |8A3, .X | 0xCB7|
|00002c80| 44 2c 20 30 78 44 42 35 | 43 2c 20 30 78 45 42 33 |D, 0xDB5|C, 0xEB3|
|00002c90| 46 2c 20 30 78 46 42 31 | 45 2c 20 30 78 38 42 46 |F, 0xFB1|E, 0x8BF|
|00002ca0| 39 2c 20 30 78 39 42 44 | 38 2c 20 30 78 41 42 42 |9, 0x9BD|8, 0xABB|
|00002cb0| 42 2c 20 30 78 42 42 39 | 41 2c 20 0a 58 20 20 20 |B, 0xBB9|A, .X |
|00002cc0| 20 30 78 34 41 37 35 2c | 20 30 78 35 41 35 34 2c | 0x4A75,| 0x5A54,|
|00002cd0| 20 30 78 36 41 33 37 2c | 20 30 78 37 41 31 36 2c | 0x6A37,| 0x7A16,|
|00002ce0| 20 30 78 30 41 46 31 2c | 20 30 78 31 41 44 30 2c | 0x0AF1,| 0x1AD0,|
|00002cf0| 20 30 78 32 41 42 33 2c | 20 30 78 33 41 39 32 2c | 0x2AB3,| 0x3A92,|
|00002d00| 20 0a 58 20 20 20 20 30 | 78 46 44 32 45 2c 20 30 | .X 0|xFD2E, 0|
|00002d10| 78 45 44 30 46 2c 20 30 | 78 44 44 36 43 2c 20 30 |xED0F, 0|xDD6C, 0|
|00002d20| 78 43 44 34 44 2c 20 30 | 78 42 44 41 41 2c 20 30 |xCD4D, 0|xBDAA, 0|
|00002d30| 78 41 44 38 42 2c 20 30 | 78 39 44 45 38 2c 20 30 |xAD8B, 0|x9DE8, 0|
|00002d40| 78 38 44 43 39 2c 20 0a | 58 20 20 20 20 30 78 37 |x8DC9, .|X 0x7|
|00002d50| 43 32 36 2c 20 30 78 36 | 43 30 37 2c 20 30 78 35 |C26, 0x6|C07, 0x5|
|00002d60| 43 36 34 2c 20 30 78 34 | 43 34 35 2c 20 30 78 33 |C64, 0x4|C45, 0x3|
|00002d70| 43 41 32 2c 20 30 78 32 | 43 38 33 2c 20 30 78 31 |CA2, 0x2|C83, 0x1|
|00002d80| 43 45 30 2c 20 30 78 30 | 43 43 31 2c 20 0a 58 20 |CE0, 0x0|CC1, .X |
|00002d90| 20 20 20 30 78 45 46 31 | 46 2c 20 30 78 46 46 33 | 0xEF1|F, 0xFF3|
|00002da0| 45 2c 20 30 78 43 46 35 | 44 2c 20 30 78 44 46 37 |E, 0xCF5|D, 0xDF7|
|00002db0| 43 2c 20 30 78 41 46 39 | 42 2c 20 30 78 42 46 42 |C, 0xAF9|B, 0xBFB|
|00002dc0| 41 2c 20 30 78 38 46 44 | 39 2c 20 30 78 39 46 46 |A, 0x8FD|9, 0x9FF|
|00002dd0| 38 2c 20 0a 58 20 20 20 | 20 30 78 36 45 31 37 2c |8, .X | 0x6E17,|
|00002de0| 20 30 78 37 45 33 36 2c | 20 30 78 34 45 35 35 2c | 0x7E36,| 0x4E55,|
|00002df0| 20 30 78 35 45 37 34 2c | 20 30 78 32 45 39 33 2c | 0x5E74,| 0x2E93,|
|00002e00| 20 30 78 33 45 42 32 2c | 20 30 78 30 45 44 31 2c | 0x3EB2,| 0x0ED1,|
|00002e10| 20 30 78 31 45 46 30 0a | 58 7d 3b 0a 58 20 20 20 | 0x1EF0.|X};.X |
|00002e20| 20 20 20 20 20 72 65 67 | 69 73 74 65 72 20 75 73 | reg|ister us|
|00002e30| 68 6f 72 74 20 63 72 63 | 20 3d 20 30 3b 0a 58 0a |hort crc| = 0;.X.|
|00002e40| 58 20 20 20 20 20 20 20 | 20 77 68 69 6c 65 28 20 |X | while( |
|00002e50| 6c 65 6e 2d 2d 20 3e 20 | 30 20 29 0a 58 20 20 20 |len-- > |0 ).X |
|00002e60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 63 72 63 | | crc|
|00002e70| 20 3d 20 63 72 63 5f 74 | 61 62 6c 65 5b 28 63 72 | = crc_t|able[(cr|
|00002e80| 63 3e 3e 38 20 5e 20 2a | 73 2b 2b 29 20 26 20 30 |c>>8 ^ *|s++) & 0|
|00002e90| 78 66 66 5d 20 5e 20 28 | 63 72 63 3c 3c 38 29 3b |xff] ^ (|crc<<8);|
|00002ea0| 0a 58 20 20 20 20 20 20 | 20 20 72 65 74 75 72 6e |.X | return|
|00002eb0| 20 63 72 63 3b 0a 58 7d | 0a 45 4e 44 5f 4f 46 5f | crc;.X}|.END_OF_|
|00002ec0| 46 49 4c 45 0a 69 66 20 | 74 65 73 74 20 33 35 30 |FILE.if |test 350|
|00002ed0| 30 20 2d 6e 65 20 60 77 | 63 20 2d 63 20 3c 27 6c |0 -ne `w|c -c <'l|
|00002ee0| 5f 63 68 6b 73 75 6d 2e | 63 27 60 3b 20 74 68 65 |_chksum.|c'`; the|
|00002ef0| 6e 0a 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a |n. ec|ho shar:|
|00002f00| 20 5c 22 27 6c 5f 63 68 | 6b 73 75 6d 2e 63 27 5c | \"'l_ch|ksum.c'\|
|00002f10| 22 20 75 6e 70 61 63 6b | 65 64 20 77 69 74 68 20 |" unpack|ed with |
|00002f20| 77 72 6f 6e 67 20 73 69 | 7a 65 21 0a 66 69 0a 23 |wrong si|ze!.fi.#|
|00002f30| 20 65 6e 64 20 6f 66 20 | 27 6c 5f 63 68 6b 73 75 | end of |'l_chksu|
|00002f40| 6d 2e 63 27 0a 66 69 0a | 69 66 20 74 65 73 74 20 |m.c'.fi.|if test |
|00002f50| 2d 66 20 27 6c 5f 66 6f | 72 6d 61 74 2e 63 27 20 |-f 'l_fo|rmat.c' |
|00002f60| 2d 61 20 22 24 7b 31 7d | 22 20 21 3d 20 22 2d 63 |-a "${1}|" != "-c|
|00002f70| 22 20 3b 20 74 68 65 6e | 20 0a 20 20 65 63 68 6f |" ; then| . echo|
|00002f80| 20 73 68 61 72 3a 20 57 | 69 6c 6c 20 6e 6f 74 20 | shar: W|ill not |
|00002f90| 63 6c 6f 62 62 65 72 20 | 65 78 69 73 74 69 6e 67 |clobber |existing|
|00002fa0| 20 66 69 6c 65 20 5c 22 | 27 6c 5f 66 6f 72 6d 61 | file \"|'l_forma|
|00002fb0| 74 2e 63 27 5c 22 0a 65 | 6c 73 65 0a 65 63 68 6f |t.c'\".e|lse.echo|
|00002fc0| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|00002fd0| 67 20 5c 22 27 6c 5f 66 | 6f 72 6d 61 74 2e 63 27 |g \"'l_f|ormat.c'|
|00002fe0| 5c 22 20 5c 28 33 38 33 | 35 20 63 68 61 72 61 63 |\" \(383|5 charac|
|00002ff0| 74 65 72 73 5c 29 0a 73 | 65 64 20 22 73 2f 5e 58 |ters\).s|ed "s/^X|
|00003000| 2f 2f 22 20 3e 27 6c 5f | 66 6f 72 6d 61 74 2e 63 |//" >'l_|format.c|
|00003010| 27 20 3c 3c 27 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |' <<'END|_OF_FILE|
|00003020| 27 0a 58 2f 2a 0a 58 09 | 6c 5f 66 6f 72 6d 61 74 |'.X/*.X.|l_format|
|00003030| 2e 63 0a 58 2a 2f 0a 58 | 2f 2a 20 20 43 6f 70 79 |.c.X*/.X|/* Copy|
|00003040| 72 69 67 68 74 20 28 63 | 29 20 31 39 39 34 20 43 |right (c|) 1994 C|
|00003050| 68 72 69 73 74 69 61 6e | 20 46 2e 20 54 73 63 68 |hristian| F. Tsch|
|00003060| 75 64 69 6e 2e 20 41 6c | 6c 20 72 69 67 68 74 73 |udin. Al|l rights|
|00003070| 20 72 65 73 65 72 76 65 | 64 2e 0a 58 0a 58 20 20 | reserve|d..X.X |
|00003080| 20 20 44 69 73 74 72 69 | 62 75 74 65 64 20 75 6e | Distri|buted un|
|00003090| 64 65 72 20 74 68 65 20 | 74 65 72 6d 73 20 6f 66 |der the |terms of|
|000030a0| 20 74 68 65 20 47 4e 55 | 20 47 65 6e 65 72 61 6c | the GNU| General|
|000030b0| 20 50 75 62 6c 69 63 20 | 4c 69 63 65 6e 73 65 0a | Public |License.|
|000030c0| 58 20 20 20 20 76 65 72 | 73 69 6f 6e 20 32 20 6f |X ver|sion 2 o|
|000030d0| 66 20 6a 75 6e 65 20 31 | 39 39 31 20 61 73 20 70 |f june 1|991 as p|
|000030e0| 75 62 6c 69 73 68 65 64 | 20 62 79 20 74 68 65 20 |ublished| by the |
|000030f0| 46 72 65 65 20 53 6f 66 | 74 77 61 72 65 0a 58 20 |Free Sof|tware.X |
|00003100| 20 20 20 46 6f 75 6e 64 | 61 74 69 6f 6e 2c 20 49 | Found|ation, I|
|00003110| 6e 63 2e 0a 58 0a 58 09 | 09 20 20 20 20 20 54 68 |nc..X.X.|. Th|
|00003120| 69 73 20 66 69 6c 65 20 | 69 73 20 70 61 72 74 20 |is file |is part |
|00003130| 6f 66 20 4d 30 2e 0a 58 | 0a 58 4d 30 20 69 73 20 |of M0..X|.XM0 is |
|00003140| 64 69 73 74 72 69 62 75 | 74 65 64 20 69 6e 20 74 |distribu|ted in t|
|00003150| 68 65 20 68 6f 70 65 20 | 74 68 61 74 20 69 74 20 |he hope |that it |
|00003160| 77 69 6c 6c 20 62 65 20 | 75 73 65 66 75 6c 2c 20 |will be |useful, |
|00003170| 62 75 74 20 57 49 54 48 | 4f 55 54 20 41 4e 59 0a |but WITH|OUT ANY.|
|00003180| 58 57 41 52 52 41 4e 54 | 59 2e 20 20 4e 6f 20 61 |XWARRANT|Y. No a|
|00003190| 75 74 68 6f 72 20 6f 72 | 20 64 69 73 74 72 69 62 |uthor or| distrib|
|000031a0| 75 74 6f 72 20 61 63 63 | 65 70 74 73 20 72 65 73 |utor acc|epts res|
|000031b0| 70 6f 6e 73 69 62 69 6c | 69 74 79 20 74 6f 20 61 |ponsibil|ity to a|
|000031c0| 6e 79 6f 6e 65 20 66 6f | 72 0a 58 74 68 65 20 63 |nyone fo|r.Xthe c|
|000031d0| 6f 6e 73 65 71 75 65 6e | 63 65 73 20 6f 66 20 75 |onsequen|ces of u|
|000031e0| 73 69 6e 67 20 69 74 20 | 6f 72 20 66 6f 72 20 77 |sing it |or for w|
|000031f0| 68 65 74 68 65 72 20 69 | 74 20 73 65 72 76 65 73 |hether i|t serves|
|00003200| 20 61 6e 79 20 70 61 72 | 74 69 63 75 6c 61 72 0a | any par|ticular.|
|00003210| 58 70 75 72 70 6f 73 65 | 20 6f 72 20 77 6f 72 6b |Xpurpose| or work|
|00003220| 73 20 61 74 20 61 6c 6c | 2c 20 75 6e 6c 65 73 73 |s at all|, unless|
|00003230| 20 68 65 20 73 61 79 73 | 20 73 6f 20 69 6e 20 77 | he says| so in w|
|00003240| 72 69 74 69 6e 67 2e 20 | 20 52 65 66 65 72 20 74 |riting. | Refer t|
|00003250| 6f 20 74 68 65 20 47 4e | 55 0a 58 47 65 6e 65 72 |o the GN|U.XGener|
|00003260| 61 6c 20 50 75 62 6c 69 | 63 20 4c 69 63 65 6e 73 |al Publi|c Licens|
|00003270| 65 20 66 6f 72 20 66 75 | 6c 6c 20 64 65 74 61 69 |e for fu|ll detai|
|00003280| 6c 73 2e 20 0a 58 0a 58 | 45 76 65 72 79 6f 6e 65 |ls. .X.X|Everyone|
|00003290| 20 69 73 20 67 72 61 6e | 74 65 64 20 70 65 72 6d | is gran|ted perm|
|000032a0| 69 73 73 69 6f 6e 20 74 | 6f 20 63 6f 70 79 2c 20 |ission t|o copy, |
|000032b0| 6d 6f 64 69 66 79 20 61 | 6e 64 20 72 65 64 69 73 |modify a|nd redis|
|000032c0| 74 72 69 62 75 74 65 20 | 4d 30 2c 20 62 75 74 0a |tribute |M0, but.|
|000032d0| 58 6f 6e 6c 79 20 75 6e | 64 65 72 20 74 68 65 20 |Xonly un|der the |
|000032e0| 63 6f 6e 64 69 74 69 6f | 6e 73 20 64 65 73 63 72 |conditio|ns descr|
|000032f0| 69 62 65 64 20 69 6e 20 | 74 68 65 20 47 4e 55 20 |ibed in |the GNU |
|00003300| 47 65 6e 65 72 61 6c 20 | 50 75 62 6c 69 63 20 4c |General |Public L|
|00003310| 69 63 65 6e 73 65 2e 20 | 0a 58 41 20 63 6f 70 79 |icense. |.XA copy|
|00003320| 20 6f 66 20 74 68 69 73 | 20 6c 69 63 65 6e 73 65 | of this| license|
|00003330| 20 69 73 20 73 75 70 70 | 6f 73 65 64 20 74 6f 20 | is supp|osed to |
|00003340| 68 61 76 65 20 62 65 65 | 6e 20 67 69 76 65 6e 20 |have bee|n given |
|00003350| 74 6f 20 79 6f 75 20 61 | 6c 6f 6e 67 20 77 69 74 |to you a|long wit|
|00003360| 68 0a 58 4d 30 20 73 6f | 20 79 6f 75 20 63 61 6e |h.XM0 so| you can|
|00003370| 20 6b 6e 6f 77 20 79 6f | 75 72 20 72 69 67 68 74 | know yo|ur right|
|00003380| 73 20 61 6e 64 20 72 65 | 73 70 6f 6e 73 69 62 69 |s and re|sponsibi|
|00003390| 6c 69 74 69 65 73 2e 20 | 20 49 74 20 73 68 6f 75 |lities. | It shou|
|000033a0| 6c 64 20 62 65 20 69 6e | 20 61 0a 58 66 69 6c 65 |ld be in| a.Xfile|
|000033b0| 20 6e 61 6d 65 64 20 4c | 49 43 45 4e 53 45 2e 20 | named L|ICENSE. |
|000033c0| 20 41 6d 6f 6e 67 20 6f | 74 68 65 72 20 74 68 69 | Among o|ther thi|
|000033d0| 6e 67 73 2c 20 74 68 65 | 20 63 6f 70 79 72 69 67 |ngs, the| copyrig|
|000033e0| 68 74 20 6e 6f 74 69 63 | 65 20 61 6e 64 20 74 68 |ht notic|e and th|
|000033f0| 69 73 0a 58 6e 6f 74 69 | 63 65 20 6d 75 73 74 20 |is.Xnoti|ce must |
|00003400| 62 65 20 70 72 65 73 65 | 72 76 65 64 20 6f 6e 20 |be prese|rved on |
|00003410| 61 6c 6c 20 63 6f 70 69 | 65 73 2e 20 20 2a 2f 0a |all copi|es. */.|
|00003420| 58 0a 58 23 69 6e 63 6c | 75 64 65 20 22 6c 5f 70 |X.X#incl|ude "l_p|
|00003430| 72 6f 74 6f 2e 68 22 0a | 58 23 69 6e 63 6c 75 64 |roto.h".|X#includ|
|00003440| 65 20 22 68 64 72 2e 68 | 22 0a 58 23 69 6e 63 6c |e "hdr.h|".X#incl|
|00003450| 75 64 65 20 22 63 68 6b | 73 75 6d 2e 68 22 0a 58 |ude "chk|sum.h".X|
|00003460| 0a 58 73 74 61 74 69 63 | 20 76 6f 69 64 0a 58 6d |.Xstatic| void.Xm|
|00003470| 61 6b 65 5f 68 65 61 64 | 65 72 28 62 79 74 65 70 |ake_head|er(bytep|
|00003480| 74 72 20 70 2c 20 62 79 | 74 65 70 74 72 20 71 2c |tr p, by|teptr q,|
|00003490| 20 75 69 6e 74 20 63 6c | 65 6e 2c 20 75 69 6e 74 | uint cl|en, uint|
|000034a0| 20 64 6c 65 6e 29 0a 58 | 7b 0a 58 09 73 74 72 75 | dlen).X|{.X.stru|
|000034b0| 63 74 20 68 65 61 64 65 | 72 5f 73 20 2a 68 64 72 |ct heade|r_s *hdr|
|000034c0| 20 3d 20 28 73 74 72 75 | 63 74 20 68 65 61 64 65 | = (stru|ct heade|
|000034d0| 72 5f 73 20 2a 29 20 70 | 3b 0a 58 09 75 69 6e 74 |r_s *) p|;.X.uint|
|000034e0| 20 6c 65 6e 20 3d 20 31 | 36 20 2b 20 63 6c 65 6e | len = 1|6 + clen|
|000034f0| 3b 0a 58 0a 58 09 68 64 | 72 2d 3e 76 65 72 73 69 |;.X.X.hd|r->versi|
|00003500| 6f 6e 20 3d 20 30 3b 0a | 58 09 68 64 72 2d 3e 66 |on = 0;.|X.hdr->f|
|00003510| 6c 61 67 73 20 3d 20 30 | 3b 0a 58 09 6d 65 6d 63 |lags = 0|;.X.memc|
|00003520| 70 79 28 68 64 72 2d 3e | 71 75 65 75 65 2c 20 28 |py(hdr->|queue, (|
|00003530| 63 68 61 72 2a 29 71 2c | 20 38 29 3b 0a 58 09 68 |char*)q,| 8);.X.h|
|00003540| 64 72 2d 3e 63 6f 64 65 | 6c 65 6e 20 3d 20 63 6c |dr->code|len = cl|
|00003550| 65 6e 3b 0a 58 23 69 66 | 64 65 66 20 4c 49 54 54 |en;.X#if|def LITT|
|00003560| 4c 45 5f 45 4e 44 49 41 | 4e 0a 58 09 73 77 61 70 |LE_ENDIA|N.X.swap|
|00003570| 5f 69 6e 74 28 26 28 68 | 64 72 2d 3e 63 6f 64 65 |_int(&(h|dr->code|
|00003580| 6c 65 6e 29 29 3b 0a 58 | 23 65 6e 64 69 66 0a 58 |len));.X|#endif.X|
|00003590| 09 69 66 20 28 64 6c 65 | 6e 29 20 7b 0a 58 09 09 |.if (dle|n) {.X..|
|000035a0| 68 64 72 2d 3e 66 6c 61 | 67 73 20 7c 3d 20 30 78 |hdr->fla|gs |= 0x|
|000035b0| 38 30 3b 0a 58 09 09 68 | 64 72 2d 3e 64 61 74 61 |80;.X..h|dr->data|
|000035c0| 6c 65 6e 20 3d 20 64 6c | 65 6e 3b 0a 58 23 69 66 |len = dl|en;.X#if|
|000035d0| 64 65 66 20 4c 49 54 54 | 4c 45 5f 45 4e 44 49 41 |def LITT|LE_ENDIA|
|000035e0| 4e 0a 58 09 09 73 77 61 | 70 5f 69 6e 74 28 26 28 |N.X..swa|p_int(&(|
|000035f0| 68 64 72 2d 3e 64 61 74 | 61 6c 65 6e 29 29 3b 0a |hdr->dat|alen));.|
|00003600| 58 23 65 6e 64 69 66 0a | 58 09 09 6c 65 6e 20 2b |X#endif.|X..len +|
|00003610| 3d 20 34 3b 0a 58 09 7d | 0a 58 09 68 64 72 2d 3e |= 4;.X.}|.X.hdr->|
|00003620| 63 72 63 20 3d 20 63 72 | 63 5f 63 63 69 74 74 28 |crc = cr|c_ccitt(|
|00003630| 70 2b 32 2c 20 6c 65 6e | 20 2d 20 32 29 3b 0a 58 |p+2, len| - 2);.X|
|00003640| 23 69 66 64 65 66 20 4c | 49 54 54 4c 45 5f 45 4e |#ifdef L|ITTLE_EN|
|00003650| 44 49 41 4e 0a 58 09 73 | 77 61 70 5f 73 68 6f 72 |DIAN.X.s|wap_shor|
|00003660| 74 28 26 28 68 64 72 2d | 3e 63 72 63 29 29 3b 0a |t(&(hdr-|>crc));.|
|00003670| 58 23 65 6e 64 69 66 0a | 58 7d 0a 58 0a 58 0a 58 |X#endif.|X}.X.X.X|
|00003680| 62 79 74 65 70 74 72 0a | 58 6d 61 6b 65 5f 6d 73 |byteptr.|Xmake_ms|
|00003690| 67 72 28 62 79 74 65 70 | 74 72 20 71 2c 20 62 79 |gr(bytep|tr q, by|
|000036a0| 74 65 70 74 72 20 63 2c | 20 75 69 6e 74 20 63 6c |teptr c,| uint cl|
|000036b0| 65 6e 2c 20 62 79 74 65 | 70 74 72 20 64 2c 20 75 |en, byte|ptr d, u|
|000036c0| 69 6e 74 20 64 6c 65 6e | 2c 20 75 69 6e 74 20 2a |int dlen|, uint *|
|000036d0| 6c 65 6e 29 0a 58 7b 0a | 58 09 75 69 6e 74 20 64 |len).X{.|X.uint d|
|000036e0| 6f 66 66 73 3b 0a 58 09 | 62 79 74 65 70 74 72 20 |offs;.X.|byteptr |
|000036f0| 6d 3b 0a 58 0a 58 09 69 | 66 20 28 64 29 20 7b 0a |m;.X.X.i|f (d) {.|
|00003700| 58 09 09 64 6f 66 66 73 | 20 3d 20 32 30 20 2b 20 |X..doffs| = 20 + |
|00003710| 34 20 2a 20 28 28 63 6c | 65 6e 2b 33 29 2f 34 29 |4 * ((cl|en+3)/4)|
|00003720| 3b 0a 58 09 09 2a 6c 65 | 6e 20 3d 20 64 6f 66 66 |;.X..*le|n = doff|
|00003730| 73 20 2b 20 64 6c 65 6e | 3b 0a 58 09 7d 20 65 6c |s + dlen|;.X.} el|
|00003740| 73 65 0a 58 09 09 2a 6c | 65 6e 20 3d 20 31 36 20 |se.X..*l|en = 16 |
|00003750| 2b 20 63 6c 65 6e 3b 0a | 58 09 6d 20 3d 20 6d 61 |+ clen;.|X.m = ma|
|00003760| 6c 6c 6f 63 28 2a 6c 65 | 6e 29 3b 0a 58 09 69 66 |lloc(*le|n);.X.if|
|00003770| 20 28 21 6d 29 0a 58 09 | 09 72 65 74 75 72 6e 20 | (!m).X.|.return |
|00003780| 30 3b 0a 58 09 69 66 20 | 28 64 29 20 7b 0a 58 09 |0;.X.if |(d) {.X.|
|00003790| 09 6d 65 6d 63 70 79 28 | 28 63 68 61 72 2a 29 28 |.memcpy(|(char*)(|
|000037a0| 6d 2b 32 30 29 2c 20 28 | 63 68 61 72 2a 29 63 2c |m+20), (|char*)c,|
|000037b0| 20 63 6c 65 6e 29 3b 0a | 58 09 09 6d 65 6d 63 70 | clen);.|X..memcp|
|000037c0| 79 28 28 63 68 61 72 2a | 29 28 6d 2b 64 6f 66 66 |y((char*|)(m+doff|
|000037d0| 73 29 2c 20 28 63 68 61 | 72 2a 29 64 2c 20 64 6c |s), (cha|r*)d, dl|
|000037e0| 65 6e 29 3b 0a 58 09 09 | 6d 61 6b 65 5f 68 65 61 |en);.X..|make_hea|
|000037f0| 64 65 72 28 6d 2c 20 71 | 2c 20 63 6c 65 6e 2c 20 |der(m, q|, clen, |
|00003800| 64 6c 65 6e 29 3b 0a 58 | 09 7d 20 65 6c 73 65 20 |dlen);.X|.} else |
|00003810| 7b 0a 58 09 09 6d 65 6d | 63 70 79 28 28 63 68 61 |{.X..mem|cpy((cha|
|00003820| 72 2a 29 28 6d 2b 31 36 | 29 2c 20 28 63 68 61 72 |r*)(m+16|), (char|
|00003830| 2a 29 63 2c 20 63 6c 65 | 6e 29 3b 0a 58 09 09 6d |*)c, cle|n);.X..m|
|00003840| 61 6b 65 5f 68 65 61 64 | 65 72 28 6d 2c 20 71 2c |ake_head|er(m, q,|
|00003850| 20 63 6c 65 6e 2c 20 30 | 29 3b 0a 58 09 7d 0a 58 | clen, 0|);.X.}.X|
|00003860| 09 72 65 74 75 72 6e 20 | 6d 3b 0a 58 7d 0a 58 0a |.return |m;.X}.X.|
|00003870| 58 0a 58 65 69 6e 64 65 | 78 0a 58 6d 61 6b 65 5f |X.Xeinde|x.Xmake_|
|00003880| 6d 73 67 72 5f 73 74 72 | 28 6d 70 72 6f 63 20 70 |msgr_str|(mproc p|
|00003890| 2c 20 65 69 6e 64 65 78 | 20 71 2c 20 65 69 6e 64 |, eindex| q, eind|
|000038a0| 65 78 20 63 2c 20 65 69 | 6e 64 65 78 20 64 29 0a |ex c, ei|ndex d).|
|000038b0| 58 7b 0a 58 09 75 69 6e | 74 20 6c 65 6e 2c 20 63 |X{.X.uin|t len, c|
|000038c0| 6c 65 6e 2c 20 64 6c 65 | 6e 2c 20 64 6f 66 66 73 |len, dle|n, doffs|
|000038d0| 3b 0a 58 09 62 79 74 65 | 70 74 72 20 6d 2c 20 6b |;.X.byte|ptr m, k|
|000038e0| 65 79 3b 0a 58 0a 58 09 | 71 20 3d 20 64 65 73 75 |ey;.X.X.|q = desu|
|000038f0| 62 28 70 2c 71 29 3b 0a | 58 09 6b 65 79 20 3d 20 |b(p,q);.|X.key = |
|00003900| 65 61 64 64 72 28 70 2c | 71 29 2d 3e 56 2e 6e 61 |eaddr(p,|q)->V.na|
|00003910| 6d 2e 75 2e 73 3b 0a 58 | 09 63 6c 65 6e 20 3d 20 |m.u.s;.X|.clen = |
|00003920| 65 6c 65 6e 28 70 2c 63 | 29 3b 0a 58 0a 58 09 69 |elen(p,c|);.X.X.i|
|00003930| 66 20 28 64 29 20 7b 0a | 58 09 09 64 6c 65 6e 20 |f (d) {.|X..dlen |
|00003940| 3d 20 65 6c 65 6e 28 70 | 2c 64 29 3b 0a 58 09 09 |= elen(p|,d);.X..|
|00003950| 64 6f 66 66 73 20 3d 20 | 32 30 20 2b 20 34 20 2a |doffs = |20 + 4 *|
|00003960| 20 28 28 63 6c 65 6e 2b | 33 29 2f 34 29 3b 0a 58 | ((clen+|3)/4);.X|
|00003970| 09 09 6c 65 6e 20 3d 20 | 64 6f 66 66 73 20 2b 20 |..len = |doffs + |
|00003980| 64 6c 65 6e 3b 0a 58 09 | 7d 20 65 6c 73 65 0a 58 |dlen;.X.|} else.X|
|00003990| 09 09 6c 65 6e 20 3d 20 | 31 36 20 2b 20 63 6c 65 |..len = |16 + cle|
|000039a0| 6e 3b 0a 58 09 6d 20 3d | 20 6d 61 6c 6c 6f 63 28 |n;.X.m =| malloc(|
|000039b0| 6c 65 6e 29 3b 0a 58 09 | 69 66 20 28 21 6d 29 0a |len);.X.|if (!m).|
|000039c0| 58 09 09 72 65 74 75 72 | 6e 20 30 3b 0a 58 09 69 |X..retur|n 0;.X.i|
|000039d0| 66 20 28 64 29 20 7b 0a | 58 09 09 73 74 72 5f 65 |f (d) {.|X..str_e|
|000039e0| 78 70 6f 72 74 28 70 2c | 20 6d 2b 32 30 2c 20 63 |xport(p,| m+20, c|
|000039f0| 2c 20 30 2c 20 63 6c 65 | 6e 29 3b 0a 58 09 09 73 |, 0, cle|n);.X..s|
|00003a00| 74 72 5f 65 78 70 6f 72 | 74 28 70 2c 20 6d 2b 64 |tr_expor|t(p, m+d|
|00003a10| 6f 66 66 73 2c 20 64 2c | 20 30 2c 20 64 6c 65 6e |offs, d,| 0, dlen|
|00003a20| 29 3b 0a 58 09 09 6d 61 | 6b 65 5f 68 65 61 64 65 |);.X..ma|ke_heade|
|00003a30| 72 28 6d 2c 20 6b 65 79 | 2c 20 63 6c 65 6e 2c 20 |r(m, key|, clen, |
|00003a40| 64 6c 65 6e 29 3b 0a 58 | 09 7d 20 65 6c 73 65 20 |dlen);.X|.} else |
|00003a50| 7b 0a 58 09 09 73 74 72 | 5f 65 78 70 6f 72 74 28 |{.X..str|_export(|
|00003a60| 70 2c 20 6d 2b 31 36 2c | 20 63 2c 20 30 2c 20 63 |p, m+16,| c, 0, c|
|00003a70| 6c 65 6e 29 3b 0a 58 09 | 09 6d 61 6b 65 5f 68 65 |len);.X.|.make_he|
|00003a80| 61 64 65 72 28 6d 2c 20 | 6b 65 79 2c 20 63 6c 65 |ader(m, |key, cle|
|00003a90| 6e 2c 20 30 29 3b 0a 58 | 09 7d 0a 58 09 72 65 74 |n, 0);.X|.}.X.ret|
|00003aa0| 75 72 6e 20 73 74 72 5f | 69 6d 70 6f 72 74 28 70 |urn str_|import(p|
|00003ab0| 2c 20 6d 2c 20 6c 65 6e | 2c 20 6c 65 6e 29 3b 0a |, m, len|, len);.|
|00003ac0| 58 7d 0a 58 0a 58 0a 58 | 2f 2a 20 6d 73 67 72 20 |X}.X.X.X|/* msgr |
|00003ad0| 73 74 72 69 6e 67 20 6d | 20 6d 75 73 74 20 6e 6f |string m| must no|
|00003ae0| 74 20 62 65 20 73 68 61 | 72 65 64 2c 20 62 75 74 |t be sha|red, but|
|00003af0| 20 63 6f 6e 74 69 67 69 | 6f 75 73 20 28 6e 6f 20 | contigi|ous (no |
|00003b00| 73 75 62 74 79 70 65 29 | 20 2a 2f 0a 58 0a 58 72 |subtype)| */.X.Xr|
|00003b10| 65 74 63 6f 64 65 0a 58 | 64 65 63 6f 6d 70 5f 6d |etcode.X|decomp_m|
|00003b20| 73 67 72 28 6d 70 72 6f | 63 20 70 2c 20 65 69 6e |sgr(mpro|c p, ein|
|00003b30| 64 65 78 20 6d 2c 20 65 | 69 6e 64 65 78 20 2a 71 |dex m, e|index *q|
|00003b40| 2c 20 65 69 6e 64 65 78 | 20 2a 63 2c 20 65 69 6e |, eindex| *c, ein|
|00003b50| 64 65 78 20 2a 64 29 0a | 58 7b 0a 58 09 65 70 74 |dex *d).|X{.X.ept|
|00003b60| 72 20 6d 70 20 3d 20 65 | 61 64 64 72 28 70 2c 6d |r mp = e|addr(p,m|
|00003b70| 29 3b 0a 58 09 73 74 72 | 75 63 74 20 68 65 61 64 |);.X.str|uct head|
|00003b80| 65 72 5f 73 20 68 64 72 | 3b 0a 58 09 75 69 6e 74 |er_s hdr|;.X.uint|
|00003b90| 20 68 6c 65 6e 20 3d 20 | 73 69 7a 65 6f 66 28 68 | hlen = |sizeof(h|
|00003ba0| 64 72 29 2c 20 63 6f 66 | 66 73 2c 20 64 6f 66 66 |dr), cof|fs, doff|
|00003bb0| 73 3b 0a 58 09 62 79 74 | 65 70 74 72 20 73 3b 0a |s;.X.byt|eptr s;.|
|00003bc0| 58 0a 58 09 69 66 20 28 | 65 70 6c 65 6e 28 6d 70 |X.X.if (|eplen(mp|
|00003bd0| 29 20 3c 20 31 36 29 0a | 58 09 09 72 65 74 75 72 |) < 16).|X..retur|
|00003be0| 6e 20 45 52 52 5f 53 48 | 4f 52 54 5f 4d 53 47 52 |n ERR_SH|ORT_MSGR|
|00003bf0| 3b 0a 58 09 73 20 3d 20 | 6d 70 2d 3e 56 2e 73 74 |;.X.s = |mp->V.st|
|00003c00| 72 2e 73 3b 0a 58 0a 58 | 09 69 66 20 28 65 70 6c |r.s;.X.X|.if (epl|
|00003c10| 65 6e 28 6d 70 29 20 3c | 20 73 69 7a 65 6f 66 28 |en(mp) <| sizeof(|
|00003c20| 68 64 72 29 29 0a 58 09 | 09 68 6c 65 6e 20 3d 20 |hdr)).X.|.hlen = |
|00003c30| 65 70 6c 65 6e 28 6d 70 | 29 3b 0a 58 09 6d 65 6d |eplen(mp|);.X.mem|
|00003c40| 63 70 79 28 28 63 68 61 | 72 2a 29 26 68 64 72 2c |cpy((cha|r*)&hdr,|
|00003c50| 20 28 63 68 61 72 2a 29 | 73 2c 20 68 6c 65 6e 29 | (char*)|s, hlen)|
|00003c60| 3b 0a 58 0a 58 09 69 66 | 20 28 68 64 72 2e 76 65 |;.X.X.if| (hdr.ve|
|00003c70| 72 73 69 6f 6e 20 21 3d | 20 30 20 29 0a 58 09 09 |rsion !=| 0 ).X..|
|00003c80| 72 65 74 75 72 6e 20 45 | 52 52 5f 4d 53 47 52 5f |return E|RR_MSGR_|
|00003c90| 57 52 4f 4e 47 5f 56 45 | 52 53 49 4f 4e 3b 0a 58 |WRONG_VE|RSION;.X|
|00003ca0| 0a 58 23 69 66 64 65 66 | 20 4c 49 54 54 4c 45 5f |.X#ifdef| LITTLE_|
|00003cb0| 45 4e 44 49 41 4e 0a 58 | 09 73 77 61 70 5f 73 68 |ENDIAN.X|.swap_sh|
|00003cc0| 6f 72 74 28 26 28 68 64 | 72 2e 63 72 63 29 29 3b |ort(&(hd|r.crc));|
|00003cd0| 0a 58 09 73 77 61 70 5f | 69 6e 74 28 26 28 68 64 |.X.swap_|int(&(hd|
|00003ce0| 72 2e 63 6f 64 65 6c 65 | 6e 29 29 3b 0a 58 23 65 |r.codele|n));.X#e|
|00003cf0| 6e 64 69 66 0a 58 09 63 | 6f 66 66 73 20 3d 20 31 |ndif.X.c|offs = 1|
|00003d00| 36 3b 0a 58 09 69 66 20 | 28 68 64 72 2e 66 6c 61 |6;.X.if |(hdr.fla|
|00003d10| 67 73 20 26 20 30 78 38 | 30 29 20 7b 0a 58 23 69 |gs & 0x8|0) {.X#i|
|00003d20| 66 64 65 66 20 4c 49 54 | 54 4c 45 5f 45 4e 44 49 |fdef LIT|TLE_ENDI|
|00003d30| 41 4e 0a 58 09 09 73 77 | 61 70 5f 69 6e 74 28 26 |AN.X..sw|ap_int(&|
|00003d40| 28 68 64 72 2e 64 61 74 | 61 6c 65 6e 29 29 3b 0a |(hdr.dat|alen));.|
|00003d50| 58 23 65 6e 64 69 66 0a | 58 09 09 63 6f 66 66 73 |X#endif.|X..coffs|
|00003d60| 20 2b 3d 20 34 3b 0a 58 | 09 09 64 6f 66 66 73 20 | += 4;.X|..doffs |
|00003d70| 3d 20 63 6f 66 66 73 20 | 2b 20 34 2a 28 28 68 64 |= coffs |+ 4*((hd|
|00003d80| 72 2e 63 6f 64 65 6c 65 | 6e 2b 33 29 2f 34 29 3b |r.codele|n+3)/4);|
|00003d90| 0a 58 09 7d 20 65 6c 73 | 65 0a 58 09 09 68 64 72 |.X.} els|e.X..hdr|
|00003da0| 2e 64 61 74 61 6c 65 6e | 20 3d 20 30 3b 0a 58 0a |.datalen| = 0;.X.|
|00003db0| 58 09 69 66 20 28 63 6f | 66 66 73 20 2b 20 68 64 |X.if (co|ffs + hd|
|00003dc0| 72 2e 63 6f 64 65 6c 65 | 6e 20 3e 20 65 70 6c 65 |r.codele|n > eple|
|00003dd0| 6e 28 6d 70 29 29 0a 58 | 09 09 72 65 74 75 72 6e |n(mp)).X|..return|
|00003de0| 20 45 52 52 5f 4d 53 47 | 52 5f 43 52 43 3b 0a 58 | ERR_MSG|R_CRC;.X|
|00003df0| 0a 58 09 69 66 20 28 63 | 72 63 5f 63 63 69 74 74 |.X.if (c|rc_ccitt|
|00003e00| 28 73 2b 32 2c 20 63 6f | 66 66 73 20 2b 20 68 64 |(s+2, co|ffs + hd|
|00003e10| 72 2e 63 6f 64 65 6c 65 | 6e 20 2d 20 32 29 20 21 |r.codele|n - 2) !|
|00003e20| 3d 20 68 64 72 2e 63 72 | 63 20 29 0a 58 09 09 72 |= hdr.cr|c ).X..r|
|00003e30| 65 74 75 72 6e 20 45 52 | 52 5f 4d 53 47 52 5f 43 |eturn ER|R_MSGR_C|
|00003e40| 52 43 3b 0a 58 0a 58 09 | 65 70 61 74 74 72 28 6d |RC;.X.X.|epattr(m|
|00003e50| 70 29 20 26 3d 20 7e 28 | 41 5f 45 58 45 43 55 54 |p) &= ~(|A_EXECUT|
|00003e60| 41 42 4c 45 20 7c 20 41 | 5f 57 52 49 54 45 29 3b |ABLE | A|_WRITE);|
|00003e70| 0a 58 09 2a 71 20 3d 20 | 6b 65 79 5f 61 64 64 28 |.X.*q = |key_add(|
|00003e80| 68 64 72 2e 71 75 65 75 | 65 29 3b 0a 58 09 2a 63 |hdr.queu|e);.X.*c|
|00003e90| 20 3d 20 6d 61 6b 65 5f | 73 75 62 28 70 2c 20 6d | = make_|sub(p, m|
|00003ea0| 2c 20 63 6f 66 66 73 29 | 3b 0a 58 09 65 6c 65 6e |, coffs)|;.X.elen|
|00003eb0| 28 70 2c 2a 63 29 20 3d | 20 68 64 72 2e 63 6f 64 |(p,*c) =| hdr.cod|
|00003ec0| 65 6c 65 6e 3b 0a 58 09 | 65 61 74 74 72 28 70 2c |elen;.X.|eattr(p,|
|00003ed0| 2a 63 29 20 26 3d 20 7e | 41 5f 57 52 49 54 45 3b |*c) &= ~|A_WRITE;|
|00003ee0| 0a 58 09 69 66 20 28 68 | 64 72 2e 64 61 74 61 6c |.X.if (h|dr.datal|
|00003ef0| 65 6e 29 20 7b 0a 58 09 | 09 2a 64 20 3d 20 6d 61 |en) {.X.|.*d = ma|
|00003f00| 6b 65 5f 73 75 62 28 70 | 2c 20 6d 2c 20 64 6f 66 |ke_sub(p|, m, dof|
|00003f10| 66 73 29 3b 0a 58 09 09 | 69 66 20 28 64 6f 66 66 |fs);.X..|if (doff|
|00003f20| 73 2b 68 64 72 2e 64 61 | 74 61 6c 65 6e 20 3c 3d |s+hdr.da|talen <=|
|00003f30| 20 65 70 6c 65 6e 28 6d | 70 29 29 0a 58 09 09 09 | eplen(m|p)).X...|
|00003f40| 65 6c 65 6e 28 70 2c 2a | 64 29 20 3d 20 68 64 72 |elen(p,*|d) = hdr|
|00003f50| 2e 64 61 74 61 6c 65 6e | 3b 0a 58 09 09 65 6c 73 |.datalen|;.X..els|
|00003f60| 65 0a 58 09 09 09 65 6c | 65 6e 28 70 2c 2a 64 29 |e.X...el|en(p,*d)|
|00003f70| 20 3d 20 65 70 6c 65 6e | 28 6d 70 29 20 2d 20 64 | = eplen|(mp) - d|
|00003f80| 6f 66 66 73 3b 0a 58 09 | 09 65 61 74 74 72 28 70 |offs;.X.|.eattr(p|
|00003f90| 2c 2a 64 29 20 26 3d 20 | 7e 41 5f 57 52 49 54 45 |,*d) &= |~A_WRITE|
|00003fa0| 3b 0a 58 09 7d 20 65 6c | 73 65 0a 58 09 09 2a 64 |;.X.} el|se.X..*d|
|00003fb0| 20 3d 20 30 3b 0a 58 0a | 58 09 72 65 74 75 72 6e | = 0;.X.|X.return|
|00003fc0| 20 4f 4b 3b 0a 58 7d 0a | 45 4e 44 5f 4f 46 5f 46 | OK;.X}.|END_OF_F|
|00003fd0| 49 4c 45 0a 69 66 20 74 | 65 73 74 20 33 38 33 35 |ILE.if t|est 3835|
|00003fe0| 20 2d 6e 65 20 60 77 63 | 20 2d 63 20 3c 27 6c 5f | -ne `wc| -c <'l_|
|00003ff0| 66 6f 72 6d 61 74 2e 63 | 27 60 3b 20 74 68 65 6e |format.c|'`; then|
|00004000| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|00004010| 5c 22 27 6c 5f 66 6f 72 | 6d 61 74 2e 63 27 5c 22 |\"'l_for|mat.c'\"|
|00004020| 20 75 6e 70 61 63 6b 65 | 64 20 77 69 74 68 20 77 | unpacke|d with w|
|00004030| 72 6f 6e 67 20 73 69 7a | 65 21 0a 66 69 0a 23 20 |rong siz|e!.fi.# |
|00004040| 65 6e 64 20 6f 66 20 27 | 6c 5f 66 6f 72 6d 61 74 |end of '|l_format|
|00004050| 2e 63 27 0a 66 69 0a 69 | 66 20 74 65 73 74 20 2d |.c'.fi.i|f test -|
|00004060| 66 20 27 6c 5f 69 6e 63 | 6f 6d 2e 63 27 20 2d 61 |f 'l_inc|om.c' -a|
|00004070| 20 22 24 7b 31 7d 22 20 | 21 3d 20 22 2d 63 22 20 | "${1}" |!= "-c" |
|00004080| 3b 20 74 68 65 6e 20 0a | 20 20 65 63 68 6f 20 73 |; then .| echo s|
|00004090| 68 61 72 3a 20 57 69 6c | 6c 20 6e 6f 74 20 63 6c |har: Wil|l not cl|
|000040a0| 6f 62 62 65 72 20 65 78 | 69 73 74 69 6e 67 20 66 |obber ex|isting f|
|000040b0| 69 6c 65 20 5c 22 27 6c | 5f 69 6e 63 6f 6d 2e 63 |ile \"'l|_incom.c|
|000040c0| 27 5c 22 0a 65 6c 73 65 | 0a 65 63 68 6f 20 73 68 |'\".else|.echo sh|
|000040d0| 61 72 3a 20 45 78 74 72 | 61 63 74 69 6e 67 20 5c |ar: Extr|acting \|
|000040e0| 22 27 6c 5f 69 6e 63 6f | 6d 2e 63 27 5c 22 20 5c |"'l_inco|m.c'\" \|
|000040f0| 28 33 34 31 32 20 63 68 | 61 72 61 63 74 65 72 73 |(3412 ch|aracters|
|00004100| 5c 29 0a 73 65 64 20 22 | 73 2f 5e 58 2f 2f 22 20 |\).sed "|s/^X//" |
|00004110| 3e 27 6c 5f 69 6e 63 6f | 6d 2e 63 27 20 3c 3c 27 |>'l_inco|m.c' <<'|
|00004120| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 27 0a 58 2f 2a |END_OF_F|ILE'.X/*|
|00004130| 0a 58 09 6c 5f 69 6e 63 | 6f 6d 2e 63 0a 58 2a 2f |.X.l_inc|om.c.X*/|
|00004140| 0a 58 2f 2a 20 20 43 6f | 70 79 72 69 67 68 74 20 |.X/* Co|pyright |
|00004150| 28 63 29 20 31 39 39 34 | 20 43 68 72 69 73 74 69 |(c) 1994| Christi|
|00004160| 61 6e 20 46 2e 20 54 73 | 63 68 75 64 69 6e 2e 20 |an F. Ts|chudin. |
|00004170| 41 6c 6c 20 72 69 67 68 | 74 73 20 72 65 73 65 72 |All righ|ts reser|
|00004180| 76 65 64 2e 0a 58 0a 58 | 20 20 20 20 44 69 73 74 |ved..X.X| Dist|
|00004190| 72 69 62 75 74 65 64 20 | 75 6e 64 65 72 20 74 68 |ributed |under th|
|000041a0| 65 20 74 65 72 6d 73 20 | 6f 66 20 74 68 65 20 47 |e terms |of the G|
|000041b0| 4e 55 20 47 65 6e 65 72 | 61 6c 20 50 75 62 6c 69 |NU Gener|al Publi|
|000041c0| 63 20 4c 69 63 65 6e 73 | 65 0a 58 20 20 20 20 76 |c Licens|e.X v|
|000041d0| 65 72 73 69 6f 6e 20 32 | 20 6f 66 20 6a 75 6e 65 |ersion 2| of june|
|000041e0| 20 31 39 39 31 20 61 73 | 20 70 75 62 6c 69 73 68 | 1991 as| publish|
|000041f0| 65 64 20 62 79 20 74 68 | 65 20 46 72 65 65 20 53 |ed by th|e Free S|
|00004200| 6f 66 74 77 61 72 65 0a | 58 20 20 20 20 46 6f 75 |oftware.|X Fou|
|00004210| 6e 64 61 74 69 6f 6e 2c | 20 49 6e 63 2e 0a 58 0a |ndation,| Inc..X.|
|00004220| 58 09 09 20 20 20 20 20 | 54 68 69 73 20 66 69 6c |X.. |This fil|
|00004230| 65 20 69 73 20 70 61 72 | 74 20 6f 66 20 4d 30 2e |e is par|t of M0.|
|00004240| 0a 58 0a 58 4d 30 20 69 | 73 20 64 69 73 74 72 69 |.X.XM0 i|s distri|
|00004250| 62 75 74 65 64 20 69 6e | 20 74 68 65 20 68 6f 70 |buted in| the hop|
|00004260| 65 20 74 68 61 74 20 69 | 74 20 77 69 6c 6c 20 62 |e that i|t will b|
|00004270| 65 20 75 73 65 66 75 6c | 2c 20 62 75 74 20 57 49 |e useful|, but WI|
|00004280| 54 48 4f 55 54 20 41 4e | 59 0a 58 57 41 52 52 41 |THOUT AN|Y.XWARRA|
|00004290| 4e 54 59 2e 20 20 4e 6f | 20 61 75 74 68 6f 72 20 |NTY. No| author |
|000042a0| 6f 72 20 64 69 73 74 72 | 69 62 75 74 6f 72 20 61 |or distr|ibutor a|
|000042b0| 63 63 65 70 74 73 20 72 | 65 73 70 6f 6e 73 69 62 |ccepts r|esponsib|
|000042c0| 69 6c 69 74 79 20 74 6f | 20 61 6e 79 6f 6e 65 20 |ility to| anyone |
|000042d0| 66 6f 72 0a 58 74 68 65 | 20 63 6f 6e 73 65 71 75 |for.Xthe| consequ|
|000042e0| 65 6e 63 65 73 20 6f 66 | 20 75 73 69 6e 67 20 69 |ences of| using i|
|000042f0| 74 20 6f 72 20 66 6f 72 | 20 77 68 65 74 68 65 72 |t or for| whether|
|00004300| 20 69 74 20 73 65 72 76 | 65 73 20 61 6e 79 20 70 | it serv|es any p|
|00004310| 61 72 74 69 63 75 6c 61 | 72 0a 58 70 75 72 70 6f |articula|r.Xpurpo|
|00004320| 73 65 20 6f 72 20 77 6f | 72 6b 73 20 61 74 20 61 |se or wo|rks at a|
|00004330| 6c 6c 2c 20 75 6e 6c 65 | 73 73 20 68 65 20 73 61 |ll, unle|ss he sa|
|00004340| 79 73 20 73 6f 20 69 6e | 20 77 72 69 74 69 6e 67 |ys so in| writing|
|00004350| 2e 20 20 52 65 66 65 72 | 20 74 6f 20 74 68 65 20 |. Refer| to the |
|00004360| 47 4e 55 0a 58 47 65 6e | 65 72 61 6c 20 50 75 62 |GNU.XGen|eral Pub|
|00004370| 6c 69 63 20 4c 69 63 65 | 6e 73 65 20 66 6f 72 20 |lic Lice|nse for |
|00004380| 66 75 6c 6c 20 64 65 74 | 61 69 6c 73 2e 20 0a 58 |full det|ails. .X|
|00004390| 0a 58 45 76 65 72 79 6f | 6e 65 20 69 73 20 67 72 |.XEveryo|ne is gr|
|000043a0| 61 6e 74 65 64 20 70 65 | 72 6d 69 73 73 69 6f 6e |anted pe|rmission|
|000043b0| 20 74 6f 20 63 6f 70 79 | 2c 20 6d 6f 64 69 66 79 | to copy|, modify|
|000043c0| 20 61 6e 64 20 72 65 64 | 69 73 74 72 69 62 75 74 | and red|istribut|
|000043d0| 65 20 4d 30 2c 20 62 75 | 74 0a 58 6f 6e 6c 79 20 |e M0, bu|t.Xonly |
|000043e0| 75 6e 64 65 72 20 74 68 | 65 20 63 6f 6e 64 69 74 |under th|e condit|
|000043f0| 69 6f 6e 73 20 64 65 73 | 63 72 69 62 65 64 20 69 |ions des|cribed i|
|00004400| 6e 20 74 68 65 20 47 4e | 55 20 47 65 6e 65 72 61 |n the GN|U Genera|
|00004410| 6c 20 50 75 62 6c 69 63 | 20 4c 69 63 65 6e 73 65 |l Public| License|
|00004420| 2e 20 0a 58 41 20 63 6f | 70 79 20 6f 66 20 74 68 |. .XA co|py of th|
|00004430| 69 73 20 6c 69 63 65 6e | 73 65 20 69 73 20 73 75 |is licen|se is su|
|00004440| 70 70 6f 73 65 64 20 74 | 6f 20 68 61 76 65 20 62 |pposed t|o have b|
|00004450| 65 65 6e 20 67 69 76 65 | 6e 20 74 6f 20 79 6f 75 |een give|n to you|
|00004460| 20 61 6c 6f 6e 67 20 77 | 69 74 68 0a 58 4d 30 20 | along w|ith.XM0 |
|00004470| 73 6f 20 79 6f 75 20 63 | 61 6e 20 6b 6e 6f 77 20 |so you c|an know |
|00004480| 79 6f 75 72 20 72 69 67 | 68 74 73 20 61 6e 64 20 |your rig|hts and |
|00004490| 72 65 73 70 6f 6e 73 69 | 62 69 6c 69 74 69 65 73 |responsi|bilities|
|000044a0| 2e 20 20 49 74 20 73 68 | 6f 75 6c 64 20 62 65 20 |. It sh|ould be |
|000044b0| 69 6e 20 61 0a 58 66 69 | 6c 65 20 6e 61 6d 65 64 |in a.Xfi|le named|
|000044c0| 20 4c 49 43 45 4e 53 45 | 2e 20 20 41 6d 6f 6e 67 | LICENSE|. Among|
|000044d0| 20 6f 74 68 65 72 20 74 | 68 69 6e 67 73 2c 20 74 | other t|hings, t|
|000044e0| 68 65 20 63 6f 70 79 72 | 69 67 68 74 20 6e 6f 74 |he copyr|ight not|
|000044f0| 69 63 65 20 61 6e 64 20 | 74 68 69 73 0a 58 6e 6f |ice and |this.Xno|
|00004500| 74 69 63 65 20 6d 75 73 | 74 20 62 65 20 70 72 65 |tice mus|t be pre|
|00004510| 73 65 72 76 65 64 20 6f | 6e 20 61 6c 6c 20 63 6f |served o|n all co|
|00004520| 70 69 65 73 2e 20 20 2a | 2f 0a 58 0a 58 23 69 66 |pies. *|/.X.X#if|
|00004530| 64 65 66 20 75 6e 69 78 | 0a 58 0a 58 23 69 6e 63 |def unix|.X.X#inc|
|00004540| 6c 75 64 65 20 3c 73 79 | 73 2f 74 79 70 65 73 2e |lude <sy|s/types.|
|00004550| 68 3e 0a 58 23 69 6e 63 | 6c 75 64 65 20 3c 73 79 |h>.X#inc|lude <sy|
|00004560| 73 2f 74 69 6d 65 2e 68 | 3e 0a 58 0a 58 23 69 6e |s/time.h|>.X.X#in|
|00004570| 63 6c 75 64 65 20 22 6c | 5f 70 72 6f 74 6f 2e 68 |clude "l|_proto.h|
|00004580| 22 0a 58 0a 58 0a 58 73 | 74 61 74 69 63 20 72 65 |".X.X.Xs|tatic re|
|00004590| 63 65 69 76 65 66 63 74 | 09 72 63 76 5b 46 44 5f |ceivefct|.rcv[FD_|
|000045a0| 53 45 54 53 49 5a 45 5d | 3b 0a 58 73 74 61 74 69 |SETSIZE]|;.Xstati|
|000045b0| 63 20 65 69 6e 64 65 78 | 09 09 63 68 61 6e 5f 6e |c eindex|..chan_n|
|000045c0| 61 6d 65 5b 46 44 5f 53 | 45 54 53 49 5a 45 5d 3b |ame[FD_S|ETSIZE];|
|000045d0| 0a 58 73 74 61 74 69 63 | 20 73 69 6e 74 09 09 63 |.Xstatic| sint..c|
|000045e0| 68 61 6e 5f 6e 6f 5b 46 | 44 5f 53 45 54 53 49 5a |han_no[F|D_SETSIZ|
|000045f0| 45 5d 3b 0a 58 0a 58 73 | 74 61 74 69 63 20 76 6f |E];.X.Xs|tatic vo|
|00004600| 69 64 20 73 65 74 5f 66 | 64 73 65 74 28 66 64 5f |id set_f|dset(fd_|
|00004610| 73 65 74 20 2a 73 70 29 | 0a 58 7b 0a 58 09 69 6e |set *sp)|.X{.X.in|
|00004620| 74 20 69 3b 0a 58 0a 58 | 20 20 20 20 20 20 20 20 |t i;.X.X| |
|00004630| 46 44 5f 5a 45 52 4f 28 | 73 70 29 3b 0a 58 09 66 |FD_ZERO(|sp);.X.f|
|00004640| 6f 72 20 28 69 20 3d 20 | 30 3b 20 69 20 3c 20 46 |or (i = |0; i < F|
|00004650| 44 5f 53 45 54 53 49 5a | 45 3b 20 69 2b 2b 29 0a |D_SETSIZ|E; i++).|
|00004660| 58 09 09 69 66 20 28 72 | 63 76 5b 69 5d 29 0a 58 |X..if (r|cv[i]).X|
|00004670| 09 09 20 20 20 20 20 20 | 20 20 46 44 5f 53 45 54 |.. | FD_SET|
|00004680| 28 69 2c 20 73 70 29 3b | 0a 58 7d 0a 58 0a 58 0a |(i, sp);|.X}.X.X.|
|00004690| 58 76 6f 69 64 0a 58 61 | 64 64 5f 69 6e 63 6f 6d |Xvoid.Xa|dd_incom|
|000046a0| 69 6e 67 28 69 6e 74 20 | 66 64 2c 20 72 65 63 65 |ing(int |fd, rece|
|000046b0| 69 76 65 66 63 74 20 66 | 63 74 2c 20 65 69 6e 64 |ivefct f|ct, eind|
|000046c0| 65 78 20 6e 61 6d 65 2c | 20 73 69 6e 74 20 6e 6f |ex name,| sint no|
|000046d0| 29 0a 58 7b 0a 58 09 72 | 63 76 5b 66 64 5d 20 3d |).X{.X.r|cv[fd] =|
|000046e0| 20 66 63 74 3b 0a 58 09 | 63 68 61 6e 5f 6e 61 6d | fct;.X.|chan_nam|
|000046f0| 65 5b 66 64 5d 20 3d 20 | 6e 61 6d 65 3b 0a 58 09 |e[fd] = |name;.X.|
|00004700| 63 68 61 6e 5f 6e 6f 5b | 66 64 5d 20 3d 20 6e 6f |chan_no[|fd] = no|
|00004710| 3b 0a 58 7d 0a 58 0a 58 | 0a 58 69 6e 74 0a 58 69 |;.X}.X.X|.Xint.Xi|
|00004720| 6e 63 6f 6d 69 6e 67 5f | 77 6f 75 6c 64 62 6c 6f |ncoming_|wouldblo|
|00004730| 63 6b 28 29 0a 58 7b 0a | 58 73 74 61 74 69 63 20 |ck().X{.|Xstatic |
|00004740| 73 74 72 75 63 74 20 74 | 69 6d 65 76 61 6c 20 4e |struct t|imeval N|
|00004750| 4f 44 45 4c 41 59 20 3d | 20 7b 30 2c 30 7d 3b 0a |ODELAY =| {0,0};.|
|00004760| 58 09 66 64 5f 73 65 74 | 20 72 3b 0a 58 0a 58 09 |X.fd_set| r;.X.X.|
|00004770| 73 65 74 5f 66 64 73 65 | 74 28 26 72 29 3b 0a 58 |set_fdse|t(&r);.X|
|00004780| 09 72 65 74 75 72 6e 20 | 73 65 6c 65 63 74 28 46 |.return |select(F|
|00004790| 44 5f 53 45 54 53 49 5a | 45 2c 20 26 72 2c 20 30 |D_SETSIZ|E, &r, 0|
|000047a0| 2c 20 30 2c 20 26 4e 4f | 44 45 4c 41 59 29 20 3c |, 0, &NO|DELAY) <|
|000047b0| 3d 20 30 3b 0a 58 7d 0a | 58 0a 58 0a 58 69 6e 74 |= 0;.X}.|X.X.Xint|
|000047c0| 0a 58 73 65 72 76 65 5f | 69 6e 63 6f 6d 69 6e 67 |.Xserve_|incoming|
|000047d0| 28 6c 6f 6e 67 20 75 73 | 65 63 29 0a 58 7b 0a 58 |(long us|ec).X{.X|
|000047e0| 09 66 64 5f 73 65 74 20 | 72 3b 0a 58 09 69 6e 74 |.fd_set |r;.X.int|
|000047f0| 20 63 6e 74 2c 20 69 3b | 0a 58 0a 58 09 73 65 74 | cnt, i;|.X.X.set|
|00004800| 5f 66 64 73 65 74 28 26 | 72 29 3b 0a 58 0a 58 09 |_fdset(&|r);.X.X.|
|00004810| 69 66 20 28 75 73 65 63 | 20 3e 20 30 29 20 7b 0a |if (usec| > 0) {.|
|00004820| 58 09 09 73 74 72 75 63 | 74 20 74 69 6d 65 76 61 |X..struc|t timeva|
|00004830| 6c 20 64 65 6c 61 79 3b | 0a 58 09 09 64 65 6c 61 |l delay;|.X..dela|
|00004840| 79 2e 74 76 5f 73 65 63 | 20 3d 20 75 73 65 63 20 |y.tv_sec| = usec |
|00004850| 2f 20 31 30 30 30 30 30 | 30 3b 0a 58 09 09 64 65 |/ 100000|0;.X..de|
|00004860| 6c 61 79 2e 74 76 5f 75 | 73 65 63 20 3d 20 75 73 |lay.tv_u|sec = us|
|00004870| 65 63 20 25 20 31 30 30 | 30 30 30 30 3b 0a 58 09 |ec % 100|0000;.X.|
|00004880| 09 63 6e 74 20 3d 20 73 | 65 6c 65 63 74 28 46 44 |.cnt = s|elect(FD|
|00004890| 5f 53 45 54 53 49 5a 45 | 2c 20 26 72 2c 20 30 2c |_SETSIZE|, &r, 0,|
|000048a0| 20 30 2c 20 26 64 65 6c | 61 79 29 3b 0a 58 09 7d | 0, &del|ay);.X.}|
|000048b0| 20 65 6c 73 65 0a 58 09 | 09 63 6e 74 20 3d 20 73 | else.X.|.cnt = s|
|000048c0| 65 6c 65 63 74 28 46 44 | 5f 53 45 54 53 49 5a 45 |elect(FD|_SETSIZE|
|000048d0| 2c 20 26 72 2c 20 30 2c | 20 30 2c 20 30 29 3b 0a |, &r, 0,| 0, 0);.|
|000048e0| 58 09 69 66 20 28 63 6e | 74 20 3c 3d 20 30 29 0a |X.if (cn|t <= 0).|
|000048f0| 58 09 09 72 65 74 75 72 | 6e 20 30 3b 0a 58 0a 58 |X..retur|n 0;.X.X|
|00004900| 09 66 6f 72 20 28 69 20 | 3d 20 30 3b 20 69 20 3c |.for (i |= 0; i <|
|00004910| 20 46 44 5f 53 45 54 53 | 49 5a 45 3b 20 69 2b 2b | FD_SETS|IZE; i++|
|00004920| 29 0a 58 09 20 20 20 20 | 69 66 20 28 46 44 5f 49 |).X. |if (FD_I|
|00004930| 53 53 45 54 28 69 2c 20 | 26 72 29 29 20 7b 0a 58 |SSET(i, |&r)) {.X|
|00004940| 09 09 65 69 6e 64 65 78 | 20 6d 73 67 72 2c 20 6f |..eindex| msgr, o|
|00004950| 72 69 67 5f 61 64 64 72 | 3b 0a 58 09 09 72 65 74 |rig_addr|;.X..ret|
|00004960| 63 6f 64 65 20 72 63 3b | 0a 58 0a 58 09 09 72 63 |code rc;|.X.X..rc|
|00004970| 76 5b 69 5d 28 69 2c 20 | 26 6d 73 67 72 2c 20 26 |v[i](i, |&msgr, &|
|00004980| 6f 72 69 67 5f 61 64 64 | 72 29 3b 0a 58 09 09 69 |orig_add|r);.X..i|
|00004990| 66 20 28 6d 73 67 72 29 | 20 7b 0a 58 09 09 09 65 |f (msgr)| {.X...e|
|000049a0| 69 6e 64 65 78 20 6f 20 | 3d 20 6e 65 77 5f 61 72 |index o |= new_ar|
|000049b0| 72 61 79 28 30 2c 20 33 | 29 3b 0a 58 09 09 09 65 |ray(0, 3|);.X...e|
|000049c0| 69 6e 64 65 78 20 6e 20 | 3d 20 6e 65 77 5f 65 6c |index n |= new_el|
|000049d0| 65 6d 65 6e 74 28 30 2c | 20 54 5f 49 4e 54 29 3b |ement(0,| T_INT);|
|000049e0| 0a 58 0a 58 09 09 09 61 | 72 72 61 79 5f 70 75 74 |.X.X...a|rray_put|
|000049f0| 28 30 2c 20 6f 2c 20 30 | 2c 20 63 68 61 6e 5f 6e |(0, o, 0|, chan_n|
|00004a00| 61 6d 65 5b 69 5d 29 3b | 0a 58 09 09 09 69 6e 63 |ame[i]);|.X...inc|
|00004a10| 72 65 66 70 28 67 61 64 | 64 72 28 63 68 61 6e 5f |refp(gad|dr(chan_|
|00004a20| 6e 61 6d 65 5b 69 5d 29 | 29 3b 0a 58 09 09 09 67 |name[i])|);.X...g|
|00004a30| 61 64 64 72 28 6e 29 2d | 3e 56 2e 69 20 3d 20 63 |addr(n)-|>V.i = c|
|00004a40| 68 61 6e 5f 6e 6f 5b 69 | 5d 3b 0a 58 09 09 09 61 |han_no[i|];.X...a|
|00004a50| 72 72 61 79 5f 70 75 74 | 28 30 2c 20 6f 2c 20 31 |rray_put|(0, o, 1|
|00004a60| 2c 20 6e 29 3b 0a 58 09 | 09 09 61 72 72 61 79 5f |, n);.X.|..array_|
|00004a70| 70 75 74 28 30 2c 20 6f | 2c 20 32 2c 20 6f 72 69 |put(0, o|, 2, ori|
|00004a80| 67 5f 61 64 64 72 29 3b | 0a 58 09 09 09 65 70 61 |g_addr);|.X...epa|
|00004a90| 74 74 72 28 67 61 64 64 | 72 28 6f 29 29 20 26 3d |ttr(gadd|r(o)) &=|
|00004aa0| 20 7e 41 5f 57 52 49 54 | 45 3b 0a 58 0a 58 09 09 | ~A_WRIT|E;.X.X..|
|00004ab0| 09 72 63 20 3d 20 6e 65 | 77 5f 70 72 6f 63 28 6d |.rc = ne|w_proc(m|
|00004ac0| 73 67 72 2c 20 6f 29 3b | 0a 58 09 09 09 64 65 63 |sgr, o);|.X...dec|
|00004ad0| 72 65 66 28 30 2c 20 6d | 73 67 72 29 3b 0a 58 09 |ref(0, m|sgr);.X.|
|00004ae0| 09 09 64 65 63 72 65 66 | 28 30 2c 20 6f 29 3b 0a |..decref|(0, o);.|
|00004af0| 58 09 09 09 54 52 41 43 | 45 28 33 2c 20 69 66 20 |X...TRAC|E(3, if |
|00004b00| 28 72 63 20 21 3d 20 4f | 4b 20 26 26 20 72 63 20 |(rc != O|K && rc |
|00004b10| 21 3d 20 59 49 45 4c 44 | 5f 43 50 55 29 0a 58 09 |!= YIELD|_CPU).X.|
|00004b20| 09 09 09 70 72 69 6e 74 | 66 28 22 65 72 72 6f 72 |...print|f("error|
|00004b30| 20 25 64 20 63 72 65 61 | 74 69 6e 67 20 61 20 70 | %d crea|ting a p|
|00004b40| 72 6f 63 65 73 73 5c 6e | 22 2c 20 72 63 29 29 0a |rocess\n|", rc)).|
|00004b50| 58 09 09 7d 0a 58 09 20 | 20 20 20 7d 0a 58 0a 58 |X..}.X. | }.X.X|
|00004b60| 09 72 65 74 75 72 6e 20 | 63 6e 74 3b 0a 58 7d 0a |.return |cnt;.X}.|
|00004b70| 58 0a 58 23 65 6c 73 65 | 20 2f 2a 20 5f 5f 4d 53 |X.X#else| /* __MS|
|00004b80| 44 4f 53 5f 5f 20 2a 2f | 0a 58 0a 58 23 69 6e 63 |DOS__ */|.X.X#inc|
|00004b90| 6c 75 64 65 20 3c 63 6f | 6e 69 6f 2e 68 3e 0a 58 |lude <co|nio.h>.X|
|00004ba0| 23 69 6e 63 6c 75 64 65 | 20 22 6c 5f 70 72 6f 74 |#include| "l_prot|
|00004bb0| 6f 2e 68 22 0a 58 0a 58 | 73 74 61 74 69 63 20 72 |o.h".X.X|static r|
|00004bc0| 65 63 65 69 76 65 66 63 | 74 20 72 65 61 64 30 3b |eceivefc|t read0;|
|00004bd0| 0a 58 73 74 61 74 69 63 | 20 63 5f 6e 61 6d 65 3b |.Xstatic| c_name;|
|00004be0| 0a 58 0a 58 76 6f 69 64 | 0a 58 61 64 64 5f 69 6e |.X.Xvoid|.Xadd_in|
|00004bf0| 63 6f 6d 69 6e 67 28 69 | 6e 74 20 66 64 2c 20 72 |coming(i|nt fd, r|
|00004c00| 65 63 65 69 76 65 66 63 | 74 20 66 63 74 2c 20 65 |eceivefc|t fct, e|
|00004c10| 69 6e 64 65 78 20 6e 61 | 6d 65 2c 20 73 69 6e 74 |index na|me, sint|
|00004c20| 20 64 75 6d 6d 79 29 0a | 58 7b 0a 58 09 69 66 20 | dummy).|X{.X.if |
|00004c30| 28 66 64 20 3d 3d 20 30 | 29 20 7b 0a 58 09 09 72 |(fd == 0|) {.X..r|
|00004c40| 65 61 64 30 20 3d 20 66 | 63 74 3b 0a 58 09 09 63 |ead0 = f|ct;.X..c|
|00004c50| 5f 6e 61 6d 65 20 3d 20 | 6e 61 6d 65 3b 0a 58 09 |_name = |name;.X.|
|00004c60| 7d 0a 58 7d 0a 58 0a 58 | 0a 58 69 6e 74 0a 58 69 |}.X}.X.X|.Xint.Xi|
|00004c70| 6e 63 6f 6d 69 6e 67 5f | 77 6f 75 6c 64 62 6c 6f |ncoming_|wouldblo|
|00004c80| 63 6b 28 29 0a 58 7b 0a | 58 09 72 65 74 75 72 6e |ck().X{.|X.return|
|00004c90| 20 21 6b 62 68 69 74 28 | 29 3b 0a 58 7d 0a 58 0a | !kbhit(|);.X}.X.|
|00004ca0| 58 69 6e 74 0a 58 73 65 | 72 76 65 5f 69 6e 63 6f |Xint.Xse|rve_inco|
|00004cb0| 6d 69 6e 67 28 6c 6f 6e | 67 20 6d 73 65 63 29 0a |ming(lon|g msec).|
|00004cc0| 58 7b 0a 58 09 69 66 20 | 28 6d 73 65 63 20 3e 20 |X{.X.if |(msec > |
|00004cd0| 30 29 20 7b 0a 58 09 09 | 65 69 6e 64 65 78 20 6e |0) {.X..|eindex n|
|00004ce0| 6f 77 20 3d 20 74 69 6d | 65 5f 6e 6f 77 28 30 29 |ow = tim|e_now(0)|
|00004cf0| 2c 20 74 68 65 6e 20 3d | 20 74 69 6d 65 5f 61 64 |, then =| time_ad|
|00004d00| 64 69 6e 74 28 30 2c 20 | 6e 6f 77 2c 20 6d 73 65 |dint(0, |now, mse|
|00004d10| 63 29 3b 0a 58 09 09 65 | 70 74 72 20 74 70 20 3d |c);.X..e|ptr tp =|
|00004d20| 20 67 61 64 64 72 28 74 | 68 65 6e 29 3b 0a 58 09 | gaddr(t|hen);.X.|
|00004d30| 09 66 6f 72 20 28 3b 3b | 29 20 7b 0a 58 09 09 09 |.for (;;|) {.X...|
|00004d40| 64 65 63 72 65 66 28 30 | 2c 20 6e 6f 77 29 3b 0a |decref(0|, now);.|
|00004d50| 58 09 09 09 6e 6f 77 20 | 3d 20 74 69 6d 65 5f 6e |X...now |= time_n|
|00004d60| 6f 77 28 30 29 3b 0a 58 | 09 09 09 69 66 20 28 21 |ow(0);.X|...if (!|
|00004d70| 74 69 6d 65 5f 67 74 28 | 26 28 74 70 2d 3e 56 2e |time_gt(|&(tp->V.|
|00004d80| 74 69 6d 29 2c 26 28 67 | 61 64 64 72 28 6e 6f 77 |tim),&(g|addr(now|
|00004d90| 29 2d 3e 56 2e 74 69 6d | 29 29 29 0a 58 09 09 09 |)->V.tim|))).X...|
|00004da0| 09 62 72 65 61 6b 3b 0a | 58 09 09 7d 0a 58 09 09 |.break;.|X..}.X..|
|00004db0| 64 65 63 72 65 66 28 30 | 2c 20 6e 6f 77 29 3b 0a |decref(0|, now);.|
|00004dc0| 58 09 09 64 65 63 72 65 | 66 28 30 2c 20 74 68 65 |X..decre|f(0, the|
|00004dd0| 6e 29 3b 0a 58 09 09 69 | 66 20 28 21 6b 62 68 69 |n);.X..i|f (!kbhi|
|00004de0| 74 28 29 29 0a 58 09 09 | 09 72 65 74 75 72 6e 20 |t()).X..|.return |
|00004df0| 30 3b 0a 58 09 7d 0a 58 | 0a 58 09 69 66 20 28 72 |0;.X.}.X|.X.if (r|
|00004e00| 65 61 64 30 29 20 7b 0a | 58 09 09 65 69 6e 64 65 |ead0) {.|X..einde|
|00004e10| 78 20 6d 73 67 72 2c 20 | 6f 72 69 67 3b 0a 58 09 |x msgr, |orig;.X.|
|00004e20| 09 72 65 74 63 6f 64 65 | 20 72 63 3b 0a 58 0a 58 |.retcode| rc;.X.X|
|00004e30| 09 09 72 65 61 64 30 28 | 30 2c 20 26 6d 73 67 72 |..read0(|0, &msgr|
|00004e40| 2c 20 26 6f 72 69 67 29 | 3b 0a 58 09 09 69 66 20 |, &orig)|;.X..if |
|00004e50| 28 6d 73 67 72 29 20 7b | 0a 58 09 09 09 72 63 20 |(msgr) {|.X...rc |
|00004e60| 3d 20 6e 65 77 5f 70 72 | 6f 63 28 6d 73 67 72 2c |= new_pr|oc(msgr,|
|00004e70| 20 30 29 3b 0a 58 09 09 | 09 64 65 63 72 65 66 28 | 0);.X..|.decref(|
|00004e80| 30 2c 20 6d 73 67 72 29 | 3b 0a 58 09 09 09 64 65 |0, msgr)|;.X...de|
|00004e90| 63 72 65 66 28 30 2c 20 | 6f 72 69 67 29 3b 0a 58 |cref(0, |orig);.X|
|00004ea0| 09 09 09 54 52 41 43 45 | 28 33 2c 20 69 66 20 28 |...TRACE|(3, if (|
|00004eb0| 72 63 20 21 3d 20 4f 4b | 20 26 26 20 72 63 20 21 |rc != OK| && rc !|
|00004ec0| 3d 20 59 49 45 4c 44 5f | 43 50 55 29 0a 58 09 09 |= YIELD_|CPU).X..|
|00004ed0| 09 09 70 72 69 6e 74 66 | 28 22 65 72 72 6f 72 20 |..printf|("error |
|00004ee0| 25 64 20 63 72 65 61 74 | 69 6e 67 20 61 20 70 72 |%d creat|ing a pr|
|00004ef0| 6f 63 65 73 73 5c 6e 22 | 2c 20 72 63 29 29 0a 58 |ocess\n"|, rc)).X|
|00004f00| 09 09 7d 0a 58 09 09 72 | 65 74 75 72 6e 20 31 3b |..}.X..r|eturn 1;|
|00004f10| 0a 58 09 7d 0a 58 09 72 | 65 74 75 72 6e 20 30 3b |.X.}.X.r|eturn 0;|
|00004f20| 0a 58 7d 0a 58 0a 58 23 | 65 6e 64 69 66 0a 45 4e |.X}.X.X#|endif.EN|
|00004f30| 44 5f 4f 46 5f 46 49 4c | 45 0a 69 66 20 74 65 73 |D_OF_FIL|E.if tes|
|00004f40| 74 20 33 34 31 32 20 2d | 6e 65 20 60 77 63 20 2d |t 3412 -|ne `wc -|
|00004f50| 63 20 3c 27 6c 5f 69 6e | 63 6f 6d 2e 63 27 60 3b |c <'l_in|com.c'`;|
|00004f60| 20 74 68 65 6e 0a 20 20 | 20 20 65 63 68 6f 20 73 | then. | echo s|
|00004f70| 68 61 72 3a 20 5c 22 27 | 6c 5f 69 6e 63 6f 6d 2e |har: \"'|l_incom.|
|00004f80| 63 27 5c 22 20 75 6e 70 | 61 63 6b 65 64 20 77 69 |c'\" unp|acked wi|
|00004f90| 74 68 20 77 72 6f 6e 67 | 20 73 69 7a 65 21 0a 66 |th wrong| size!.f|
|00004fa0| 69 0a 23 20 65 6e 64 20 | 6f 66 20 27 6c 5f 69 6e |i.# end |of 'l_in|
|00004fb0| 63 6f 6d 2e 63 27 0a 66 | 69 0a 69 66 20 74 65 73 |com.c'.f|i.if tes|
|00004fc0| 74 20 2d 66 20 27 6c 5f | 69 6e 69 74 2e 63 27 20 |t -f 'l_|init.c' |
|00004fd0| 2d 61 20 22 24 7b 31 7d | 22 20 21 3d 20 22 2d 63 |-a "${1}|" != "-c|
|00004fe0| 22 20 3b 20 74 68 65 6e | 20 0a 20 20 65 63 68 6f |" ; then| . echo|
|00004ff0| 20 73 68 61 72 3a 20 57 | 69 6c 6c 20 6e 6f 74 20 | shar: W|ill not |
|00005000| 63 6c 6f 62 62 65 72 20 | 65 78 69 73 74 69 6e 67 |clobber |existing|
|00005010| 20 66 69 6c 65 20 5c 22 | 27 6c 5f 69 6e 69 74 2e | file \"|'l_init.|
|00005020| 63 27 5c 22 0a 65 6c 73 | 65 0a 65 63 68 6f 20 73 |c'\".els|e.echo s|
|00005030| 68 61 72 3a 20 45 78 74 | 72 61 63 74 69 6e 67 20 |har: Ext|racting |
|00005040| 5c 22 27 6c 5f 69 6e 69 | 74 2e 63 27 5c 22 20 5c |\"'l_ini|t.c'\" \|
|00005050| 28 33 37 34 35 20 63 68 | 61 72 61 63 74 65 72 73 |(3745 ch|aracters|
|00005060| 5c 29 0a 73 65 64 20 22 | 73 2f 5e 58 2f 2f 22 20 |\).sed "|s/^X//" |
|00005070| 3e 27 6c 5f 69 6e 69 74 | 2e 63 27 20 3c 3c 27 45 |>'l_init|.c' <<'E|
|00005080| 4e 44 5f 4f 46 5f 46 49 | 4c 45 27 0a 58 2f 2a 0a |ND_OF_FI|LE'.X/*.|
|00005090| 58 09 6c 5f 69 6e 69 74 | 2e 63 0a 58 2a 2f 0a 58 |X.l_init|.c.X*/.X|
|000050a0| 2f 2a 20 20 43 6f 70 79 | 72 69 67 68 74 20 28 63 |/* Copy|right (c|
|000050b0| 29 20 31 39 39 34 20 43 | 68 72 69 73 74 69 61 6e |) 1994 C|hristian|
|000050c0| 20 46 2e 20 54 73 63 68 | 75 64 69 6e 2e 20 41 6c | F. Tsch|udin. Al|
|000050d0| 6c 20 72 69 67 68 74 73 | 20 72 65 73 65 72 76 65 |l rights| reserve|
|000050e0| 64 2e 0a 58 0a 58 20 20 | 20 20 44 69 73 74 72 69 |d..X.X | Distri|
|000050f0| 62 75 74 65 64 20 75 6e | 64 65 72 20 74 68 65 20 |buted un|der the |
|00005100| 74 65 72 6d 73 20 6f 66 | 20 74 68 65 20 47 4e 55 |terms of| the GNU|
|00005110| 20 47 65 6e 65 72 61 6c | 20 50 75 62 6c 69 63 20 | General| Public |
|00005120| 4c 69 63 65 6e 73 65 0a | 58 20 20 20 20 76 65 72 |License.|X ver|
|00005130| 73 69 6f 6e 20 32 20 6f | 66 20 6a 75 6e 65 20 31 |sion 2 o|f june 1|
|00005140| 39 39 31 20 61 73 20 70 | 75 62 6c 69 73 68 65 64 |991 as p|ublished|
|00005150| 20 62 79 20 74 68 65 20 | 46 72 65 65 20 53 6f 66 | by the |Free Sof|
|00005160| 74 77 61 72 65 0a 58 20 | 20 20 20 46 6f 75 6e 64 |tware.X | Found|
|00005170| 61 74 69 6f 6e 2c 20 49 | 6e 63 2e 0a 58 0a 58 09 |ation, I|nc..X.X.|
|00005180| 09 20 20 20 20 20 54 68 | 69 73 20 66 69 6c 65 20 |. Th|is file |
|00005190| 69 73 20 70 61 72 74 20 | 6f 66 20 4d 30 2e 0a 58 |is part |of M0..X|
|000051a0| 0a 58 4d 30 20 69 73 20 | 64 69 73 74 72 69 62 75 |.XM0 is |distribu|
|000051b0| 74 65 64 20 69 6e 20 74 | 68 65 20 68 6f 70 65 20 |ted in t|he hope |
|000051c0| 74 68 61 74 20 69 74 20 | 77 69 6c 6c 20 62 65 20 |that it |will be |
|000051d0| 75 73 65 66 75 6c 2c 20 | 62 75 74 20 57 49 54 48 |useful, |but WITH|
|000051e0| 4f 55 54 20 41 4e 59 0a | 58 57 41 52 52 41 4e 54 |OUT ANY.|XWARRANT|
|000051f0| 59 2e 20 20 4e 6f 20 61 | 75 74 68 6f 72 20 6f 72 |Y. No a|uthor or|
|00005200| 20 64 69 73 74 72 69 62 | 75 74 6f 72 20 61 63 63 | distrib|utor acc|
|00005210| 65 70 74 73 20 72 65 73 | 70 6f 6e 73 69 62 69 6c |epts res|ponsibil|
|00005220| 69 74 79 20 74 6f 20 61 | 6e 79 6f 6e 65 20 66 6f |ity to a|nyone fo|
|00005230| 72 0a 58 74 68 65 20 63 | 6f 6e 73 65 71 75 65 6e |r.Xthe c|onsequen|
|00005240| 63 65 73 20 6f 66 20 75 | 73 69 6e 67 20 69 74 20 |ces of u|sing it |
|00005250| 6f 72 20 66 6f 72 20 77 | 68 65 74 68 65 72 20 69 |or for w|hether i|
|00005260| 74 20 73 65 72 76 65 73 | 20 61 6e 79 20 70 61 72 |t serves| any par|
|00005270| 74 69 63 75 6c 61 72 0a | 58 70 75 72 70 6f 73 65 |ticular.|Xpurpose|
|00005280| 20 6f 72 20 77 6f 72 6b | 73 20 61 74 20 61 6c 6c | or work|s at all|
|00005290| 2c 20 75 6e 6c 65 73 73 | 20 68 65 20 73 61 79 73 |, unless| he says|
|000052a0| 20 73 6f 20 69 6e 20 77 | 72 69 74 69 6e 67 2e 20 | so in w|riting. |
|000052b0| 20 52 65 66 65 72 20 74 | 6f 20 74 68 65 20 47 4e | Refer t|o the GN|
|000052c0| 55 0a 58 47 65 6e 65 72 | 61 6c 20 50 75 62 6c 69 |U.XGener|al Publi|
|000052d0| 63 20 4c 69 63 65 6e 73 | 65 20 66 6f 72 20 66 75 |c Licens|e for fu|
|000052e0| 6c 6c 20 64 65 74 61 69 | 6c 73 2e 20 0a 58 0a 58 |ll detai|ls. .X.X|
|000052f0| 45 76 65 72 79 6f 6e 65 | 20 69 73 20 67 72 61 6e |Everyone| is gran|
|00005300| 74 65 64 20 70 65 72 6d | 69 73 73 69 6f 6e 20 74 |ted perm|ission t|
|00005310| 6f 20 63 6f 70 79 2c 20 | 6d 6f 64 69 66 79 20 61 |o copy, |modify a|
|00005320| 6e 64 20 72 65 64 69 73 | 74 72 69 62 75 74 65 20 |nd redis|tribute |
|00005330| 4d 30 2c 20 62 75 74 0a | 58 6f 6e 6c 79 20 75 6e |M0, but.|Xonly un|
|00005340| 64 65 72 20 74 68 65 20 | 63 6f 6e 64 69 74 69 6f |der the |conditio|
|00005350| 6e 73 20 64 65 73 63 72 | 69 62 65 64 20 69 6e 20 |ns descr|ibed in |
|00005360| 74 68 65 20 47 4e 55 20 | 47 65 6e 65 72 61 6c 20 |the GNU |General |
|00005370| 50 75 62 6c 69 63 20 4c | 69 63 65 6e 73 65 2e 20 |Public L|icense. |
|00005380| 0a 58 41 20 63 6f 70 79 | 20 6f 66 20 74 68 69 73 |.XA copy| of this|
|00005390| 20 6c 69 63 65 6e 73 65 | 20 69 73 20 73 75 70 70 | license| is supp|
|000053a0| 6f 73 65 64 20 74 6f 20 | 68 61 76 65 20 62 65 65 |osed to |have bee|
|000053b0| 6e 20 67 69 76 65 6e 20 | 74 6f 20 79 6f 75 20 61 |n given |to you a|
|000053c0| 6c 6f 6e 67 20 77 69 74 | 68 0a 58 4d 30 20 73 6f |long wit|h.XM0 so|
|000053d0| 20 79 6f 75 20 63 61 6e | 20 6b 6e 6f 77 20 79 6f | you can| know yo|
|000053e0| 75 72 20 72 69 67 68 74 | 73 20 61 6e 64 20 72 65 |ur right|s and re|
|000053f0| 73 70 6f 6e 73 69 62 69 | 6c 69 74 69 65 73 2e 20 |sponsibi|lities. |
|00005400| 20 49 74 20 73 68 6f 75 | 6c 64 20 62 65 20 69 6e | It shou|ld be in|
|00005410| 20 61 0a 58 66 69 6c 65 | 20 6e 61 6d 65 64 20 4c | a.Xfile| named L|
|00005420| 49 43 45 4e 53 45 2e 20 | 20 41 6d 6f 6e 67 20 6f |ICENSE. | Among o|
|00005430| 74 68 65 72 20 74 68 69 | 6e 67 73 2c 20 74 68 65 |ther thi|ngs, the|
|00005440| 20 63 6f 70 79 72 69 67 | 68 74 20 6e 6f 74 69 63 | copyrig|ht notic|
|00005450| 65 20 61 6e 64 20 74 68 | 69 73 0a 58 6e 6f 74 69 |e and th|is.Xnoti|
|00005460| 63 65 20 6d 75 73 74 20 | 62 65 20 70 72 65 73 65 |ce must |be prese|
|00005470| 72 76 65 64 20 6f 6e 20 | 61 6c 6c 20 63 6f 70 69 |rved on |all copi|
|00005480| 65 73 2e 20 20 2a 2f 0a | 58 0a 58 23 69 6e 63 6c |es. */.|X.X#incl|
|00005490| 75 64 65 20 22 6c 5f 70 | 72 6f 74 6f 2e 68 22 0a |ude "l_p|roto.h".|
|000054a0| 58 0a 58 23 64 65 66 69 | 6e 65 20 45 52 52 4f 52 |X.X#defi|ne ERROR|
|000054b0| 4e 41 4d 45 53 09 09 28 | 62 79 74 65 70 74 72 29 |NAMES..(|byteptr)|
|000054c0| 22 5f 65 6e 61 22 0a 58 | 23 64 65 66 69 6e 65 20 |"_ena".X|#define |
|000054d0| 45 52 52 4f 52 48 41 4e | 44 4c 45 52 5f 4e 41 4d |ERRORHAN|DLER_NAM|
|000054e0| 45 09 28 62 79 74 65 70 | 74 72 29 22 5f 65 72 72 |E.(bytep|tr)"_err|
|000054f0| 22 0a 58 23 64 65 66 69 | 6e 65 20 54 59 50 45 4e |".X#defi|ne TYPEN|
|00005500| 41 4d 45 53 09 09 28 62 | 79 74 65 70 74 72 29 22 |AMES..(b|yteptr)"|
|00005510| 5f 74 6e 61 22 0a 58 0a | 58 65 70 74 72 20 67 6c |_tna".X.|Xeptr gl|
|00005520| 6f 62 61 6c 3b 0a 58 0a | 58 73 74 61 74 69 63 20 |obal;.X.|Xstatic |
|00005530| 62 79 74 65 70 74 72 20 | 6d 73 67 72 5f 73 74 61 |byteptr |msgr_sta|
|00005540| 72 74 5f 73 20 3d 20 28 | 62 79 74 65 70 74 72 29 |rt_s = (|byteptr)|
|00005550| 20 22 2e 27 5f 6c 6f 63 | 2e 3a 5f 63 6f 64 21 22 | ".'_loc|.:_cod!"|
|00005560| 3b 0a 58 0a 58 65 69 6e | 64 65 78 20 73 79 73 74 |;.X.Xein|dex syst|
|00005570| 65 6d 64 69 63 74 3b 0a | 58 65 69 6e 64 65 78 20 |emdict;.|Xeindex |
|00005580| 71 75 65 75 65 64 69 63 | 74 3b 0a 58 65 69 6e 64 |queuedic|t;.Xeind|
|00005590| 65 78 20 63 68 61 6e 6e | 65 6c 64 69 63 74 3b 0a |ex chann|eldict;.|
|000055a0| 58 0a 58 65 69 6e 64 65 | 78 20 65 72 72 6f 72 68 |X.Xeinde|x errorh|
|000055b0| 61 6e 64 6c 65 72 5f 6e | 61 6d 65 3b 0a 58 0a 58 |andler_n|ame;.X.X|
|000055c0| 65 69 6e 64 65 78 20 6e | 75 6c 6c 5f 76 61 6c 3b |eindex n|ull_val;|
|000055d0| 0a 58 65 69 6e 64 65 78 | 20 6e 75 6c 6c 5f 6b 65 |.Xeindex| null_ke|
|000055e0| 79 3b 0a 58 65 69 6e 64 | 65 78 20 6e 75 6c 6c 5f |y;.Xeind|ex null_|
|000055f0| 6e 61 6d 65 3b 0a 58 65 | 69 6e 64 65 78 20 6d 73 |name;.Xe|index ms|
|00005600| 67 72 5f 6e 61 6d 65 3b | 0a 58 65 69 6e 64 65 78 |gr_name;|.Xeindex|
|00005610| 20 63 6f 64 65 5f 6e 61 | 6d 65 3b 0a 58 65 69 6e | code_na|me;.Xein|
|00005620| 64 65 78 20 64 61 74 61 | 5f 6e 61 6d 65 3b 0a 58 |dex data|_name;.X|
|00005630| 65 69 6e 64 65 78 20 6f | 72 69 67 5f 6e 61 6d 65 |eindex o|rig_name|
|00005640| 3b 0a 58 65 69 6e 64 65 | 78 20 6d 73 67 72 5f 73 |;.Xeinde|x msgr_s|
|00005650| 74 61 72 74 3b 0a 58 65 | 69 6e 64 65 78 20 68 6f |tart;.Xe|index ho|
|00005660| 73 74 5f 69 64 3b 0a 58 | 0a 58 65 69 6e 64 65 78 |st_id;.X|.Xeindex|
|00005670| 20 6d 61 72 6b 3b 0a 58 | 0a 58 65 69 6e 64 65 78 | mark;.X|.Xeindex|
|00005680| 20 65 72 72 5f 6e 61 6d | 65 5f 61 72 72 61 79 3b | err_nam|e_array;|
|00005690| 0a 58 65 69 6e 64 65 78 | 20 74 79 70 65 5f 6e 61 |.Xeindex| type_na|
|000056a0| 6d 65 5f 61 72 72 61 79 | 3b 0a 58 0a 58 0a 58 2f |me_array|;.X.X.X/|
|000056b0| 2a 20 6d 73 67 72 20 6d | 75 73 74 20 62 65 20 67 |* msgr m|ust be g|
|000056c0| 6c 6f 62 61 6c 21 20 2a | 2f 0a 58 0a 58 73 74 61 |lobal! *|/.X.Xsta|
|000056d0| 74 69 63 20 76 6f 69 64 | 0a 58 6c 6f 63 61 6c 5f |tic void|.Xlocal_|
|000056e0| 73 75 62 6d 69 74 28 6d | 70 72 6f 63 20 70 2c 20 |submit(m|proc p, |
|000056f0| 76 6f 69 64 20 2a 64 61 | 74 61 2c 20 65 69 6e 64 |void *da|ta, eind|
|00005700| 65 78 20 6d 29 0a 58 7b | 0a 58 09 65 69 6e 64 65 |ex m).X{|.X.einde|
|00005710| 78 20 2a 69 70 20 3d 20 | 28 65 69 6e 64 65 78 20 |x *ip = |(eindex |
|00005720| 2a 29 64 61 74 61 3b 0a | 58 09 54 52 41 43 45 28 |*)data;.|X.TRACE(|
|00005730| 34 2c 20 70 72 69 6e 74 | 66 28 22 6c 6f 63 61 6c |4, print|f("local|
|00005740| 20 73 75 62 6d 69 74 20 | 28 6c 65 6e 67 74 68 20 | submit |(length |
|00005750| 25 64 29 5c 6e 22 2c 20 | 65 6c 65 6e 28 70 2c 20 |%d)\n", |elen(p, |
|00005760| 6d 29 29 29 0a 58 0a 58 | 09 6e 65 77 5f 70 72 6f |m))).X.X|.new_pro|
|00005770| 63 28 6d 2c 20 69 70 20 | 3f 20 2a 69 70 20 3a 20 |c(m, ip |? *ip : |
|00005780| 30 29 3b 0a 58 7d 0a 58 | 0a 58 0a 58 72 65 74 63 |0);.X}.X|.X.Xretc|
|00005790| 6f 64 65 20 6c 6f 77 5f | 6c 65 76 65 6c 5f 69 6e |ode low_|level_in|
|000057a0| 69 74 28 76 6f 69 64 29 | 0a 58 7b 0a 58 09 65 69 |it(void)|.X{.X.ei|
|000057b0| 6e 64 65 78 20 65 69 2c | 20 2a 69 70 3b 0a 58 09 |ndex ei,| *ip;.X.|
|000057c0| 65 70 74 72 20 65 70 3b | 0a 58 09 72 65 74 63 6f |eptr ep;|.X.retco|
|000057d0| 64 65 20 72 63 3b 0a 58 | 09 69 6e 74 20 69 3b 0a |de rc;.X|.int i;.|
|000057e0| 58 09 62 79 74 65 20 68 | 69 64 5b 38 5d 3b 0a 58 |X.byte h|id[8];.X|
|000057f0| 0a 58 09 67 6c 6f 62 61 | 6c 20 3d 20 28 65 70 74 |.X.globa|l = (ept|
|00005800| 72 29 20 63 61 6c 6c 6f | 63 28 4d 41 58 47 4c 4f |r) callo|c(MAXGLO|
|00005810| 42 41 4c 53 2c 20 73 69 | 7a 65 6f 66 28 73 74 72 |BALS, si|zeof(str|
|00005820| 75 63 74 20 65 6c 65 6d | 65 6e 74 5f 73 29 29 3b |uct elem|ent_s));|
|00005830| 0a 58 09 69 66 20 28 21 | 67 6c 6f 62 61 6c 29 0a |.X.if (!|global).|
|00005840| 58 09 09 72 65 74 75 72 | 6e 20 45 52 52 5f 49 4e |X..retur|n ERR_IN|
|00005850| 5f 49 4e 49 54 3b 0a 58 | 0a 58 09 72 61 6e 64 6f |_INIT;.X|.X.rando|
|00005860| 6d 69 7a 65 28 29 3b 0a | 58 0a 58 09 6e 75 6c 6c |mize();.|X.X.null|
|00005870| 5f 76 61 6c 20 3d 20 6e | 65 77 5f 65 6c 65 6d 65 |_val = n|ew_eleme|
|00005880| 6e 74 28 30 2c 20 54 5f | 4e 55 4c 4c 29 3b 0a 58 |nt(0, T_|NULL);.X|
|00005890| 09 6e 75 6c 6c 5f 6b 65 | 79 20 3d 20 6b 65 79 5f |.null_ke|y = key_|
|000058a0| 61 64 64 28 28 62 79 74 | 65 70 74 72 29 22 5c 30 |add((byt|eptr)"\0|
|000058b0| 5c 30 5c 30 5c 30 5c 30 | 5c 30 5c 30 5c 30 22 29 |\0\0\0\0|\0\0\0")|
|000058c0| 3b 0a 58 09 6e 75 6c 6c | 5f 6e 61 6d 65 20 3d 20 |;.X.null|_name = |
|000058d0| 6e 61 6d 65 5f 61 64 64 | 28 28 62 79 74 65 70 74 |name_add|((bytept|
|000058e0| 72 29 22 6e 75 6c 6c 22 | 2c 20 34 2c 20 41 5f 45 |r)"null"|, 4, A_E|
|000058f0| 58 45 43 55 54 41 42 4c | 45 29 3b 0a 58 0a 58 09 |XECUTABL|E);.X.X.|
|00005900| 73 79 73 74 65 6d 64 69 | 63 74 20 3d 20 6e 65 77 |systemdi|ct = new|
|00005910| 5f 64 69 63 74 28 30 29 | 3b 0a 58 09 69 66 20 28 |_dict(0)|;.X.if (|
|00005920| 21 73 79 73 74 65 6d 64 | 69 63 74 29 0a 58 09 09 |!systemd|ict).X..|
|00005930| 72 65 74 75 72 6e 20 45 | 52 52 5f 49 4e 5f 49 4e |return E|RR_IN_IN|
|00005940| 49 54 3b 0a 58 09 71 75 | 65 75 65 64 69 63 74 20 |IT;.X.qu|euedict |
|00005950| 3d 20 6e 65 77 5f 64 69 | 63 74 28 30 29 3b 0a 58 |= new_di|ct(0);.X|
|00005960| 09 63 68 61 6e 6e 65 6c | 64 69 63 74 20 3d 20 6e |.channel|dict = n|
|00005970| 65 77 5f 64 69 63 74 28 | 30 29 3b 0a 58 0a 58 09 |ew_dict(|0);.X.X.|
|00005980| 64 69 63 74 5f 64 65 66 | 28 30 2c 20 73 79 73 74 |dict_def|(0, syst|
|00005990| 65 6d 64 69 63 74 2c 20 | 6e 75 6c 6c 5f 6e 61 6d |emdict, |null_nam|
|000059a0| 65 2c 20 6e 75 6c 6c 5f | 76 61 6c 29 3b 0a 58 09 |e, null_|val);.X.|
|000059b0| 64 65 63 72 65 66 28 30 | 2c 20 6e 75 6c 6c 5f 6e |decref(0|, null_n|
|000059c0| 61 6d 65 29 3b 0a 58 09 | 64 65 63 72 65 66 28 30 |ame);.X.|decref(0|
|000059d0| 2c 20 6e 75 6c 6c 5f 76 | 61 6c 29 3b 0a 58 0a 58 |, null_v|al);.X.X|
|000059e0| 09 6d 73 67 72 5f 6e 61 | 6d 65 20 3d 20 6e 61 6d |.msgr_na|me = nam|
|000059f0| 65 5f 61 64 64 28 28 62 | 79 74 65 70 74 72 29 22 |e_add((b|yteptr)"|
|00005a00| 5f 6d 67 72 22 2c 20 34 | 2c 20 41 5f 45 58 45 43 |_mgr", 4|, A_EXEC|
|00005a10| 55 54 41 42 4c 45 29 3b | 0a 58 09 63 6f 64 65 5f |UTABLE);|.X.code_|
|00005a20| 6e 61 6d 65 20 3d 20 6e | 61 6d 65 5f 61 64 64 28 |name = n|ame_add(|
|00005a30| 28 62 79 74 65 70 74 72 | 29 22 5f 63 6f 64 22 2c |(byteptr|)"_cod",|
|00005a40| 20 34 2c 20 41 5f 45 58 | 45 43 55 54 41 42 4c 45 | 4, A_EX|ECUTABLE|
|00005a50| 29 3b 0a 58 09 64 61 74 | 61 5f 6e 61 6d 65 20 3d |);.X.dat|a_name =|
|00005a60| 20 6e 61 6d 65 5f 61 64 | 64 28 28 62 79 74 65 70 | name_ad|d((bytep|
|00005a70| 74 72 29 22 5f 64 61 74 | 22 2c 20 34 2c 20 41 5f |tr)"_dat|", 4, A_|
|00005a80| 45 58 45 43 55 54 41 42 | 4c 45 29 3b 0a 58 09 6f |EXECUTAB|LE);.X.o|
|00005a90| 72 69 67 5f 6e 61 6d 65 | 20 3d 20 6e 61 6d 65 5f |rig_name| = name_|
|00005aa0| 61 64 64 28 28 62 79 74 | 65 70 74 72 29 22 5f 6f |add((byt|eptr)"_o|
|00005ab0| 72 69 22 2c 20 34 2c 20 | 41 5f 45 58 45 43 55 54 |ri", 4, |A_EXECUT|
|00005ac0| 41 42 4c 45 29 3b 0a 58 | 0a 58 09 6d 61 72 6b 20 |ABLE);.X|.X.mark |
|00005ad0| 3d 20 6e 65 77 5f 65 6c | 65 6d 65 6e 74 28 30 2c |= new_el|ement(0,|
|00005ae0| 20 54 5f 4d 41 52 4b 29 | 3b 0a 58 09 6d 73 67 72 | T_MARK)|;.X.msgr|
|00005af0| 5f 73 74 61 72 74 20 3d | 20 73 74 72 5f 69 6d 70 |_start =| str_imp|
|00005b00| 6f 72 74 28 30 2c 20 6d | 73 67 72 5f 73 74 61 72 |ort(0, m|sgr_star|
|00005b10| 74 5f 73 2c 0a 58 09 09 | 09 09 09 73 74 72 6c 65 |t_s,.X..|...strle|
|00005b20| 6e 28 28 63 68 61 72 2a | 29 6d 73 67 72 5f 73 74 |n((char*|)msgr_st|
|00005b30| 61 72 74 5f 73 29 2c 20 | 30 29 3b 0a 58 09 65 70 |art_s), |0);.X.ep|
|00005b40| 20 3d 20 67 61 64 64 72 | 28 6d 73 67 72 5f 73 74 | = gaddr|(msgr_st|
|00005b50| 61 72 74 29 3b 0a 58 09 | 65 70 61 74 74 72 28 65 |art);.X.|epattr(e|
|00005b60| 70 29 20 7c 3d 20 41 5f | 45 58 45 43 55 54 41 42 |p) |= A_|EXECUTAB|
|00005b70| 4c 45 3b 0a 58 09 65 70 | 61 74 74 72 28 65 70 29 |LE;.X.ep|attr(ep)|
|00005b80| 20 26 3d 20 7e 41 5f 57 | 52 49 54 45 3b 0a 58 0a | &= ~A_W|RITE;.X.|
|00005b90| 58 09 66 69 6c 6c 69 6e | 5f 68 6f 73 74 69 64 28 |X.fillin|_hostid(|
|00005ba0| 68 69 64 29 3b 0a 58 09 | 68 6f 73 74 5f 69 64 20 |hid);.X.|host_id |
|00005bb0| 3d 20 6b 65 79 5f 61 64 | 64 28 68 69 64 29 3b 0a |= key_ad|d(hid);.|
|00005bc0| 58 0a 58 09 65 72 72 5f | 6e 61 6d 65 5f 61 72 72 |X.X.err_|name_arr|
|00005bd0| 61 79 20 3d 20 6e 65 77 | 5f 61 72 72 61 79 28 30 |ay = new|_array(0|
|00005be0| 2c 20 4c 41 53 54 5f 45 | 52 52 4f 52 29 3b 0a 58 |, LAST_E|RROR);.X|
|00005bf0| 09 69 70 20 3d 20 67 61 | 64 64 72 28 65 72 72 5f |.ip = ga|ddr(err_|
|00005c00| 6e 61 6d 65 5f 61 72 72 | 61 79 29 2d 3e 56 2e 61 |name_arr|ay)->V.a|
|00005c10| 72 72 2e 61 3b 0a 58 09 | 66 6f 72 20 28 69 3d 30 |rr.a;.X.|for (i=0|
|00005c20| 3b 20 69 3c 4c 41 53 54 | 5f 45 52 52 4f 52 3b 20 |; i<LAST|_ERROR; |
|00005c30| 69 2b 2b 29 0a 58 09 09 | 2a 69 70 2b 2b 20 3d 20 |i++).X..|*ip++ = |
|00005c40| 6e 61 6d 65 5f 61 64 64 | 28 28 62 79 74 65 70 74 |name_add|((bytept|
|00005c50| 72 29 65 72 72 6f 72 5f | 6e 61 6d 65 73 5b 69 5d |r)error_|names[i]|
|00005c60| 2c 20 73 74 72 6c 65 6e | 28 65 72 72 6f 72 5f 6e |, strlen|(error_n|
|00005c70| 61 6d 65 73 5b 69 5d 29 | 2c 20 41 5f 45 58 45 43 |ames[i])|, A_EXEC|
|00005c80| 55 54 41 42 4c 45 29 3b | 0a 58 09 67 61 64 64 72 |UTABLE);|.X.gaddr|
|00005c90| 28 6e 75 6c 6c 5f 76 61 | 6c 29 2d 3e 52 20 2d 3d |(null_va|l)->R -=|
|00005ca0| 20 4c 41 53 54 5f 45 52 | 52 4f 52 3b 0a 58 09 65 | LAST_ER|ROR;.X.e|
|00005cb0| 69 20 3d 20 6e 61 6d 65 | 5f 61 64 64 28 45 52 52 |i = name|_add(ERR|
|00005cc0| 4f 52 4e 41 4d 45 53 2c | 20 73 74 72 6c 65 6e 28 |ORNAMES,| strlen(|
|00005cd0| 28 63 68 61 72 2a 29 45 | 52 52 4f 52 4e 41 4d 45 |(char*)E|RRORNAME|
|00005ce0| 53 29 2c 20 41 5f 45 58 | 45 43 55 54 41 42 4c 45 |S), A_EX|ECUTABLE|
|00005cf0| 29 3b 0a 58 09 64 69 63 | 74 5f 64 65 66 28 30 2c |);.X.dic|t_def(0,|
|00005d00| 20 73 79 73 74 65 6d 64 | 69 63 74 2c 20 65 69 2c | systemd|ict, ei,|
|00005d10| 20 65 72 72 5f 6e 61 6d | 65 5f 61 72 72 61 79 29 | err_nam|e_array)|
|00005d20| 3b 0a 58 09 64 65 63 72 | 65 66 28 30 2c 20 65 69 |;.X.decr|ef(0, ei|
|00005d30| 29 3b 0a 58 09 64 65 63 | 72 65 66 28 30 2c 20 65 |);.X.dec|ref(0, e|
|00005d40| 72 72 5f 6e 61 6d 65 5f | 61 72 72 61 79 29 3b 0a |rr_name_|array);.|
|00005d50| 58 0a 58 09 74 79 70 65 | 5f 6e 61 6d 65 5f 61 72 |X.X.type|_name_ar|
|00005d60| 72 61 79 20 3d 20 6e 65 | 77 5f 61 72 72 61 79 28 |ray = ne|w_array(|
|00005d70| 30 2c 20 4c 41 53 54 5f | 54 59 50 45 29 3b 0a 58 |0, LAST_|TYPE);.X|
|00005d80| 09 69 70 20 3d 20 67 61 | 64 64 72 28 74 79 70 65 |.ip = ga|ddr(type|
|00005d90| 5f 6e 61 6d 65 5f 61 72 | 72 61 79 29 2d 3e 56 2e |_name_ar|ray)->V.|
|00005da0| 61 72 72 2e 61 3b 0a 58 | 09 66 6f 72 20 28 69 3d |arr.a;.X|.for (i=|
|00005db0| 30 3b 20 69 3c 4c 41 53 | 54 5f 54 59 50 45 3b 20 |0; i<LAS|T_TYPE; |
|00005dc0| 69 2b 2b 29 0a 58 09 09 | 2a 69 70 2b 2b 20 3d 20 |i++).X..|*ip++ = |
|00005dd0| 6e 61 6d 65 5f 61 64 64 | 28 28 62 79 74 65 70 74 |name_add|((bytept|
|00005de0| 72 29 74 79 70 65 5f 6e | 61 6d 65 73 5b 69 5d 2c |r)type_n|ames[i],|
|00005df0| 20 73 74 72 6c 65 6e 28 | 74 79 70 65 5f 6e 61 6d | strlen(|type_nam|
|00005e00| 65 73 5b 69 5d 29 2c 20 | 41 5f 45 58 45 43 55 54 |es[i]), |A_EXECUT|
|00005e10| 41 42 4c 45 29 3b 0a 58 | 09 64 65 63 72 65 66 28 |ABLE);.X|.decref(|
|00005e20| 30 2c 20 6e 75 6c 6c 5f | 6e 61 6d 65 29 3b 0a 58 |0, null_|name);.X|
|00005e30| 09 67 61 64 64 72 28 6e | 75 6c 6c 5f 76 61 6c 29 |.gaddr(n|ull_val)|
|00005e40| 2d 3e 52 20 2d 3d 20 4c | 41 53 54 5f 54 59 50 45 |->R -= L|AST_TYPE|
|00005e50| 3b 0a 58 09 65 69 20 3d | 20 6e 61 6d 65 5f 61 64 |;.X.ei =| name_ad|
|00005e60| 64 28 54 59 50 45 4e 41 | 4d 45 53 2c 20 73 74 72 |d(TYPENA|MES, str|
|00005e70| 6c 65 6e 28 28 63 68 61 | 72 2a 29 54 59 50 45 4e |len((cha|r*)TYPEN|
|00005e80| 41 4d 45 53 29 2c 20 41 | 5f 45 58 45 43 55 54 41 |AMES), A|_EXECUTA|
|00005e90| 42 4c 45 29 3b 0a 58 09 | 64 69 63 74 5f 64 65 66 |BLE);.X.|dict_def|
|00005ea0| 28 30 2c 20 73 79 73 74 | 65 6d 64 69 63 74 2c 20 |(0, syst|emdict, |
|00005eb0| 65 69 2c 20 74 79 70 65 | 5f 6e 61 6d 65 5f 61 72 |ei, type|_name_ar|
|00005ec0| 72 61 79 29 3b 0a 58 09 | 64 65 63 72 65 66 28 30 |ray);.X.|decref(0|
|00005ed0| 2c 20 65 69 29 3b 0a 58 | 09 64 65 63 72 65 66 28 |, ei);.X|.decref(|
|00005ee0| 30 2c 20 74 79 70 65 5f | 6e 61 6d 65 5f 61 72 72 |0, type_|name_arr|
|00005ef0| 61 79 29 3b 0a 58 0a 58 | 09 65 72 72 6f 72 68 61 |ay);.X.X|.errorha|
|00005f00| 6e 64 6c 65 72 5f 6e 61 | 6d 65 20 3d 20 6e 61 6d |ndler_na|me = nam|
|00005f10| 65 5f 61 64 64 28 45 52 | 52 4f 52 48 41 4e 44 4c |e_add(ER|RORHANDL|
|00005f20| 45 52 5f 4e 41 4d 45 2c | 0a 58 09 09 09 73 74 72 |ER_NAME,|.X...str|
|00005f30| 6c 65 6e 28 28 63 68 61 | 72 2a 29 45 52 52 4f 52 |len((cha|r*)ERROR|
|00005f40| 48 41 4e 44 4c 45 52 5f | 4e 41 4d 45 29 2c 20 41 |HANDLER_|NAME), A|
|00005f50| 5f 45 58 45 43 55 54 41 | 42 4c 45 29 3b 0a 58 0a |_EXECUTA|BLE);.X.|
|00005f60| 58 09 6e 65 77 5f 63 68 | 61 6e 6e 65 6c 28 6e 75 |X.new_ch|annel(nu|
|00005f70| 6c 6c 5f 6b 65 79 2c 20 | 30 2c 20 6c 6f 63 61 6c |ll_key, |0, local|
|00005f80| 5f 73 75 62 6d 69 74 29 | 3b 0a 58 2f 2a 0a 58 09 |_submit)|;.X/*.X.|
|00005f90| 64 65 63 72 65 66 28 30 | 2c 20 6e 75 6c 6c 5f 6b |decref(0|, null_k|
|00005fa0| 65 79 29 3b 0a 58 2a 2f | 0a 58 0a 58 09 72 65 74 |ey);.X*/|.X.X.ret|
|00005fb0| 75 72 6e 20 4f 4b 3b 0a | 58 7d 0a 45 4e 44 5f 4f |urn OK;.|X}.END_O|
|00005fc0| 46 5f 46 49 4c 45 0a 69 | 66 20 74 65 73 74 20 33 |F_FILE.i|f test 3|
|00005fd0| 37 34 35 20 2d 6e 65 20 | 60 77 63 20 2d 63 20 3c |745 -ne |`wc -c <|
|00005fe0| 27 6c 5f 69 6e 69 74 2e | 63 27 60 3b 20 74 68 65 |'l_init.|c'`; the|
|00005ff0| 6e 0a 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a |n. ec|ho shar:|
|00006000| 20 5c 22 27 6c 5f 69 6e | 69 74 2e 63 27 5c 22 20 | \"'l_in|it.c'\" |
|00006010| 75 6e 70 61 63 6b 65 64 | 20 77 69 74 68 20 77 72 |unpacked| with wr|
|00006020| 6f 6e 67 20 73 69 7a 65 | 21 0a 66 69 0a 23 20 65 |ong size|!.fi.# e|
|00006030| 6e 64 20 6f 66 20 27 6c | 5f 69 6e 69 74 2e 63 27 |nd of 'l|_init.c'|
|00006040| 0a 66 69 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |.fi.if t|est -f '|
|00006050| 6c 5f 6d 69 73 63 2e 63 | 27 20 2d 61 20 22 24 7b |l_misc.c|' -a "${|
|00006060| 31 7d 22 20 21 3d 20 22 | 2d 63 22 20 3b 20 74 68 |1}" != "|-c" ; th|
|00006070| 65 6e 20 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |en . ec|ho shar:|
|00006080| 20 57 69 6c 6c 20 6e 6f | 74 20 63 6c 6f 62 62 65 | Will no|t clobbe|
|00006090| 72 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |r existi|ng file |
|000060a0| 5c 22 27 6c 5f 6d 69 73 | 63 2e 63 27 5c 22 0a 65 |\"'l_mis|c.c'\".e|
|000060b0| 6c 73 65 0a 65 63 68 6f | 20 73 68 61 72 3a 20 45 |lse.echo| shar: E|
|000060c0| 78 74 72 61 63 74 69 6e | 67 20 5c 22 27 6c 5f 6d |xtractin|g \"'l_m|
|000060d0| 69 73 63 2e 63 27 5c 22 | 20 5c 28 33 33 31 31 20 |isc.c'\"| \(3311 |
|000060e0| 63 68 61 72 61 63 74 65 | 72 73 5c 29 0a 73 65 64 |characte|rs\).sed|
|000060f0| 20 22 73 2f 5e 58 2f 2f | 22 20 3e 27 6c 5f 6d 69 | "s/^X//|" >'l_mi|
|00006100| 73 63 2e 63 27 20 3c 3c | 27 45 4e 44 5f 4f 46 5f |sc.c' <<|'END_OF_|
|00006110| 46 49 4c 45 27 0a 58 2f | 2a 0a 58 09 6c 5f 6d 69 |FILE'.X/|*.X.l_mi|
|00006120| 73 63 2e 63 0a 58 2a 2f | 0a 58 2f 2a 20 20 43 6f |sc.c.X*/|.X/* Co|
|00006130| 70 79 72 69 67 68 74 20 | 28 63 29 20 31 39 39 34 |pyright |(c) 1994|
|00006140| 20 43 68 72 69 73 74 69 | 61 6e 20 46 2e 20 54 73 | Christi|an F. Ts|
|00006150| 63 68 75 64 69 6e 2e 20 | 41 6c 6c 20 72 69 67 68 |chudin. |All righ|
|00006160| 74 73 20 72 65 73 65 72 | 76 65 64 2e 0a 58 0a 58 |ts reser|ved..X.X|
|00006170| 20 20 20 20 44 69 73 74 | 72 69 62 75 74 65 64 20 | Dist|ributed |
|00006180| 75 6e 64 65 72 20 74 68 | 65 20 74 65 72 6d 73 20 |under th|e terms |
|00006190| 6f 66 20 74 68 65 20 47 | 4e 55 20 47 65 6e 65 72 |of the G|NU Gener|
|000061a0| 61 6c 20 50 75 62 6c 69 | 63 20 4c 69 63 65 6e 73 |al Publi|c Licens|
|000061b0| 65 0a 58 20 20 20 20 76 | 65 72 73 69 6f 6e 20 32 |e.X v|ersion 2|
|000061c0| 20 6f 66 20 6a 75 6e 65 | 20 31 39 39 31 20 61 73 | of june| 1991 as|
|000061d0| 20 70 75 62 6c 69 73 68 | 65 64 20 62 79 20 74 68 | publish|ed by th|
|000061e0| 65 20 46 72 65 65 20 53 | 6f 66 74 77 61 72 65 0a |e Free S|oftware.|
|000061f0| 58 20 20 20 20 46 6f 75 | 6e 64 61 74 69 6f 6e 2c |X Fou|ndation,|
|00006200| 20 49 6e 63 2e 0a 58 0a | 58 09 09 20 20 20 20 20 | Inc..X.|X.. |
|00006210| 54 68 69 73 20 66 69 6c | 65 20 69 73 20 70 61 72 |This fil|e is par|
|00006220| 74 20 6f 66 20 4d 30 2e | 0a 58 0a 58 4d 30 20 69 |t of M0.|.X.XM0 i|
|00006230| 73 20 64 69 73 74 72 69 | 62 75 74 65 64 20 69 6e |s distri|buted in|
|00006240| 20 74 68 65 20 68 6f 70 | 65 20 74 68 61 74 20 69 | the hop|e that i|
|00006250| 74 20 77 69 6c 6c 20 62 | 65 20 75 73 65 66 75 6c |t will b|e useful|
|00006260| 2c 20 62 75 74 20 57 49 | 54 48 4f 55 54 20 41 4e |, but WI|THOUT AN|
|00006270| 59 0a 58 57 41 52 52 41 | 4e 54 59 2e 20 20 4e 6f |Y.XWARRA|NTY. No|
|00006280| 20 61 75 74 68 6f 72 20 | 6f 72 20 64 69 73 74 72 | author |or distr|
|00006290| 69 62 75 74 6f 72 20 61 | 63 63 65 70 74 73 20 72 |ibutor a|ccepts r|
|000062a0| 65 73 70 6f 6e 73 69 62 | 69 6c 69 74 79 20 74 6f |esponsib|ility to|
|000062b0| 20 61 6e 79 6f 6e 65 20 | 66 6f 72 0a 58 74 68 65 | anyone |for.Xthe|
|000062c0| 20 63 6f 6e 73 65 71 75 | 65 6e 63 65 73 20 6f 66 | consequ|ences of|
|000062d0| 20 75 73 69 6e 67 20 69 | 74 20 6f 72 20 66 6f 72 | using i|t or for|
|000062e0| 20 77 68 65 74 68 65 72 | 20 69 74 20 73 65 72 76 | whether| it serv|
|000062f0| 65 73 20 61 6e 79 20 70 | 61 72 74 69 63 75 6c 61 |es any p|articula|
|00006300| 72 0a 58 70 75 72 70 6f | 73 65 20 6f 72 20 77 6f |r.Xpurpo|se or wo|
|00006310| 72 6b 73 20 61 74 20 61 | 6c 6c 2c 20 75 6e 6c 65 |rks at a|ll, unle|
|00006320| 73 73 20 68 65 20 73 61 | 79 73 20 73 6f 20 69 6e |ss he sa|ys so in|
|00006330| 20 77 72 69 74 69 6e 67 | 2e 20 20 52 65 66 65 72 | writing|. Refer|
|00006340| 20 74 6f 20 74 68 65 20 | 47 4e 55 0a 58 47 65 6e | to the |GNU.XGen|
|00006350| 65 72 61 6c 20 50 75 62 | 6c 69 63 20 4c 69 63 65 |eral Pub|lic Lice|
|00006360| 6e 73 65 20 66 6f 72 20 | 66 75 6c 6c 20 64 65 74 |nse for |full det|
|00006370| 61 69 6c 73 2e 20 0a 58 | 0a 58 45 76 65 72 79 6f |ails. .X|.XEveryo|
|00006380| 6e 65 20 69 73 20 67 72 | 61 6e 74 65 64 20 70 65 |ne is gr|anted pe|
|00006390| 72 6d 69 73 73 69 6f 6e | 20 74 6f 20 63 6f 70 79 |rmission| to copy|
|000063a0| 2c 20 6d 6f 64 69 66 79 | 20 61 6e 64 20 72 65 64 |, modify| and red|
|000063b0| 69 73 74 72 69 62 75 74 | 65 20 4d 30 2c 20 62 75 |istribut|e M0, bu|
|000063c0| 74 0a 58 6f 6e 6c 79 20 | 75 6e 64 65 72 20 74 68 |t.Xonly |under th|
|000063d0| 65 20 63 6f 6e 64 69 74 | 69 6f 6e 73 20 64 65 73 |e condit|ions des|
|000063e0| 63 72 69 62 65 64 20 69 | 6e 20 74 68 65 20 47 4e |cribed i|n the GN|
|000063f0| 55 20 47 65 6e 65 72 61 | 6c 20 50 75 62 6c 69 63 |U Genera|l Public|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.