home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / moretz < prev    next >
Mailbox/MIME Entity  |  1988-02-09  |  44.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file Mailbox text, 1st line "From news Mon Sep 29 13:52:45 1986", ASCII text default
100% TrID E-Mail message (Var. 2) default
100% perlTextCheck Likely Text (Perl) default
100% siegfried x-fmt/111 Plain Text File default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime application/mbox default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 6e 65 77 | 73 20 20 4d 6f 6e 20 53 |From new|s Mon S|
|00000010| 65 70 20 32 39 20 31 33 | 3a 35 32 3a 34 35 20 31 |ep 29 13|:52:45 1|
|00000020| 39 38 36 0a 46 72 6f 6d | 3a 20 73 74 64 2d 75 6e |986.From|: std-un|
|00000030| 69 78 25 75 74 2d 73 61 | 6c 6c 79 2e 55 55 43 50 |ix%ut-sa|lly.UUCP|
|00000040| 40 73 61 6c 6c 79 2e 75 | 74 65 78 61 73 2e 65 64 |@sally.u|texas.ed|
|00000050| 75 20 28 4d 6f 64 65 72 | 61 74 6f 72 2c 20 4a 6f |u (Moder|ator, Jo|
|00000060| 68 6e 20 51 75 61 72 74 | 65 72 6d 61 6e 29 0a 4e |hn Quart|erman).N|
|00000070| 65 77 73 67 72 6f 75 70 | 73 3a 20 6d 6f 64 2e 73 |ewsgroup|s: mod.s|
|00000080| 74 64 2e 75 6e 69 78 0a | 53 75 62 6a 65 63 74 3a |td.unix.|Subject:|
|00000090| 20 53 75 6d 6d 61 72 79 | 20 6f 66 20 56 6f 6c 75 | Summary| of Volu|
|000000a0| 6d 65 20 36 20 6f 66 20 | 6d 6f 64 2e 73 74 64 2e |me 6 of |mod.std.|
|000000b0| 75 6e 69 78 0a 4d 65 73 | 73 61 67 65 2d 49 64 3a |unix.Mes|sage-Id:|
|000000c0| 20 3c 35 38 33 35 40 75 | 74 2d 73 61 6c 6c 79 2e | <5835@u|t-sally.|
|000000d0| 55 55 43 50 3e 0a 4f 72 | 67 61 6e 69 7a 61 74 69 |UUCP>.Or|ganizati|
|000000e0| 6f 6e 3a 20 49 45 45 45 | 20 31 30 30 33 20 50 6f |on: IEEE| 1003 Po|
|000000f0| 72 74 61 62 6c 65 20 4f | 70 65 72 61 74 69 6e 67 |rtable O|perating|
|00000100| 20 53 79 73 74 65 6d 20 | 66 6f 72 20 43 6f 6d 70 | System |for Comp|
|00000110| 75 74 65 72 20 45 6e 76 | 69 72 6f 6e 6d 65 6e 74 |uter Env|ironment|
|00000120| 73 20 43 6f 6d 6d 69 74 | 74 65 65 0a 44 61 74 65 |s Commit|tee.Date|
|00000130| 3a 20 32 39 20 53 65 70 | 20 38 36 20 31 38 3a 35 |: 29 Sep| 86 18:5|
|00000140| 32 3a 31 37 20 47 4d 54 | 0a 44 72 61 66 74 2d 39 |2:17 GMT|.Draft-9|
|00000150| 3a 20 6d 6f 64 2e 73 74 | 64 2e 75 6e 69 78 0a 53 |: mod.st|d.unix.S|
|00000160| 74 61 74 75 73 3a 20 52 | 0a 0a 41 64 6d 69 6e 69 |tatus: R|..Admini|
|00000170| 73 74 72 61 74 69 76 69 | 61 3a 09 4e 31 2c 20 4e |strativi|a:.N1, N|
|00000180| 31 33 62 2c 20 4e 35 31 | 0a 6d 6f 64 2e 73 74 64 |13b, N51|.mod.std|
|00000190| 2e 75 6e 69 78 20 26 20 | 50 31 30 30 33 3a 09 4e |.unix & |P1003:.N|
|000001a0| 32 0a 50 75 62 6c 69 63 | 69 74 79 3a 09 09 4e 36 |2.Public|ity:..N6|
|000001b0| 0a 41 63 63 65 73 73 20 | 74 6f 20 73 74 61 6e 64 |.Access |to stand|
|000001c0| 61 72 64 73 3a 20 20 4e | 37 2c 20 4e 31 30 2c 20 |ards: N|7, N10, |
|000001d0| 4e 31 31 2c 20 4e 31 32 | 2c 20 4e 31 33 61 2c 20 |N11, N12|, N13a, |
|000001e0| 4e 32 31 2c 20 4e 32 32 | 2c 20 4e 32 36 2c 20 4e |N21, N22|, N26, N|
|000001f0| 32 37 2c 20 4e 34 30 2c | 20 4e 34 36 2c 20 4e 35 |27, N40,| N46, N5|
|00000200| 30 0a 41 63 63 65 73 73 | 20 74 6f 20 75 73 65 72 |0.Access| to user|
|00000210| 20 67 72 6f 75 70 73 20 | 61 6e 64 20 70 75 62 6c | groups |and publ|
|00000220| 69 63 61 74 69 6f 6e 73 | 3a 20 20 4e 31 31 2c 20 |ications|: N11, |
|00000230| 4e 32 31 2c 20 4e 34 30 | 2c 20 4e 34 35 0a 50 4f |N21, N40|, N45.PO|
|00000240| 53 49 58 20 43 6f 6e 66 | 6f 72 6d 61 6e 63 65 20 |SIX Conf|ormance |
|00000250| 57 6f 72 6b 73 68 6f 70 | 3a 09 4e 32 30 0a 50 31 |Workshop|:.N20.P1|
|00000260| 30 30 33 2e 32 20 53 68 | 65 6c 6c 20 57 6f 72 6b |003.2 Sh|ell Work|
|00000270| 69 6e 67 20 47 72 6f 75 | 70 3a 09 4e 32 34 2c 20 |ing Grou|p:.N24, |
|00000280| 4e 32 35 20 28 48 61 6c | 20 4a 65 73 70 65 72 73 |N25 (Hal| Jespers|
|00000290| 65 6e 29 0a 49 45 45 45 | 20 31 30 30 33 2e 31 2c |en).IEEE| 1003.1,|
|000002a0| 20 50 4f 53 49 58 2c 20 | 26 20 49 53 4f 2f 54 43 | POSIX, |& ISO/TC|
|000002b0| 39 37 3a 09 4e 34 39 20 | 28 49 73 61 61 6b 29 0a |97:.N49 |(Isaak).|
|000002c0| 52 46 43 73 3a 09 09 09 | 4e 31 36 20 28 6a 62 63 |RFCs:...|N16 (jbc|
|000002d0| 2c 20 6a 73 71 29 0a 0a | 77 72 69 74 65 20 45 4f |, jsq)..|write EO|
|000002e0| 46 3a 09 09 4e 35 2c 20 | 4e 38 2c 20 4e 39 0a 74 |F:..N5, |N8, N9.t|
|000002f0| 61 70 65 20 66 69 6c 65 | 20 6d 61 72 6b 73 3a 09 |ape file| marks:.|
|00000300| 4e 31 34 0a 69 6f 63 74 | 6c 20 76 73 2e 20 69 6f |N14.ioct|l vs. io|
|00000310| 63 6e 74 6c 20 28 61 6e | 64 20 66 63 6e 74 6c 29 |cntl (an|d fcntl)|
|00000320| 3a 20 20 4e 31 35 20 28 | 53 6d 69 74 68 2c 20 6a |: N15 (|Smith, j|
|00000330| 62 63 29 2c 20 4e 31 37 | 20 28 6a 62 63 29 2c 20 |bc), N17| (jbc), |
|00000340| 4e 31 38 20 28 72 62 6a | 29 2c 20 4e 31 39 20 28 |N18 (rbj|), N19 (|
|00000350| 64 61 67 29 0a 6d 6b 64 | 69 72 20 26 20 72 6d 64 |dag).mkd|ir & rmd|
|00000360| 69 72 20 69 6d 70 6c 65 | 6d 65 6e 74 61 74 69 6f |ir imple|mentatio|
|00000370| 6e 3a 20 20 4e 32 33 20 | 28 6a 73 71 2c 20 64 61 |n: N23 |(jsq, da|
|00000380| 67 29 2c 20 4e 32 38 20 | 28 64 61 67 29 0a 0a 54 |g), N28 |(dag)..T|
|00000390| 69 6d 65 7a 6f 6e 65 73 | 3a 0a 09 6d 6f 74 69 76 |imezones|:..motiv|
|000003a0| 61 74 69 6f 6e 3a 20 20 | 4e 33 20 28 48 6f 72 74 |ation: |N3 (Hort|
|000003b0| 6f 6e 29 3b 20 6c 6f 63 | 61 74 69 6f 6e 3a 20 20 |on); loc|ation: |
|000003c0| 4e 34 20 28 64 61 67 29 | 3b 20 20 70 61 73 74 3a |N4 (dag)|; past:|
|000003d0| 20 20 4e 34 20 28 6a 73 | 71 29 0a 0a 52 46 43 2e | N4 (js|q)..RFC.|
|000003e0| 30 30 31 3a 20 20 54 69 | 6d 65 7a 6f 6e 65 73 3a |001: Ti|mezones:|
|000003f0| 20 20 4e 32 39 20 28 6a | 73 71 29 0a 09 52 46 43 | N29 (j|sq)..RFC|
|00000400| 2e 30 30 31 20 53 75 6d | 6d 61 72 79 20 6f 66 20 |.001 Sum|mary of |
|00000410| 6d 6f 64 2e 73 74 64 2e | 75 6e 69 78 20 56 6f 6c |mod.std.|unix Vol|
|00000420| 75 6d 65 20 35 3a 20 20 | 4e 33 30 20 28 6a 73 71 |ume 5: |N30 (jsq|
|00000430| 29 0a 09 52 46 43 2e 30 | 30 31 20 54 69 6d 65 7a |)..RFC.0|01 Timez|
|00000440| 6f 6e 65 20 49 6e 74 65 | 72 66 61 63 65 3a 20 20 |one Inte|rface: |
|00000450| 4e 33 31 20 28 45 6c 7a | 29 0a 09 52 46 43 2e 30 |N31 (Elz|)..RFC.0|
|00000460| 30 31 20 54 69 6d 65 7a | 6f 6e 65 20 45 78 61 6d |01 Timez|one Exam|
|00000470| 70 6c 65 73 3a 20 20 4e | 33 32 20 28 4f 6c 73 65 |ples: N|32 (Olse|
|00000480| 6e 29 0a 09 52 46 43 2e | 30 30 31 20 54 69 6d 65 |n)..RFC.|001 Time|
|00000490| 7a 6f 6e 65 20 50 72 6f | 70 6f 73 61 6c 3a 20 20 |zone Pro|posal: |
|000004a0| 4e 33 33 20 28 6a 73 71 | 29 0a 0a 52 65 73 70 6f |N33 (jsq|)..Respo|
|000004b0| 6e 73 65 73 20 74 6f 20 | 52 46 43 2e 30 30 31 3a |nses to |RFC.001:|
|000004c0| 0a 09 50 72 65 76 69 6f | 75 73 20 63 61 6c 6c 20 |..Previo|us call |
|000004d0| 6f 6e 20 73 65 74 74 7a | 28 29 3a 20 20 4e 33 34 |on settz|(): N34|
|000004e0| 20 28 4e 6f 65 6c 29 2c | 20 4e 33 36 20 28 45 6c | (Noel),| N36 (El|
|000004f0| 7a 29 09 20 20 20 28 70 | 65 72 68 61 70 73 20 61 |z). (p|erhaps a|
|00000500| 64 64 29 0a 09 49 6d 70 | 6c 65 6d 65 6e 74 6f 72 |dd)..Imp|lementor|
|00000510| 27 73 20 54 5a 20 61 20 | 62 61 64 20 64 65 66 61 |'s TZ a |bad defa|
|00000520| 75 6c 74 3a 20 20 4e 33 | 34 20 28 4e 6f 65 6c 29 |ult: N3|4 (Noel)|
|00000530| 2c 20 4e 33 36 20 28 45 | 6c 7a 29 09 20 20 20 20 |, N36 (E|lz). |
|00000540| 20 20 28 61 64 64 20 6e | 6f 74 65 29 0a 09 4d 65 | (add n|ote)..Me|
|00000550| 74 68 6f 64 20 74 6f 20 | 72 65 74 72 69 65 76 65 |thod to |retrieve|
|00000560| 20 54 5a 20 6e 61 6d 65 | 3a 20 20 4e 33 34 20 28 | TZ name|: N34 (|
|00000570| 4e 6f 65 6c 29 2c 20 4e | 33 36 20 28 45 6c 7a 29 |Noel), N|36 (Elz)|
|00000580| 09 20 20 28 6e 6f 74 20 | 74 7a 6e 61 6d 65 5b 5d |. (not |tzname[]|
|00000590| 29 0a 09 42 53 44 20 74 | 69 6d 65 7a 6f 6e 65 28 |)..BSD t|imezone(|
|000005a0| 29 3a 20 20 4e 33 34 20 | 28 4e 6f 65 6c 29 0a 09 |): N34 |(Noel)..|
|000005b0| 74 7a 73 65 74 28 29 20 | 6f 66 20 53 79 73 74 65 |tzset() |of Syste|
|000005c0| 6d 20 56 3a 20 20 4e 33 | 34 20 28 4e 6f 65 6c 29 |m V: N3|4 (Noel)|
|000005d0| 2c 20 4e 33 36 20 28 45 | 6c 7a 29 09 20 20 28 69 |, N36 (E|lz). (i|
|000005e0| 6d 70 6c 65 6d 65 6e 74 | 2c 20 64 6f 6e 27 74 20 |mplement|, don't |
|000005f0| 61 64 64 29 0a 09 54 5a | 20 26 20 44 53 54 20 72 |add)..TZ| & DST r|
|00000600| 75 6c 65 3a 20 20 4e 33 | 34 20 28 4e 6f 65 6c 29 |ule: N3|4 (Noel)|
|00000610| 2c 20 4e 33 35 20 28 48 | 6f 72 74 6f 6e 29 2c 20 |, N35 (H|orton), |
|00000620| 4e 33 36 20 28 45 6c 7a | 29 28 63 61 6e 27 74 20 |N36 (Elz|)(can't |
|00000630| 62 65 20 64 6f 6e 65 20 | 72 69 67 68 74 29 0a 09 |be done |right)..|
|00000640| 44 65 74 61 69 6c 73 20 | 6f 66 20 4f 6c 73 65 6e |Details |of Olsen|
|00000650| 27 73 20 69 6d 70 6c 65 | 6d 65 6e 74 61 74 69 6f |'s imple|mentatio|
|00000660| 6e 3a 20 20 4e 33 37 20 | 28 44 65 76 69 6e 65 29 |n: N37 |(Devine)|
|00000670| 0a 54 68 65 20 70 61 72 | 65 6e 74 68 65 74 69 63 |.The par|enthetic|
|00000680| 61 6c 20 63 6f 6d 6d 65 | 6e 74 73 20 61 74 20 74 |al comme|nts at t|
|00000690| 68 65 20 66 61 72 20 72 | 69 67 68 74 20 69 6e 64 |he far r|ight ind|
|000006a0| 69 63 61 74 65 20 6d 79 | 20 69 6e 74 65 72 70 72 |icate my| interpr|
|000006b0| 65 74 61 74 69 6f 6e 0a | 6f 66 20 74 68 65 20 6f |etation.|of the o|
|000006c0| 75 74 63 6f 6d 65 20 6f | 66 20 74 68 65 20 64 69 |utcome o|f the di|
|000006d0| 73 63 75 73 73 69 6f 6e | 73 20 6f 6e 20 74 68 65 |scussion|s on the|
|000006e0| 20 76 61 72 69 6f 75 73 | 20 74 6f 70 69 63 73 20 | various| topics |
|000006f0| 61 6e 64 20 77 68 61 74 | 20 49 0a 72 65 63 6f 6d |and what| I.recom|
|00000700| 6d 65 6e 64 65 64 20 74 | 68 65 20 63 6f 6d 6d 69 |mended t|he commi|
|00000710| 74 74 65 65 20 64 6f 2e | 0a 0a 57 68 61 74 20 64 |ttee do.|..What d|
|00000720| 6f 65 73 20 74 69 6d 65 | 5f 74 20 72 65 70 72 65 |oes time|_t repre|
|00000730| 73 65 6e 74 20 61 6e 64 | 20 6c 6f 63 61 6c 74 69 |sent and| localti|
|00000740| 6d 65 28 29 20 63 6f 6e | 76 65 72 74 3f 20 20 4e |me() con|vert? N|
|00000750| 33 38 20 28 48 61 72 72 | 69 73 29 0a 2a 09 75 6e |38 (Harr|is).*.un|
|00000760| 73 69 67 6e 65 64 20 66 | 6f 72 20 66 75 74 75 72 |signed f|or futur|
|00000770| 65 3a 20 20 4e 33 39 20 | 28 46 72 61 6e 6b 6c 69 |e: N39 |(Frankli|
|00000780| 6e 29 2c 20 4e 34 32 20 | 28 48 61 72 72 69 73 29 |n), N42 |(Harris)|
|00000790| 2c 20 4e 34 33 20 28 59 | 61 6f 29 0a 09 73 69 67 |, N43 (Y|ao)..sig|
|000007a0| 6e 65 64 20 66 6f 72 20 | 70 61 73 74 3a 20 20 4e |ned for |past: N|
|000007b0| 34 31 20 28 4f 6c 73 65 | 6e 29 0a 09 61 6e 20 69 |41 (Olse|n)..an i|
|000007c0| 6d 70 6c 65 6d 65 6e 74 | 61 74 69 6f 6e 3a 20 20 |mplement|ation: |
|000007d0| 4e 34 34 20 28 43 61 6d | 70 62 65 6c 6c 29 0a 0a |N44 (Cam|pbell)..|
|000007e0| 46 61 72 20 50 61 73 74 | 3a 20 20 4e 34 36 20 28 |Far Past|: N46 (|
|000007f0| 6a 73 71 29 0a 2a 09 64 | 69 66 66 65 72 65 6e 74 |jsq).*.d|ifferent|
|00000800| 20 72 65 70 72 65 73 65 | 6e 74 61 74 69 6f 6e 3a | represe|ntation:|
|00000810| 20 20 4e 34 34 20 28 6a | 73 71 2c 20 67 65 6e 65 | N44 (j|sq, gene|
|00000820| 61 6c 6f 67 79 29 2c 20 | 4e 34 37 20 28 48 6f 72 |alogy), |N47 (Hor|
|00000830| 74 6f 6e 29 0a 09 75 73 | 65 20 74 69 6d 65 5f 74 |ton)..us|e time_t|
|00000840| 3a 20 20 4e 34 38 20 28 | 42 72 61 64 65 72 29 0a |: N48 (|Brader).|
|00000850| 0a 2a 20 69 6e 64 69 63 | 61 74 65 73 20 74 68 65 |.* indic|ates the|
|00000860| 20 73 69 64 65 20 6f 66 | 20 74 68 65 20 64 69 73 | side of| the dis|
|00000870| 63 75 73 73 69 6f 6e 20 | 74 68 61 74 20 77 6f 6e |cussion |that won|
|00000880| 2c 20 61 73 20 49 20 73 | 65 65 20 69 74 2e 0a 0c |, as I s|ee it...|
|00000890| 0a 41 62 62 72 65 76 69 | 61 74 69 6f 6e 73 3a 0a |.Abbrevi|ations:.|
|000008a0| 09 42 72 61 64 65 72 3a | 09 09 4d 61 72 6b 20 42 |.Brader:|..Mark B|
|000008b0| 72 61 64 65 72 0a 09 43 | 61 6d 70 62 65 6c 6c 3a |rader..C|ampbell:|
|000008c0| 09 4c 61 72 72 79 20 43 | 61 6d 70 62 65 6c 6c 0a |.Larry C|ampbell.|
|000008d0| 09 64 61 67 3a 09 09 44 | 6f 75 67 6c 61 73 20 41 |.dag:..D|ouglas A|
|000008e0| 2e 20 47 77 79 6e 0a 09 | 44 65 76 69 6e 65 3a 09 |. Gwyn..|Devine:.|
|000008f0| 09 42 6f 62 20 44 65 76 | 69 6e 65 0a 09 45 6c 7a |.Bob Dev|ine..Elz|
|00000900| 3a 09 09 52 6f 62 65 72 | 74 20 45 6c 7a 0a 09 46 |:..Rober|t Elz..F|
|00000910| 72 61 6e 6b 6c 69 6e 3a | 09 44 61 6e 20 46 72 61 |ranklin:|.Dan Fra|
|00000920| 6e 6b 6c 69 6e 0a 09 48 | 61 72 72 69 73 3a 09 09 |nklin..H|arris:..|
|00000930| 47 75 79 20 48 61 72 72 | 69 73 0a 09 48 6f 72 74 |Guy Harr|is..Hort|
|00000940| 6f 6e 3a 09 09 4d 61 72 | 6b 20 48 6f 72 74 6f 6e |on:..Mar|k Horton|
|00000950| 0a 09 49 73 61 61 6b 3a | 09 09 4a 61 6d 65 73 20 |..Isaak:|..James |
|00000960| 49 73 61 61 6b 20 28 50 | 31 30 30 33 20 63 6f 2d |Isaak (P|1003 co-|
|00000970| 63 68 61 69 72 29 0a 09 | 6a 62 63 3a 09 09 4a 6f |chair)..|jbc:..Jo|
|00000980| 68 6e 20 42 2e 20 43 68 | 61 6d 62 65 72 73 20 28 |hn B. Ch|ambers (|
|00000990| 67 75 65 73 74 20 6d 6f | 64 65 72 61 74 6f 72 29 |guest mo|derator)|
|000009a0| 0a 09 4a 65 73 70 65 72 | 73 65 6e 3a 09 48 61 6c |..Jesper|sen:.Hal|
|000009b0| 20 4a 65 73 70 65 72 73 | 65 6e 20 28 50 31 30 30 | Jespers|en (P100|
|000009c0| 33 2e 32 20 63 6f 2d 63 | 68 61 69 72 29 0a 09 6a |3.2 co-c|hair)..j|
|000009d0| 73 71 3a 09 09 4a 6f 68 | 6e 20 53 2e 20 51 75 61 |sq:..Joh|n S. Qua|
|000009e0| 72 74 65 72 6d 61 6e 20 | 28 6d 6f 64 65 72 61 74 |rterman |(moderat|
|000009f0| 6f 72 29 0a 09 4e 6f 65 | 6c 3a 09 09 47 72 65 67 |or)..Noe|l:..Greg|
|00000a00| 20 4e 6f 65 6c 0a 09 4f | 6c 73 65 6e 3a 09 09 41 | Noel..O|lsen:..A|
|00000a10| 72 74 68 75 72 20 4f 6c | 73 65 6e 0a 09 72 62 6a |rthur Ol|sen..rbj|
|00000a20| 3a 09 09 52 6f 6f 74 20 | 42 6f 79 20 4a 69 6d 20 |:..Root |Boy Jim |
|00000a30| 43 6f 74 74 72 65 6c 6c | 0a 09 53 6d 69 74 68 3a |Cottrell|..Smith:|
|00000a40| 09 09 52 6f 79 20 53 6d | 69 74 68 0a 09 59 61 6f |..Roy Sm|ith..Yao|
|00000a50| 3a 09 09 4a 6f 65 20 59 | 61 6f 0a 0a 56 6f 6c 75 |:..Joe Y|ao..Volu|
|00000a60| 6d 65 2d 4e 75 6d 62 65 | 72 3a 20 56 6f 6c 75 6d |me-Numbe|r: Volum|
|00000a70| 65 20 37 2c 20 4e 75 6d | 62 65 72 20 37 0a 0a 46 |e 7, Num|ber 7..F|
|00000a80| 72 6f 6d 20 6a 73 71 20 | 20 53 61 74 20 4a 75 6c |rom jsq | Sat Jul|
|00000a90| 20 31 39 20 31 32 3a 33 | 37 3a 34 34 20 31 39 38 | 19 12:3|7:44 198|
|00000aa0| 36 0a 46 72 6f 6d 3a 20 | 73 74 64 2d 75 6e 69 78 |6.From: |std-unix|
|00000ab0| 25 75 74 2d 73 61 6c 6c | 79 2e 55 55 43 50 40 53 |%ut-sall|y.UUCP@S|
|00000ac0| 41 4c 4c 59 2e 55 54 45 | 58 41 53 2e 45 44 55 20 |ALLY.UTE|XAS.EDU |
|00000ad0| 28 4d 6f 64 65 72 61 74 | 6f 72 2c 20 4a 6f 68 6e |(Moderat|or, John|
|00000ae0| 20 51 75 61 72 74 65 72 | 6d 61 6e 29 0a 4e 65 77 | Quarter|man).New|
|00000af0| 73 67 72 6f 75 70 73 3a | 20 6d 6f 64 2e 73 74 64 |sgroups:| mod.std|
|00000b00| 2e 75 6e 69 78 0a 53 75 | 62 6a 65 63 74 3a 20 52 |.unix.Su|bject: R|
|00000b10| 65 3a 20 52 46 43 2e 30 | 30 31 20 54 69 6d 65 7a |e: RFC.0|01 Timez|
|00000b20| 6f 6e 65 20 49 6e 74 65 | 72 66 61 63 65 0a 4d 65 |one Inte|rface.Me|
|00000b30| 73 73 61 67 65 2d 49 64 | 3a 20 3c 35 33 36 39 40 |ssage-Id|: <5369@|
|00000b40| 75 74 2d 73 61 6c 6c 79 | 2e 55 55 43 50 3e 0a 4f |ut-sally|.UUCP>.O|
|00000b50| 72 67 61 6e 69 7a 61 74 | 69 6f 6e 3a 20 49 45 45 |rganizat|ion: IEE|
|00000b60| 45 20 31 30 30 33 20 50 | 6f 72 74 61 62 6c 65 20 |E 1003 P|ortable |
|00000b70| 4f 70 65 72 61 74 69 6e | 67 20 53 79 73 74 65 6d |Operatin|g System|
|00000b80| 20 66 6f 72 20 43 6f 6d | 70 75 74 65 72 20 45 6e | for Com|puter En|
|00000b90| 76 69 72 6f 6e 6d 65 6e | 74 73 20 43 6f 6d 6d 69 |vironmen|ts Commi|
|00000ba0| 74 74 65 65 0a 49 6e 2d | 52 65 70 6c 79 2d 54 6f |ttee.In-|Reply-To|
|00000bb0| 3a 20 3c 35 33 35 32 40 | 75 74 2d 73 61 6c 6c 79 |: <5352@|ut-sally|
|00000bc0| 2e 55 55 43 50 3e 0a 44 | 61 74 65 3a 20 31 39 20 |.UUCP>.D|ate: 19 |
|00000bd0| 4a 75 6c 20 38 36 20 31 | 37 3a 33 36 3a 30 36 20 |Jul 86 1|7:36:06 |
|00000be0| 47 4d 54 0a 44 72 61 66 | 74 2d 39 3a 20 54 5a 2e |GMT.Draf|t-9: TZ.|
|00000bf0| 52 46 43 2e 30 30 31 0a | 53 74 61 74 75 73 3a 20 |RFC.001.|Status: |
|00000c00| 52 0a 0a 46 72 6f 6d 3a | 20 6c 6c 2d 78 6e 21 73 |R..From:| ll-xn!s|
|00000c10| 33 73 75 6e 21 73 64 63 | 73 76 61 78 21 6e 63 72 |3sun!sdc|svax!ncr|
|00000c20| 2d 73 64 21 67 72 65 67 | 2e 40 74 6f 70 61 7a 2e |-sd!greg|.@topaz.|
|00000c30| 55 55 43 50 0a 44 61 74 | 65 3a 20 46 72 69 2c 20 |UUCP.Dat|e: Fri, |
|00000c40| 31 38 20 4a 75 6c 20 38 | 36 20 31 35 3a 34 37 3a |18 Jul 8|6 15:47:|
|00000c50| 33 39 20 50 44 54 0a 4f | 72 67 61 6e 69 7a 61 74 |39 PDT.O|rganizat|
|00000c60| 69 6f 6e 3a 20 4e 43 52 | 20 43 6f 72 70 6f 72 61 |ion: NCR| Corpora|
|00000c70| 74 69 6f 6e 2c 20 52 61 | 6e 63 68 6f 20 42 65 72 |tion, Ra|ncho Ber|
|00000c80| 6e 61 72 64 6f 0a 0a 53 | 6f 6d 65 20 63 6f 6d 6d |nardo..S|ome comm|
|00000c90| 65 6e 74 73 20 61 62 6f | 75 74 20 74 68 65 20 74 |ents abo|ut the t|
|00000ca0| 69 6d 65 7a 6f 6e 65 20 | 70 72 6f 70 6f 73 61 6c |imezone |proposal|
|00000cb0| 20 74 6f 20 62 65 20 73 | 75 62 6d 69 74 74 65 64 | to be s|ubmitted|
|00000cc0| 20 74 6f 20 50 31 30 30 | 33 2e 0a 54 68 69 73 20 | to P100|3..This |
|00000cd0| 69 73 20 6d 6f 73 74 6c | 79 20 6e 69 74 70 69 63 |is mostl|y nitpic|
|00000ce0| 6b 69 6e 67 2c 20 62 75 | 74 20 74 68 65 72 65 20 |king, bu|t there |
|00000cf0| 61 72 65 20 73 6f 6d 65 | 20 6c 6f 6f 73 65 20 65 |are some| loose e|
|00000d00| 6e 64 73 20 74 68 61 74 | 20 73 75 63 68 0a 61 20 |nds that| such.a |
|00000d10| 70 72 6f 70 6f 73 61 6c | 20 77 69 6c 6c 20 6e 65 |proposal| will ne|
|00000d20| 65 64 20 74 6f 20 73 70 | 65 63 69 66 79 2e 20 20 |ed to sp|ecify. |
|00000d30| 49 20 77 69 6c 6c 20 63 | 6f 6d 6d 65 6e 74 20 66 |I will c|omment f|
|00000d40| 72 6f 6d 20 45 6c 7a 27 | 73 20 74 65 78 74 3b 0a |rom Elz'|s text;.|
|00000d50| 74 68 65 20 74 65 78 74 | 20 6f 66 20 74 68 65 20 |the text| of the |
|00000d60| 70 72 6f 70 6f 73 61 6c | 20 74 6f 20 50 31 30 30 |proposal| to P100|
|00000d70| 33 20 66 6f 6c 6c 6f 77 | 73 20 74 68 69 73 20 77 |3 follow|s this w|
|00000d80| 6f 72 64 69 6e 67 20 63 | 6c 6f 73 65 6c 79 2e 0a |ording c|losely..|
|00000d90| 0a 49 6e 20 61 72 74 69 | 63 6c 65 20 3c 35 33 35 |.In arti|cle <535|
|00000da0| 32 40 75 74 2d 73 61 6c | 6c 79 2e 55 55 43 50 3e |2@ut-sal|ly.UUCP>|
|00000db0| 20 52 6f 62 65 72 74 20 | 45 6c 7a 20 77 72 69 74 | Robert |Elz writ|
|00000dc0| 65 73 3a 0a 3e 6c 6f 63 | 61 6c 74 69 6d 65 3a 20 |es:.>loc|altime: |
|00000dd0| 63 6f 6e 76 65 72 74 73 | 20 74 68 65 20 74 69 6d |converts| the tim|
|00000de0| 65 5f 74 20 22 2a 74 22 | 20 74 6f 20 61 20 22 73 |e_t "*t"| to a "s|
|00000df0| 74 72 75 63 74 20 74 6d | 22 20 72 65 70 72 65 73 |truct tm|" repres|
|00000e00| 65 6e 74 69 6e 67 0a 3e | 74 68 65 20 67 69 76 65 |enting.>|the give|
|00000e10| 6e 20 74 69 6d 65 20 61 | 64 6a 75 73 74 65 64 20 |n time a|djusted |
|00000e20| 74 6f 20 72 65 70 72 65 | 73 65 6e 74 20 73 6f 6d |to repre|sent som|
|00000e30| 65 20 6c 6f 63 61 6c 20 | 74 69 6d 65 20 64 69 66 |e local |time dif|
|00000e40| 66 65 72 65 6e 63 65 2e | 0a 3e 22 6c 6f 63 61 6c |ference.|.>"local|
|00000e50| 20 74 69 6d 65 22 20 77 | 69 6c 6c 20 62 65 20 73 | time" w|ill be s|
|00000e60| 70 65 63 69 66 69 65 64 | 20 62 79 20 61 20 63 61 |pecified| by a ca|
|00000e70| 6c 6c 20 74 6f 20 22 73 | 65 74 74 7a 22 2c 20 69 |ll to "s|ettz", i|
|00000e80| 66 20 6e 6f 20 73 75 63 | 68 0a 3e 63 61 6c 6c 20 |f no suc|h.>call |
|00000e90| 68 61 73 20 70 72 65 63 | 65 64 65 64 20 74 68 65 |has prec|eded the|
|00000ea0| 20 63 61 6c 6c 20 74 6f | 20 6c 6f 63 61 6c 74 69 | call to| localti|
|00000eb0| 6d 65 28 29 2c 20 6c 6f | 63 61 6c 74 69 6d 65 28 |me(), lo|caltime(|
|00000ec0| 29 20 77 69 6c 6c 20 63 | 61 6c 6c 0a 3e 22 73 65 |) will c|all.>"se|
|00000ed0| 74 74 7a 28 67 65 74 65 | 6e 76 28 22 54 5a 22 29 |ttz(gete|nv("TZ")|
|00000ee0| 29 3b 22 2e 20 20 2e 2e | 2e 2e 2e 2e 2e 2e 0a 0a |);". ..|........|
|00000ef0| 4e 6f 74 65 20 74 68 61 | 74 20 74 68 69 73 20 69 |Note tha|t this i|
|00000f00| 6d 70 6c 69 65 73 20 74 | 68 61 74 20 74 68 65 72 |mplies t|hat ther|
|00000f10| 65 20 6d 75 73 74 20 62 | 65 20 73 6f 6d 65 20 77 |e must b|e some w|
|00000f20| 61 79 20 66 6f 72 20 74 | 68 65 20 69 6d 70 6c 65 |ay for t|he imple|
|00000f30| 6d 65 6e 74 61 74 69 6f | 6e 0a 74 6f 20 74 65 6c |mentatio|n.to tel|
|00000f40| 6c 20 28 61 29 20 69 66 | 20 73 65 74 74 7a 20 68 |l (a) if| settz h|
|00000f50| 61 73 20 62 65 65 6e 20 | 70 72 65 76 69 6f 75 73 |as been |previous|
|00000f60| 6c 79 20 63 61 6c 6c 65 | 64 2c 20 61 6e 64 20 70 |ly calle|d, and p|
|00000f70| 72 65 73 75 6d 61 62 6c | 79 2c 20 28 62 29 20 77 |resumabl|y, (b) w|
|00000f80| 68 61 74 0a 76 61 6c 75 | 65 20 77 61 73 20 70 72 |hat.valu|e was pr|
|00000f90| 6f 76 69 64 65 64 20 62 | 79 20 73 65 74 74 7a 2e |ovided b|y settz.|
|00000fa0| 20 20 54 68 69 73 20 69 | 6e 66 6f 72 6d 61 74 69 | This i|nformati|
|00000fb0| 6f 6e 20 73 68 6f 75 6c | 64 20 62 65 20 70 61 72 |on shoul|d be par|
|00000fc0| 74 20 6f 66 20 74 68 65 | 0a 69 6e 74 65 72 66 61 |t of the|.interfa|
|00000fd0| 63 65 2e 20 20 49 74 20 | 69 73 20 65 61 73 79 20 |ce. It |is easy |
|00000fe0| 74 6f 20 69 6d 61 67 69 | 6e 65 20 61 20 75 74 69 |to imagi|ne a uti|
|00000ff0| 6c 69 74 79 20 6c 6f 67 | 67 69 6e 67 20 73 75 62 |lity log|ging sub|
|00001000| 72 6f 75 74 69 6e 65 20 | 74 68 61 74 20 77 6f 75 |routine |that wou|
|00001010| 6c 64 0a 77 61 6e 74 20 | 74 6f 20 75 73 65 20 74 |ld.want |to use t|
|00001020| 68 65 20 6c 6f 63 61 6c | 20 74 69 6d 65 20 77 68 |he local| time wh|
|00001030| 65 6e 20 69 6e 73 65 72 | 74 69 6e 67 20 6c 6f 67 |en inser|ting log|
|00001040| 20 65 6e 74 72 69 65 73 | 20 77 69 74 68 6f 75 74 | entries| without|
|00001050| 20 64 69 73 74 75 72 62 | 69 6e 67 0a 6f 74 68 65 | disturb|ing.othe|
|00001060| 72 20 74 69 6d 65 2d 64 | 69 73 70 6c 61 79 20 63 |r time-d|isplay c|
|00001070| 61 6c 63 75 6c 61 74 69 | 6f 6e 73 20 28 74 68 65 |alculati|ons (the|
|00001080| 20 75 73 65 72 20 6d 69 | 67 68 74 20 62 65 20 72 | user mi|ght be r|
|00001090| 75 6e 6e 69 6e 67 20 69 | 6e 20 61 20 64 69 66 66 |unning i|n a diff|
|000010a0| 65 72 65 6e 74 0a 74 69 | 6d 65 20 7a 6f 6e 65 29 |erent.ti|me zone)|
|000010b0| 2c 20 73 6f 20 74 68 69 | 73 20 6c 6f 67 67 69 6e |, so thi|s loggin|
|000010c0| 67 20 73 75 62 72 6f 75 | 74 69 6e 65 20 77 69 6c |g subrou|tine wil|
|000010d0| 6c 20 6e 65 65 64 20 74 | 6f 20 62 65 20 61 62 6c |l need t|o be abl|
|000010e0| 65 20 74 6f 20 73 65 74 | 20 61 6e 64 0a 70 6f 74 |e to set| and.pot|
|000010f0| 65 6e 74 69 61 6c 6c 79 | 20 72 65 73 65 74 20 74 |entially| reset t|
|00001100| 68 65 20 74 69 6d 65 20 | 7a 6f 6e 65 20 69 6e 66 |he time |zone inf|
|00001110| 6f 72 6d 61 74 69 6f 6e | 2e 0a 0a 5b 20 50 65 72 |ormation|...[ Per|
|00001120| 68 61 70 73 2e 20 20 54 | 68 65 20 61 73 73 75 6d |haps. T|he assum|
|00001130| 70 74 69 6f 6e 20 69 73 | 20 74 68 61 74 20 61 20 |ption is| that a |
|00001140| 70 72 6f 63 65 73 73 20 | 77 69 6c 6c 20 65 69 74 |process |will eit|
|00001150| 68 65 72 20 75 73 65 20 | 74 68 65 0a 73 61 6d 65 |her use |the.same|
|00001160| 20 76 61 72 69 65 74 79 | 20 6f 66 20 6c 6f 63 61 | variety| of loca|
|00001170| 6c 74 69 6d 65 20 74 68 | 72 6f 75 67 68 6f 75 74 |ltime th|roughout|
|00001180| 2c 20 6f 72 20 74 68 61 | 74 20 69 74 20 77 69 6c |, or tha|t it wil|
|00001190| 6c 20 65 78 70 6c 69 63 | 69 74 6c 79 0a 73 65 74 |l explic|itly.set|
|000011a0| 20 74 68 65 20 6b 69 6e | 64 20 69 74 20 77 61 6e | the kin|d it wan|
|000011b0| 74 73 20 77 69 74 68 20 | 73 65 74 74 7a 20 62 65 |ts with |settz be|
|000011c0| 66 6f 72 65 20 75 73 69 | 6e 67 20 6c 6f 63 61 6c |fore usi|ng local|
|000011d0| 74 69 6d 65 2e 0a 54 68 | 61 74 20 73 74 69 6c 6c |time..Th|at still|
|000011e0| 20 6c 65 61 76 65 73 20 | 74 68 65 20 71 75 65 73 | leaves |the ques|
|000011f0| 74 69 6f 6e 20 6f 66 20 | 68 6f 77 20 6c 6f 63 61 |tion of |how loca|
|00001200| 6c 74 69 6d 65 20 6b 6e | 6f 77 73 20 73 65 74 74 |ltime kn|ows sett|
|00001210| 7a 0a 68 61 73 20 62 65 | 65 6e 20 75 73 65 64 20 |z.has be|en used |
|00001220| 70 72 65 76 69 6f 75 73 | 6c 79 2c 20 62 75 74 20 |previous|ly, but |
|00001230| 61 73 20 6c 6f 6e 67 20 | 61 73 20 69 74 20 64 6f |as long |as it do|
|00001240| 65 73 2c 20 69 74 27 73 | 0a 6e 6f 74 20 63 6c 65 |es, it's|.not cle|
|00001250| 61 72 20 74 68 61 74 20 | 61 6e 20 61 70 70 6c 69 |ar that |an appli|
|00001260| 63 61 74 69 6f 6e 20 77 | 72 69 74 65 72 20 6e 65 |cation w|riter ne|
|00001270| 65 64 73 20 74 6f 20 6b | 6e 6f 77 20 68 6f 77 0a |eds to k|now how.|
|00001280| 69 74 27 73 20 64 6f 6e | 65 2e 20 20 2d 6d 6f 64 |it's don|e. -mod|
|00001290| 20 5d 0a 0a 3e 49 66 20 | 73 65 74 74 7a 20 69 73 | ]..>If |settz is|
|000012a0| 20 63 61 6c 6c 65 64 20 | 77 69 74 68 20 61 6e 20 | called |with an |
|000012b0| 75 6e 72 65 63 6f 67 6e | 69 73 61 62 6c 65 20 61 |unrecogn|isable a|
|000012c0| 72 67 75 6d 65 6e 74 2c | 20 74 68 65 20 65 66 66 |rgument,| the eff|
|000012d0| 65 63 74 0a 3e 69 73 20 | 69 6d 70 6c 65 6d 65 6e |ect.>is |implemen|
|000012e0| 74 61 74 69 6f 6e 20 64 | 65 66 69 6e 65 64 2e 20 |tation d|efined. |
|000012f0| 20 28 55 73 65 72 73 20 | 6d 69 67 68 74 20 65 78 | (Users |might ex|
|00001300| 70 65 63 74 20 61 6e 79 | 20 6f 66 20 74 68 72 65 |pect any| of thre|
|00001310| 65 0a 3e 22 72 65 61 73 | 6f 6e 61 62 6c 65 22 3f |e.>"reas|onable"?|
|00001320| 20 61 63 74 69 6f 6e 73 | 20 63 6f 75 6c 64 20 62 | actions| could b|
|00001330| 65 20 74 61 6b 65 6e 20 | 68 65 72 65 20 2d 2d 20 |e taken |here -- |
|00001340| 75 73 65 20 47 4d 54 2c | 20 75 73 65 20 6c 6f 63 |use GMT,| use loc|
|00001350| 61 6c 20 74 69 6d 65 2c | 0a 3e 6f 72 20 75 73 65 |al time,|.>or use|
|00001360| 20 6c 6f 63 61 6c 20 74 | 69 6d 65 20 69 6e 20 74 | local t|ime in t|
|00001370| 68 65 20 61 72 65 61 20 | 77 68 65 72 65 20 74 68 |he area |where th|
|00001380| 65 20 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |e implem|entation|
|00001390| 20 77 61 73 20 70 65 72 | 66 6f 72 6d 65 64 29 2e | was per|formed).|
|000013a0| 0a 0a 53 69 6e 63 65 20 | 49 20 68 61 76 65 20 62 |..Since |I have b|
|000013b0| 65 65 6e 20 62 69 74 74 | 65 6e 20 74 6f 6f 20 6d |een bitt|en too m|
|000013c0| 61 6e 79 20 74 69 6d 65 | 73 20 62 79 20 68 61 76 |any time|s by hav|
|000013d0| 69 6e 67 20 74 68 65 20 | 64 65 66 61 75 6c 74 20 |ing the |default |
|000013e0| 74 69 6d 65 20 7a 6f 6e | 65 0a 62 65 20 74 68 61 |time zon|e.be tha|
|000013f0| 74 20 6f 66 20 74 68 65 | 20 69 6d 70 6c 65 6d 65 |t of the| impleme|
|00001400| 6e 74 65 72 73 2c 20 49 | 20 66 65 65 6c 20 74 68 |nters, I| feel th|
|00001410| 61 74 20 6f 70 74 69 6f | 6e 20 74 68 72 65 65 20 |at optio|n three |
|00001420| 69 73 20 75 6e 72 65 61 | 73 6f 6e 61 62 6c 65 2e |is unrea|sonable.|
|00001430| 0a 50 72 65 73 75 6d 61 | 62 6c 79 2c 20 73 69 6e |.Presuma|bly, sin|
|00001440| 63 65 20 61 6e 20 61 74 | 74 65 6d 70 74 20 77 61 |ce an at|tempt wa|
|00001450| 73 20 6d 61 64 65 20 74 | 6f 20 73 65 74 20 74 68 |s made t|o set th|
|00001460| 65 20 74 69 6d 65 20 7a | 6f 6e 65 20 74 6f 20 61 |e time z|one to a|
|00001470| 20 6e 6f 6e 2d 6c 6f 63 | 61 6c 0a 76 61 6c 75 65 | non-loc|al.value|
|00001480| 2c 20 75 73 69 6e 67 20 | 47 4d 54 20 61 73 20 61 |, using |GMT as a|
|00001490| 20 63 61 6e 6f 6e 69 63 | 61 6c 20 6e 6f 6e 2d 6c | canonic|al non-l|
|000014a0| 6f 63 61 6c 20 74 69 6d | 65 20 7a 6f 6e 65 20 69 |ocal tim|e zone i|
|000014b0| 73 20 70 72 6f 62 61 62 | 6c 79 20 72 65 61 73 6f |s probab|ly reaso|
|000014c0| 6e 61 62 6c 65 0a 28 66 | 6f 72 20 65 76 65 72 79 |nable.(f|or every|
|000014d0| 62 6f 64 79 20 65 78 63 | 65 70 74 20 74 68 6f 73 |body exc|ept thos|
|000014e0| 65 20 69 6e 20 45 6e 67 | 6c 61 6e 64 2c 20 6f 66 |e in Eng|land, of|
|000014f0| 20 63 6f 75 72 73 65 20 | 2d 2d 20 70 65 72 68 61 | course |-- perha|
|00001500| 70 73 20 69 74 20 73 68 | 6f 75 6c 64 20 62 65 0a |ps it sh|ould be.|
|00001510| 63 61 6c 6c 65 64 20 55 | 43 54 20 77 68 65 6e 20 |called U|CT when |
|00001520| 69 6e 20 74 68 69 73 20 | 6d 6f 64 65 20 73 6f 20 |in this |mode so |
|00001530| 61 73 20 6e 6f 74 20 74 | 6f 20 75 73 65 20 74 68 |as not t|o use th|
|00001540| 65 20 73 61 6d 65 20 61 | 62 62 72 65 76 69 61 74 |e same a|bbreviat|
|00001550| 69 6f 6e 29 2e 0a 0a 5b | 20 54 68 69 73 20 69 73 |ion)...[| This is|
|00001560| 20 61 6e 20 65 78 61 6d | 70 6c 65 20 6f 66 20 73 | an exam|ple of s|
|00001570| 6f 6d 65 74 68 69 6e 67 | 20 79 6f 75 27 6c 6c 20 |omething| you'll |
|00001580| 66 69 6e 64 20 74 68 72 | 6f 75 67 68 6f 75 74 20 |find thr|oughout |
|00001590| 31 30 30 33 2e 31 3a 0a | 61 6e 20 61 74 74 65 6d |1003.1:.|an attem|
|000015a0| 70 74 20 74 6f 20 6e 6f | 74 20 6f 75 74 6c 61 77 |pt to no|t outlaw|
|000015b0| 20 65 78 69 73 74 69 6e | 67 20 62 65 68 61 76 69 | existin|g behavi|
|000015c0| 6f 72 20 6f 66 20 65 78 | 69 73 74 69 6e 67 20 73 |or of ex|isting s|
|000015d0| 79 73 74 65 6d 73 2e 0a | 49 66 20 6f 70 74 69 6f |ystems..|If optio|
|000015e0| 6e 20 74 68 72 65 65 20 | 77 65 72 65 20 6e 6f 74 |n three |were not|
|000015f0| 20 69 6e 63 6c 75 64 65 | 64 20 28 75 67 6c 79 20 | include|d (ugly |
|00001600| 61 73 20 69 74 20 69 73 | 29 2c 20 49 20 64 6f 75 |as it is|), I dou|
|00001610| 62 74 20 74 68 65 20 63 | 6f 6d 6d 69 74 74 65 65 |bt the c|ommittee|
|00001620| 0a 77 6f 75 6c 64 20 62 | 65 20 61 62 6c 65 20 74 |.would b|e able t|
|00001630| 6f 20 72 65 61 63 68 20 | 63 6f 6e 73 65 6e 73 75 |o reach |consensu|
|00001640| 73 20 6f 6e 20 69 6e 63 | 6c 75 64 69 6e 67 20 73 |s on inc|luding s|
|00001650| 65 74 74 7a 2e 20 20 2d | 6d 6f 64 20 5d 0a 0a 3e |ettz. -|mod ]..>|
|00001660| 57 68 61 74 27 73 20 6d | 69 73 73 69 6e 67 3a 20 |What's m|issing: |
|00001670| 20 53 6f 20 66 61 72 20 | 68 65 72 65 20 74 68 65 | So far |here the|
|00001680| 72 65 20 69 73 20 6e 6f | 20 6d 65 6e 74 69 6f 6e |re is no| mention|
|00001690| 20 6f 66 20 74 68 65 20 | 22 74 69 6d 65 7a 6f 6e | of the |"timezon|
|000016a0| 65 20 6e 61 6d 65 22 2e | 0a 3e 4e 6f 6e 65 20 6f |e name".|.>None o|
|000016b0| 66 20 74 68 65 20 73 74 | 61 6e 64 61 72 64 20 6d |f the st|andard m|
|000016c0| 65 63 68 61 6e 69 73 6d | 73 20 69 73 20 72 65 61 |echanism|s is rea|
|000016d0| 6c 6c 79 20 61 64 65 71 | 75 61 74 65 20 68 65 72 |lly adeq|uate her|
|000016e0| 65 2e 20 20 2e 2e 2e 2e | 2e 2e 0a 3e 41 72 74 68 |e. ....|...>Arth|
|000016f0| 75 72 20 4f 6c 73 6f 6e | 27 73 20 73 63 68 65 6d |ur Olson|'s schem|
|00001700| 65 20 63 61 75 73 65 73 | 20 22 6c 6f 63 61 6c 74 |e causes| "localt|
|00001710| 69 6d 65 22 20 74 6f 20 | 73 65 74 20 61 20 67 6c |ime" to |set a gl|
|00001720| 6f 62 61 6c 20 76 61 72 | 69 61 62 6c 65 0a 3e 22 |obal var|iable.>"|
|00001730| 74 7a 5f 61 62 62 72 22 | 20 74 6f 20 74 68 65 20 |tz_abbr"| to the |
|00001740| 63 6f 72 72 65 63 74 20 | 73 74 72 69 6e 67 20 6e |correct |string n|
|00001750| 61 6d 65 20 66 6f 72 20 | 74 68 65 20 74 69 6d 65 |ame for |the time|
|00001760| 7a 6f 6e 65 20 6a 75 73 | 74 20 75 73 65 64 2e 0a |zone jus|t used..|
|00001770| 0a 49 20 70 72 6f 70 6f | 73 65 20 61 6e 20 65 78 |.I propo|se an ex|
|00001780| 74 65 6e 73 69 6f 6e 20 | 6f 66 20 74 68 65 20 53 |tension |of the S|
|00001790| 79 73 74 65 6d 20 56 20 | 6d 65 63 68 61 6e 69 73 |ystem V |mechanis|
|000017a0| 6d 2e 20 20 54 68 61 74 | 20 69 6e 74 65 72 66 61 |m. That| interfa|
|000017b0| 63 65 20 64 65 66 69 6e | 65 73 0a 22 65 78 74 65 |ce defin|es."exte|
|000017c0| 72 6e 20 63 68 61 72 20 | 2a 74 7a 6e 61 6d 65 5b |rn char |*tzname[|
|000017d0| 32 5d 22 20 66 6f 72 20 | 74 68 65 20 74 69 6d 65 |2]" for |the time|
|000017e0| 20 7a 6f 6e 65 20 6e 61 | 6d 65 73 20 61 6e 64 20 | zone na|mes and |
|000017f0| 68 61 73 20 61 20 66 69 | 65 6c 64 20 69 6e 20 74 |has a fi|eld in t|
|00001800| 68 65 0a 74 6d 20 73 74 | 72 75 63 74 20 28 74 6d |he.tm st|ruct (tm|
|00001810| 5f 69 73 64 73 74 29 20 | 74 68 61 74 20 69 73 20 |_isdst) |that is |
|00001820| 6e 6f 6e 2d 7a 65 72 6f | 20 69 66 20 64 61 79 6c |non-zero| if dayl|
|00001830| 69 67 68 74 20 73 61 76 | 69 6e 67 73 20 69 73 20 |ight sav|ings is |
|00001840| 69 6e 20 65 66 66 65 63 | 74 3b 0a 69 2e 65 2e 2c |in effec|t;.i.e.,|
|00001850| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 74 69 6d | the cur|rent tim|
|00001860| 65 7a 6f 6e 65 20 6e 61 | 6d 65 20 69 73 20 74 7a |ezone na|me is tz|
|00001870| 6e 61 6d 65 5b 74 6d 2e | 74 6d 5f 69 73 64 73 74 |name[tm.|tm_isdst|
|00001880| 20 21 3d 20 30 5d 2e 20 | 20 49 20 70 72 6f 70 6f | != 0]. | I propo|
|00001890| 73 65 0a 74 68 61 74 20 | 74 68 65 20 73 74 61 6e |se.that |the stan|
|000018a0| 64 61 72 64 20 61 64 64 | 20 22 65 78 74 65 72 6e |dard add| "extern|
|000018b0| 20 63 68 61 72 20 2a 74 | 7a 6e 61 6d 65 5b 5d 22 | char *t|zname[]"|
|000018c0| 20 28 6e 6f 74 65 20 74 | 68 61 74 20 74 68 65 20 | (note t|hat the |
|000018d0| 6c 65 6e 67 74 68 20 69 | 73 0a 6e 6f 74 20 73 70 |length i|s.not sp|
|000018e0| 65 63 69 66 69 65 64 3b | 20 74 68 65 20 62 6f 75 |ecified;| the bou|
|000018f0| 6e 64 20 77 6f 75 6c 64 | 20 62 65 20 69 6d 70 6c |nd would| be impl|
|00001900| 65 6d 65 6e 74 61 74 69 | 6f 6e 2d 64 65 66 69 6e |ementati|on-defin|
|00001910| 65 64 29 20 61 6e 64 20 | 68 61 76 65 20 77 6f 72 |ed) and |have wor|
|00001920| 64 69 6e 67 0a 74 68 61 | 74 20 73 61 79 73 20 74 |ding.tha|t says t|
|00001930| 68 61 74 20 74 7a 6e 61 | 6d 65 5b 74 6d 2e 74 6d |hat tzna|me[tm.tm|
|00001940| 5f 69 73 64 73 74 5d 20 | 69 73 20 74 68 65 20 6e |_isdst] |is the n|
|00001950| 61 6d 65 20 6f 66 20 74 | 68 65 20 72 65 6c 65 76 |ame of t|he relev|
|00001960| 61 6e 74 20 74 69 6d 65 | 7a 6f 6e 65 2e 0a 53 69 |ant time|zone..Si|
|00001970| 6e 63 65 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |nce the |current |
|00001980| 53 79 73 74 65 6d 20 56 | 20 69 6d 70 6c 65 6d 65 |System V| impleme|
|00001990| 6e 74 61 74 69 6f 6e 20 | 6f 6e 6c 79 20 73 65 74 |ntation |only set|
|000019a0| 73 20 74 6d 5f 69 73 64 | 73 74 20 74 6f 20 7a 65 |s tm_isd|st to ze|
|000019b0| 72 6f 20 6f 72 0a 6f 6e | 65 2c 20 74 68 69 73 20 |ro or.on|e, this |
|000019c0| 69 73 20 61 63 74 75 61 | 6c 6c 79 20 62 61 63 6b |is actua|lly back|
|000019d0| 77 61 72 64 20 63 6f 6d | 70 61 74 69 62 6c 65 2e |ward com|patible.|
|000019e0| 20 20 28 49 6e 20 66 61 | 63 74 2c 20 49 20 6a 75 | (In fa|ct, I ju|
|000019f0| 73 74 20 6c 6f 6f 6b 65 | 64 20 74 68 72 6f 75 67 |st looke|d throug|
|00001a00| 68 0a 6f 75 72 20 53 79 | 73 74 65 6d 20 56 20 73 |h.our Sy|stem V s|
|00001a10| 6f 75 72 63 65 73 20 66 | 6f 72 20 75 73 65 73 20 |ources f|or uses |
|00001a20| 6f 66 20 74 7a 6e 61 6d | 65 3b 20 6d 6f 73 74 20 |of tznam|e; most |
|00001a30| 6f 66 20 74 68 65 20 75 | 73 65 73 20 61 72 65 20 |of the u|ses are |
|00001a40| 6f 66 20 74 68 65 20 6c | 61 74 74 65 72 0a 66 6f |of the l|atter.fo|
|00001a50| 72 6d 20 72 61 74 68 65 | 72 20 74 68 61 6e 20 74 |rm rathe|r than t|
|00001a60| 68 65 20 66 6f 72 6d 65 | 72 2c 20 73 6f 20 74 68 |he forme|r, so th|
|00001a70| 69 73 20 70 72 6f 70 6f | 73 61 6c 20 69 73 20 65 |is propo|sal is e|
|00001a80| 76 65 6e 20 6d 6f 72 65 | 20 63 6f 6d 70 61 74 69 |ven more| compati|
|00001a90| 62 6c 65 20 74 68 61 6e | 0a 69 74 20 6c 6f 6f 6b |ble than|.it look|
|00001aa0| 73 2e 29 0a 0a 3e 2e 2e | 2e 2e 5b 70 72 6f 62 6c |s.)..>..|..[probl|
|00001ab0| 65 6d 73 20 73 69 6d 75 | 6c 61 74 69 6e 67 20 42 |ems simu|lating B|
|00001ac0| 53 44 73 20 22 74 69 6d | 65 7a 6f 6e 65 28 29 22 |SDs "tim|ezone()"|
|00001ad0| 20 66 75 6e 63 74 69 6f | 6e 5d 20 2d 20 6f 6e 65 | functio|n] - one|
|00001ae0| 20 6d 69 67 68 74 20 62 | 65 20 74 6f 0a 3e 72 65 | might b|e to.>re|
|00001af0| 74 61 69 6e 20 22 74 69 | 6d 65 7a 6f 6e 65 22 20 |tain "ti|mezone" |
|00001b00| 62 75 74 20 6e 6f 74 20 | 72 65 71 75 69 72 65 20 |but not |require |
|00001b10| 74 68 61 74 20 69 74 20 | 62 65 20 63 61 70 61 62 |that it |be capab|
|00001b20| 6c 65 20 6f 66 20 72 65 | 74 75 72 6e 69 6e 67 0a |le of re|turning.|
|00001b30| 3e 61 6e 79 74 68 69 6e | 67 20 65 78 63 65 70 74 |>anythin|g except|
|00001b40| 20 74 68 65 20 7a 6f 6e | 65 20 6e 61 6d 65 20 63 | the zon|e name c|
|00001b50| 6f 72 72 65 73 70 6f 6e | 64 69 6e 67 20 74 6f 20 |orrespon|ding to |
|00001b60| 74 68 65 20 6c 61 73 74 | 20 63 61 6c 6c 20 6f 66 |the last| call of|
|00001b70| 0a 3e 6c 6f 63 61 6c 74 | 69 6d 65 28 29 20 20 2e |.>localt|ime() .|
|00001b80| 2e 2e 2e 2e 2e 2e 0a 0a | 57 69 74 68 20 74 68 65 |........|With the|
|00001b90| 20 61 62 6f 76 65 20 70 | 72 6f 70 6f 73 61 6c 2c | above p|roposal,|
|00001ba0| 20 22 74 69 6d 65 7a 6f | 6e 65 28 29 22 20 77 6f | "timezo|ne()" wo|
|00001bb0| 75 6c 64 20 72 65 74 75 | 72 6e 20 76 61 6c 75 65 |uld retu|rn value|
|00001bc0| 73 20 73 65 6c 65 63 74 | 65 64 20 66 72 6f 6d 0a |s select|ed from.|
|00001bd0| 74 68 65 20 74 7a 6e 61 | 6d 65 20 61 72 72 61 79 |the tzna|me array|
|00001be0| 20 69 66 20 74 68 65 20 | 74 69 6d 65 20 7a 6f 6e | if the |time zon|
|00001bf0| 65 20 77 61 73 20 6f 6e | 65 20 63 6f 76 65 72 65 |e was on|e covere|
|00001c00| 64 20 62 79 20 74 68 65 | 20 6c 61 73 74 20 73 65 |d by the| last se|
|00001c10| 74 74 7a 28 29 2c 20 6f | 72 0a 6f 74 68 65 72 77 |ttz(), o|r.otherw|
|00001c20| 69 73 65 20 72 65 74 75 | 72 6e 20 61 20 73 74 72 |ise retu|rn a str|
|00001c30| 69 6e 67 20 6f 66 20 74 | 68 65 20 66 6f 72 6d 20 |ing of t|he form |
|00001c40| 22 2b 2d 68 68 6d 6d 22 | 2e 20 20 54 68 69 73 20 |"+-hhmm"|. This |
|00001c50| 66 75 6e 63 74 69 6f 6e | 20 70 72 6f 62 61 62 6c |function| probabl|
|00001c60| 79 0a 73 68 6f 75 6c 64 | 20 6e 6f 74 20 62 65 20 |y.should| not be |
|00001c70| 70 61 72 74 20 6f 66 20 | 74 68 65 20 73 74 61 6e |part of |the stan|
|00001c80| 64 61 72 64 2c 20 73 69 | 6e 63 65 20 69 74 20 69 |dard, si|nce it i|
|00001c90| 73 20 70 72 69 6d 61 72 | 69 6c 79 20 70 72 65 73 |s primar|ily pres|
|00001ca0| 65 6e 74 20 66 6f 72 0a | 62 61 63 6b 77 61 72 64 |ent for.|backward|
|00001cb0| 20 63 6f 6d 70 61 74 69 | 62 69 6c 69 74 79 2e 20 | compati|bility. |
|00001cc0| 20 49 66 20 69 74 20 69 | 73 20 70 72 65 73 65 6e | If it i|s presen|
|00001cd0| 74 2c 20 69 74 20 73 68 | 6f 75 6c 64 20 62 65 20 |t, it sh|ould be |
|00001ce0| 64 65 70 72 65 63 69 61 | 74 65 64 20 73 6f 0a 74 |deprecia|ted so.t|
|00001cf0| 68 61 74 20 69 74 20 63 | 61 6e 20 67 6f 20 61 77 |hat it c|an go aw|
|00001d00| 61 79 20 69 6e 20 74 68 | 65 20 66 75 74 75 72 65 |ay in th|e future|
|00001d10| 2e 0a 0a 41 6e 64 20 77 | 68 69 6c 65 20 77 65 27 |...And w|hile we'|
|00001d20| 72 65 20 6f 6e 20 62 61 | 63 6b 77 61 72 64 20 63 |re on ba|ckward c|
|00001d30| 6f 6d 70 61 74 69 62 69 | 6c 69 74 79 2c 20 74 68 |ompatibi|lity, th|
|00001d40| 65 20 53 79 73 56 20 66 | 75 6e 63 74 69 6f 6e 20 |e SysV f|unction |
|00001d50| 74 7a 73 65 74 28 29 20 | 63 6f 75 6c 64 0a 62 65 |tzset() |could.be|
|00001d60| 20 64 65 66 69 6e 65 64 | 20 61 73 20 22 69 66 28 | defined| as "if(|
|00001d70| 74 69 6d 65 7a 6f 6e 65 | 5f 6e 6f 74 5f 73 65 74 |timezone|_not_set|
|00001d80| 29 20 73 65 74 74 7a 28 | 67 65 74 65 6e 76 28 22 |) settz(|getenv("|
|00001d90| 54 5a 22 29 3b 22 20 74 | 6f 20 62 65 20 63 6f 6d |TZ");" t|o be com|
|00001da0| 70 61 74 69 62 6c 65 0a | 77 69 74 68 20 74 68 65 |patible.|with the|
|00001db0| 20 77 61 79 20 69 74 20 | 63 75 72 72 65 6e 74 6c | way it |currentl|
|00001dc0| 79 20 77 6f 72 6b 73 3b | 20 61 67 61 69 6e 2c 20 |y works;| again, |
|00001dd0| 69 66 20 74 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |if this |function|
|00001de0| 20 69 73 20 64 65 66 69 | 6e 65 64 2c 20 69 74 73 | is defi|ned, its|
|00001df0| 0a 75 73 61 67 65 20 73 | 68 6f 75 6c 64 20 62 65 |.usage s|hould be|
|00001e00| 20 64 65 70 72 65 63 69 | 61 74 65 64 2e 0a 0a 5b | depreci|ated...[|
|00001e10| 20 49 20 64 6f 6e 27 74 | 20 74 68 69 6e 6b 20 74 | I don't| think t|
|00001e20| 7a 73 65 74 20 69 73 20 | 69 6e 20 74 68 65 20 73 |zset is |in the s|
|00001e30| 74 61 6e 64 61 72 64 2c | 20 62 75 74 20 74 68 61 |tandard,| but tha|
|00001e40| 74 27 73 20 61 20 75 73 | 65 66 75 6c 20 69 6d 70 |t's a us|eful imp|
|00001e50| 6c 65 6d 65 6e 74 61 74 | 69 6f 6e 0a 6e 6f 74 65 |lementat|ion.note|
|00001e60| 2e 20 20 2d 6d 6f 64 20 | 5d 0a 0a 53 79 73 74 65 |. -mod |]..Syste|
|00001e70| 6d 20 56 20 61 6c 73 6f | 20 64 65 66 69 6e 65 73 |m V also| defines|
|00001e80| 20 65 78 74 65 72 6e 61 | 6c 20 76 61 72 69 61 62 | externa|l variab|
|00001e90| 6c 65 73 20 66 6f 72 20 | 74 68 65 20 63 75 72 72 |les for |the curr|
|00001ea0| 65 6e 74 20 74 69 6d 65 | 7a 6f 6e 65 20 61 6e 64 |ent time|zone and|
|00001eb0| 20 64 61 79 6c 69 67 68 | 74 0a 73 61 76 69 6e 67 | dayligh|t.saving|
|00001ec0| 73 20 72 75 6c 65 2e 20 | 20 41 72 65 20 74 68 65 |s rule. | Are the|
|00001ed0| 72 65 20 61 6e 79 20 70 | 72 6f 67 72 61 6d 73 20 |re any p|rograms |
|00001ee0| 74 68 61 74 20 61 63 74 | 75 61 6c 6c 79 20 75 73 |that act|ually us|
|00001ef0| 65 20 74 68 65 73 65 3f | 20 20 53 68 6f 75 6c 64 |e these?| Should|
|00001f00| 20 74 68 65 79 20 62 65 | 0a 70 61 72 74 20 6f 66 | they be|.part of|
|00001f10| 20 74 68 65 20 69 6e 74 | 65 72 66 61 63 65 20 61 | the int|erface a|
|00001f20| 73 20 77 65 6c 6c 3f 20 | 20 28 4f 72 20 73 6f 6d |s well? | (Or som|
|00001f30| 65 20 65 71 75 69 76 61 | 6c 65 6e 74 20 66 75 6e |e equiva|lent fun|
|00001f40| 63 74 69 6f 6e 61 6c 69 | 74 79 3f 29 0a 0a 2d 2d |ctionali|ty?)..--|
|00001f50| 20 0a 2d 2d 20 47 72 65 | 67 20 4e 6f 65 6c 2c 20 | .-- Gre|g Noel, |
|00001f60| 4e 43 52 20 52 61 6e 63 | 68 6f 20 42 65 72 6e 61 |NCR Ranc|ho Berna|
|00001f70| 72 64 6f 20 20 20 20 47 | 72 65 67 40 6e 63 72 2d |rdo G|reg@ncr-|
|00001f80| 73 64 2e 55 55 43 50 20 | 6f 72 20 47 72 65 67 40 |sd.UUCP |or Greg@|
|00001f90| 6e 6f 73 63 2e 41 52 50 | 41 0a 0a 0a 56 6f 6c 75 |nosc.ARP|A...Volu|
|00001fa0| 6d 65 2d 4e 75 6d 62 65 | 72 3a 20 56 6f 6c 75 6d |me-Numbe|r: Volum|
|00001fb0| 65 20 36 2c 20 4e 75 6d | 62 65 72 20 33 34 0a 0a |e 6, Num|ber 34..|
|00001fc0| 46 72 6f 6d 20 6a 73 71 | 20 20 4d 6f 6e 20 4a 75 |From jsq| Mon Ju|
|00001fd0| 6c 20 32 31 20 30 38 3a | 34 36 3a 32 30 20 31 39 |l 21 08:|46:20 19|
|00001fe0| 38 36 0a 46 72 6f 6d 3a | 20 73 74 64 2d 75 6e 69 |86.From:| std-uni|
|00001ff0| 78 25 75 74 2d 73 61 6c | 6c 79 2e 55 55 43 50 40 |x%ut-sal|ly.UUCP@|
|00002000| 53 41 4c 4c 59 2e 55 54 | 45 58 41 53 2e 45 44 55 |SALLY.UT|EXAS.EDU|
|00002010| 20 28 4d 6f 64 65 72 61 | 74 6f 72 2c 20 4a 6f 68 | (Modera|tor, Joh|
|00002020| 6e 20 51 75 61 72 74 65 | 72 6d 61 6e 29 0a 4e 65 |n Quarte|rman).Ne|
|00002030| 77 73 67 72 6f 75 70 73 | 3a 20 6d 6f 64 2e 73 74 |wsgroups|: mod.st|
|00002040| 64 2e 75 6e 69 78 0a 53 | 75 62 6a 65 63 74 3a 20 |d.unix.S|ubject: |
|00002050| 52 65 3a 20 52 46 43 2e | 30 30 31 20 54 69 6d 65 |Re: RFC.|001 Time|
|00002060| 7a 6f 6e 65 20 49 6e 74 | 65 72 66 61 63 65 0a 4d |zone Int|erface.M|
|00002070| 65 73 73 61 67 65 2d 49 | 64 3a 20 3c 35 33 38 32 |essage-I|d: <5382|
|00002080| 40 75 74 2d 73 61 6c 6c | 79 2e 55 55 43 50 3e 0a |@ut-sall|y.UUCP>.|
|00002090| 4f 72 67 61 6e 69 7a 61 | 74 69 6f 6e 3a 20 49 45 |Organiza|tion: IE|
|000020a0| 45 45 20 31 30 30 33 20 | 50 6f 72 74 61 62 6c 65 |EE 1003 |Portable|
|000020b0| 20 4f 70 65 72 61 74 69 | 6e 67 20 53 79 73 74 65 | Operati|ng Syste|
|000020c0| 6d 20 66 6f 72 20 43 6f | 6d 70 75 74 65 72 20 45 |m for Co|mputer E|
|000020d0| 6e 76 69 72 6f 6e 6d 65 | 6e 74 73 20 43 6f 6d 6d |nvironme|nts Comm|
|000020e0| 69 74 74 65 65 0a 49 6e | 2d 52 65 70 6c 79 2d 54 |ittee.In|-Reply-T|
|000020f0| 6f 3a 20 3c 35 33 36 39 | 40 75 74 2d 73 61 6c 6c |o: <5369|@ut-sall|
|00002100| 79 2e 55 55 43 50 3e 0a | 44 61 74 65 3a 20 32 31 |y.UUCP>.|Date: 21|
|00002110| 20 4a 75 6c 20 38 36 20 | 31 33 3a 34 36 3a 30 32 | Jul 86 |13:46:02|
|00002120| 20 47 4d 54 0a 44 72 61 | 66 74 2d 39 3a 20 54 5a | GMT.Dra|ft-9: TZ|
|00002130| 2e 52 46 43 2e 30 30 31 | 0a 53 74 61 74 75 73 3a |.RFC.001|.Status:|
|00002140| 20 52 0a 0a 44 61 74 65 | 3a 20 4d 6f 6e 2c 20 32 | R..Date|: Mon, 2|
|00002150| 31 20 4a 75 6c 20 38 36 | 20 30 31 3a 32 33 3a 32 |1 Jul 86| 01:23:2|
|00002160| 39 20 65 64 74 0a 46 72 | 6f 6d 3a 20 69 6d 34 75 |9 edt.Fr|om: im4u|
|00002170| 21 63 61 69 70 21 6d 61 | 72 6b 40 63 62 6f 73 67 |!caip!ma|rk@cbosg|
|00002180| 64 2e 41 54 54 2e 43 4f | 4d 20 28 4d 61 72 6b 20 |d.ATT.CO|M (Mark |
|00002190| 48 6f 72 74 6f 6e 29 0a | 4f 72 67 61 6e 69 7a 61 |Horton).|Organiza|
|000021a0| 74 69 6f 6e 3a 20 41 54 | 26 54 20 42 65 6c 6c 20 |tion: AT|&T Bell |
|000021b0| 4c 61 62 6f 72 61 74 6f | 72 69 65 73 2c 20 43 6f |Laborato|ries, Co|
|000021c0| 6c 75 6d 62 75 73 0a 0a | 3e 53 79 73 74 65 6d 20 |lumbus..|>System |
|000021d0| 56 20 61 6c 73 6f 20 64 | 65 66 69 6e 65 73 20 65 |V also d|efines e|
|000021e0| 78 74 65 72 6e 61 6c 20 | 76 61 72 69 61 62 6c 65 |xternal |variable|
|000021f0| 73 20 66 6f 72 20 74 68 | 65 20 63 75 72 72 65 6e |s for th|e curren|
|00002200| 74 20 74 69 6d 65 7a 6f | 6e 65 20 61 6e 64 20 64 |t timezo|ne and d|
|00002210| 61 79 6c 69 67 68 74 0a | 3e 73 61 76 69 6e 67 73 |aylight.|>savings|
|00002220| 20 72 75 6c 65 2e 20 20 | 41 72 65 20 74 68 65 72 | rule. |Are ther|
|00002230| 65 20 61 6e 79 20 70 72 | 6f 67 72 61 6d 73 20 74 |e any pr|ograms t|
|00002240| 68 61 74 20 61 63 74 75 | 61 6c 6c 79 20 75 73 65 |hat actu|ally use|
|00002250| 20 74 68 65 73 65 3f 20 | 20 53 68 6f 75 6c 64 20 | these? | Should |
|00002260| 74 68 65 79 20 62 65 0a | 3e 70 61 72 74 20 6f 66 |they be.|>part of|
|00002270| 20 74 68 65 20 69 6e 74 | 65 72 66 61 63 65 20 61 | the int|erface a|
|00002280| 73 20 77 65 6c 6c 3f 20 | 20 28 4f 72 20 73 6f 6d |s well? | (Or som|
|00002290| 65 20 65 71 75 69 76 61 | 6c 65 6e 74 20 66 75 6e |e equiva|lent fun|
|000022a0| 63 74 69 6f 6e 61 6c 69 | 74 79 3f 29 0a 0a 59 65 |ctionali|ty?)..Ye|
|000022b0| 73 2c 20 74 68 65 72 65 | 27 73 20 61 6e 20 69 6d |s, there|'s an im|
|000022c0| 70 6f 72 74 61 6e 74 20 | 75 73 65 2e 20 20 49 66 |portant |use. If|
|000022d0| 20 79 6f 75 27 72 65 20 | 67 65 6e 65 72 61 74 69 | you're |generati|
|000022e0| 6e 67 20 61 6e 20 52 46 | 43 20 38 32 32 20 63 6f |ng an RF|C 822 co|
|000022f0| 6d 70 61 74 69 62 6c 65 | 0a 3e 44 61 74 65 3a 20 |mpatible|.>Date: |
|00002300| 6c 69 6e 65 2c 20 79 6f | 75 20 6e 65 65 64 20 74 |line, yo|u need t|
|00002310| 6f 20 6b 6e 6f 77 20 74 | 68 65 20 6c 6f 63 61 6c |o know t|he local|
|00002320| 20 6f 66 66 73 65 74 20 | 66 72 6f 6d 20 47 4d 54 | offset |from GMT|
|00002330| 20 6f 72 20 74 68 65 20 | 74 69 6d 65 20 7a 6f 6e | or the |time zon|
|00002340| 65 0a 6e 61 6d 65 2e 20 | 20 59 6f 75 20 63 61 6e |e.name. | You can|
|00002350| 27 74 20 6a 75 73 74 20 | 70 6c 75 67 20 69 6e 20 |'t just |plug in |
|00002360| 74 68 65 20 74 69 6d 65 | 20 7a 6f 6e 65 20 6e 61 |the time| zone na|
|00002370| 6d 65 2c 20 62 65 63 61 | 75 73 65 20 6f 6e 6c 79 |me, beca|use only|
|00002380| 20 74 68 65 20 6e 61 6d | 65 73 0a 69 6e 20 74 68 | the nam|es.in th|
|00002390| 65 20 55 53 41 20 61 72 | 65 20 61 6c 6c 6f 77 65 |e USA ar|e allowe|
|000023a0| 64 20 62 79 20 38 32 32 | 2c 20 61 6e 64 20 69 66 |d by 822|, and if|
|000023b0| 20 79 6f 75 20 74 72 79 | 20 74 6f 20 65 78 74 65 | you try| to exte|
|000023c0| 6e 64 20 74 68 61 74 20 | 74 6f 20 74 68 65 20 72 |nd that |to the r|
|000023d0| 65 73 74 0a 6f 66 20 74 | 68 65 20 77 6f 72 6c 64 |est.of t|he world|
|000023e0| 2c 20 79 6f 75 20 72 75 | 6e 20 69 6e 74 6f 20 61 |, you ru|n into a|
|000023f0| 6d 62 69 67 75 69 74 69 | 65 73 2e 20 20 49 6e 20 |mbiguiti|es. In |
|00002400| 67 65 6e 65 72 61 6c 2c | 20 79 6f 75 20 63 61 6e |general,| you can|
|00002410| 27 74 20 61 73 73 75 6d | 65 20 74 68 61 74 0a 73 |'t assum|e that.s|
|00002420| 6f 6d 65 6f 6e 65 20 69 | 6e 20 61 6e 20 61 72 62 |omeone i|n an arb|
|00002430| 69 74 72 61 72 79 20 6c | 6f 63 61 74 69 6f 6e 20 |itrary l|ocation |
|00002440| 69 6e 20 74 68 65 20 77 | 6f 72 6c 64 20 77 69 6c |in the w|orld wil|
|00002450| 6c 20 75 6e 64 65 72 73 | 74 61 6e 64 20 79 6f 75 |l unders|tand you|
|00002460| 72 20 6c 6f 63 61 6c 0a | 6e 61 6d 65 20 66 6f 72 |r local.|name for|
|00002470| 20 79 6f 75 72 20 74 69 | 6d 65 20 7a 6f 6e 65 2e | your ti|me zone.|
|00002480| 20 20 53 6f 20 79 6f 75 | 20 68 61 76 65 20 74 6f | So you| have to|
|00002490| 20 67 65 6e 65 72 61 74 | 65 20 61 20 7a 6f 6e 65 | generat|e a zone|
|000024a0| 20 6c 69 6b 65 20 22 2b | 68 68 6d 6d 22 2e 0a 0a | like "+|hhmm"...|
|000024b0| 4f 6e 65 20 6d 69 67 68 | 74 20 65 76 65 6e 20 63 |One migh|t even c|
|000024c0| 6c 61 69 6d 20 74 68 61 | 74 2c 20 69 6e 20 61 20 |laim tha|t, in a |
|000024d0| 7a 6f 6e 65 20 6c 69 6b | 65 20 4a 61 70 61 6e 2c |zone lik|e Japan,|
|000024e0| 20 61 73 6b 69 6e 67 20 | 66 6f 72 20 74 68 65 20 | asking |for the |
|000024f0| 74 69 6d 65 20 7a 6f 6e | 65 0a 6e 61 6d 65 20 73 |time zon|e.name s|
|00002500| 68 6f 75 6c 64 20 72 65 | 74 75 72 6e 20 22 2b 30 |hould re|turn "+0|
|00002510| 39 30 30 22 20 72 61 74 | 68 65 72 20 74 68 61 6e |900" rat|her than|
|00002520| 20 22 4a 53 54 22 2e 20 | 20 50 72 6f 62 61 62 6c | "JST". | Probabl|
|00002530| 79 20 6e 6f 74 2c 20 62 | 75 74 20 69 74 27 73 0a |y not, b|ut it's.|
|00002540| 61 20 74 68 6f 75 67 68 | 74 2e 0a 0a 09 4d 61 72 |a though|t....Mar|
|00002550| 6b 0a 0a 56 6f 6c 75 6d | 65 2d 4e 75 6d 62 65 72 |k..Volum|e-Number|
|00002560| 3a 20 56 6f 6c 75 6d 65 | 20 36 2c 20 4e 75 6d 62 |: Volume| 6, Numb|
|00002570| 65 72 20 33 35 0a 0a 46 | 72 6f 6d 20 6a 73 71 20 |er 35..F|rom jsq |
|00002580| 20 54 75 65 20 4a 75 6c | 20 32 32 20 32 30 3a 30 | Tue Jul| 22 20:0|
|00002590| 31 3a 33 34 20 31 39 38 | 36 0a 46 72 6f 6d 3a 20 |1:34 198|6.From: |
|000025a0| 73 74 64 2d 75 6e 69 78 | 25 75 74 2d 73 61 6c 6c |std-unix|%ut-sall|
|000025b0| 79 2e 55 55 43 50 40 53 | 41 4c 4c 59 2e 55 54 45 |y.UUCP@S|ALLY.UTE|
|000025c0| 58 41 53 2e 45 44 55 20 | 28 4d 6f 64 65 72 61 74 |XAS.EDU |(Moderat|
|000025d0| 6f 72 2c 20 4a 6f 68 6e | 20 51 75 61 72 74 65 72 |or, John| Quarter|
|000025e0| 6d 61 6e 29 0a 4e 65 77 | 73 67 72 6f 75 70 73 3a |man).New|sgroups:|
|000025f0| 20 6d 6f 64 2e 73 74 64 | 2e 75 6e 69 78 0a 53 75 | mod.std|.unix.Su|
|00002600| 62 6a 65 63 74 3a 20 52 | 65 3a 20 52 46 43 2e 30 |bject: R|e: RFC.0|
|00002610| 30 31 20 54 69 6d 65 7a | 6f 6e 65 20 49 6e 74 65 |01 Timez|one Inte|
|00002620| 72 66 61 63 65 0a 4d 65 | 73 73 61 67 65 2d 49 64 |rface.Me|ssage-Id|
|00002630| 3a 20 3c 35 33 38 37 40 | 75 74 2d 73 61 6c 6c 79 |: <5387@|ut-sally|
|00002640| 2e 55 55 43 50 3e 0a 4f | 72 67 61 6e 69 7a 61 74 |.UUCP>.O|rganizat|
|00002650| 69 6f 6e 3a 20 49 45 45 | 45 20 31 30 30 33 20 50 |ion: IEE|E 1003 P|
|00002660| 6f 72 74 61 62 6c 65 20 | 4f 70 65 72 61 74 69 6e |ortable |Operatin|
|00002670| 67 20 53 79 73 74 65 6d | 20 66 6f 72 20 43 6f 6d |g System| for Com|
|00002680| 70 75 74 65 72 20 45 6e | 76 69 72 6f 6e 6d 65 6e |puter En|vironmen|
|00002690| 74 73 20 43 6f 6d 6d 69 | 74 74 65 65 0a 44 61 74 |ts Commi|ttee.Dat|
|000026a0| 65 3a 20 32 33 20 4a 75 | 6c 20 38 36 20 30 31 3a |e: 23 Ju|l 86 01:|
|000026b0| 30 30 3a 35 35 20 47 4d | 54 0a 44 72 61 66 74 2d |00:55 GM|T.Draft-|
|000026c0| 39 3a 20 54 5a 2e 52 46 | 43 2e 30 30 31 0a 53 74 |9: TZ.RF|C.001.St|
|000026d0| 61 74 75 73 3a 20 52 0a | 0a 44 61 74 65 3a 20 32 |atus: R.|.Date: 2|
|000026e0| 33 20 4a 75 6c 20 38 36 | 20 30 38 3a 33 38 3a 33 |3 Jul 86| 08:38:3|
|000026f0| 34 20 2b 31 30 30 30 20 | 28 57 65 64 29 0a 46 72 |4 +1000 |(Wed).Fr|
|00002700| 6f 6d 3a 20 52 6f 62 65 | 72 74 20 45 6c 7a 20 3c |om: Robe|rt Elz <|
|00002710| 6d 75 6e 6e 61 72 69 21 | 6b 72 65 40 53 45 49 53 |munnari!|kre@SEIS|
|00002720| 4d 4f 2e 43 53 53 2e 47 | 4f 56 3e 0a 0a 49 20 68 |MO.CSS.G|OV>..I h|
|00002730| 61 76 65 20 28 6d 6f 72 | 65 20 74 68 61 6e 29 20 |ave (mor|e than) |
|00002740| 61 20 66 65 77 20 63 6f | 6d 6d 65 6e 74 73 20 61 |a few co|mments a|
|00002750| 62 6f 75 74 20 73 6f 6d | 65 20 63 6f 6d 6d 65 6e |bout som|e commen|
|00002760| 74 73 0a 61 62 6f 75 74 | 20 74 68 65 20 74 69 6d |ts.about| the tim|
|00002770| 65 7a 6f 6e 65 20 70 72 | 6f 70 6f 73 61 6c 2e 0a |ezone pr|oposal..|
|00002780| 0a 5b 20 54 68 65 72 65 | 27 73 20 6f 6e 6c 79 20 |.[ There|'s only |
|00002790| 6f 6e 65 20 63 6f 6d 6d | 65 6e 74 20 66 72 6f 6d |one comm|ent from|
|000027a0| 20 74 68 65 20 6d 6f 64 | 65 72 61 74 6f 72 20 69 | the mod|erator i|
|000027b0| 6e 20 74 68 69 73 20 61 | 72 74 69 63 6c 65 3a 0a |n this a|rticle:.|
|000027c0| 64 69 73 63 75 73 73 69 | 6f 6e 73 20 61 72 65 20 |discussi|ons are |
|000027d0| 76 65 72 79 20 75 73 65 | 66 75 6c 2c 20 62 75 74 |very use|ful, but|
|000027e0| 20 74 6f 20 67 65 74 20 | 69 6e 20 74 68 65 20 73 | to get |in the s|
|000027f0| 74 61 6e 64 61 72 64 20 | 69 74 20 6e 65 65 64 73 |tandard |it needs|
|00002800| 0a 65 78 61 63 74 20 77 | 6f 72 64 69 6e 67 2e 20 |.exact w|ording. |
|00002810| 20 49 6e 20 6f 74 68 65 | 72 20 77 6f 72 64 73 2c | In othe|r words,|
|00002820| 20 61 6e 79 6f 6e 65 20 | 77 61 6e 74 69 6e 67 20 | anyone |wanting |
|00002830| 63 68 61 6e 67 65 73 20 | 74 6f 20 74 68 65 0a 70 |changes |to the.p|
|00002840| 72 6f 70 6f 73 61 6c 20 | 66 6f 72 6d 20 49 20 70 |roposal |form I p|
|00002850| 6f 73 74 65 64 20 73 68 | 6f 75 6c 64 20 73 75 70 |osted sh|ould sup|
|00002860| 70 6c 79 20 2a 65 78 61 | 63 74 20 77 6f 72 64 69 |ply *exa|ct wordi|
|00002870| 6e 67 20 63 68 61 6e 67 | 65 73 2a 2e 0a 28 41 6e |ng chang|es*..(An|
|00002880| 20 61 6c 74 65 72 6e 61 | 74 69 76 65 20 77 6f 75 | alterna|tive wou|
|00002890| 6c 64 20 62 65 20 74 6f | 20 73 75 62 6d 69 74 20 |ld be to| submit |
|000028a0| 61 20 63 6f 6d 70 6c 65 | 74 65 20 6e 65 77 20 70 |a comple|te new p|
|000028b0| 72 6f 70 6f 73 61 6c 2e | 29 0a 2d 6d 6f 64 20 5d |roposal.|).-mod ]|
|000028c0| 0a 0a 51 75 6f 74 65 73 | 20 75 6e 74 69 6c 20 73 |..Quotes| until s|
|000028d0| 74 61 74 65 64 20 6f 74 | 68 65 72 77 69 73 65 20 |tated ot|herwise |
|000028e0| 61 72 65 20 66 72 6f 6d | 20 47 72 65 67 20 4e 6f |are from| Greg No|
|000028f0| 65 6c 20 28 6e 63 72 2d | 73 64 21 67 72 65 67 29 |el (ncr-|sd!greg)|
|00002900| 2e 2e 2e 0a 0a 3e 20 4e | 6f 74 65 20 74 68 61 74 |.....> N|ote that|
|00002910| 20 74 68 69 73 20 69 6d | 70 6c 69 65 73 20 74 68 | this im|plies th|
|00002920| 61 74 20 74 68 65 72 65 | 20 6d 75 73 74 20 62 65 |at there| must be|
|00002930| 20 73 6f 6d 65 20 77 61 | 79 20 66 6f 72 20 74 68 | some wa|y for th|
|00002940| 65 20 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |e implem|entation|
|00002950| 0a 3e 20 74 6f 20 74 65 | 6c 6c 20 28 61 29 20 69 |.> to te|ll (a) i|
|00002960| 66 20 73 65 74 74 7a 20 | 68 61 73 20 62 65 65 6e |f settz |has been|
|00002970| 20 70 72 65 76 69 6f 75 | 73 6c 79 20 63 61 6c 6c | previou|sly call|
|00002980| 65 64 2c 20 61 6e 64 20 | 70 72 65 73 75 6d 61 62 |ed, and |presumab|
|00002990| 6c 79 2c 20 28 62 29 20 | 77 68 61 74 0a 3e 20 76 |ly, (b) |what.> v|
|000029a0| 61 6c 75 65 20 77 61 73 | 20 70 72 6f 76 69 64 65 |alue was| provide|
|000029b0| 64 20 62 79 20 73 65 74 | 74 7a 2e 0a 0a 49 20 61 |d by set|tz...I a|
|000029c0| 67 72 65 65 2c 20 49 20 | 68 61 64 6e 27 74 20 63 |gree, I |hadn't c|
|000029d0| 6f 6e 73 69 64 65 72 65 | 64 20 74 68 69 73 2e 20 |onsidere|d this. |
|000029e0| 20 48 6f 77 65 76 65 72 | 2c 20 69 74 73 20 65 73 | However|, its es|
|000029f0| 73 65 6e 74 69 61 6c 20 | 74 68 61 74 20 77 68 65 |sential |that whe|
|00002a00| 6e 0a 74 68 65 72 65 27 | 73 20 61 6e 20 69 6e 74 |n.there'|s an int|
|00002a10| 65 72 66 61 63 65 20 74 | 68 61 74 20 73 65 74 73 |erface t|hat sets|
|00002a20| 20 73 6f 6d 65 20 73 74 | 61 74 69 63 20 73 74 61 | some st|atic sta|
|00002a30| 74 65 2c 20 74 68 65 72 | 65 20 62 65 20 73 6f 6d |te, ther|e be som|
|00002a40| 65 20 6d 65 61 6e 73 0a | 74 6f 20 64 65 74 65 72 |e means.|to deter|
|00002a50| 6d 69 6e 65 20 74 68 65 | 20 63 75 72 72 65 6e 74 |mine the| current|
|00002a60| 20 76 61 6c 75 65 20 6f | 66 20 74 68 61 74 20 73 | value o|f that s|
|00002a70| 74 61 74 65 20 2d 20 49 | 27 76 65 20 62 65 65 6e |tate - I|'ve been|
|00002a80| 20 66 72 75 73 74 72 61 | 74 65 64 0a 73 6f 20 6d | frustra|ted.so m|
|00002a90| 61 6e 79 20 74 69 6d 65 | 73 20 62 79 20 68 61 72 |any time|s by har|
|00002aa0| 64 77 61 72 65 20 77 69 | 74 68 20 77 72 69 74 65 |dware wi|th write|
|00002ab0| 20 6f 6e 6c 79 20 72 65 | 67 69 73 74 65 72 73 20 | only re|gisters |
|00002ac0| 74 68 61 74 20 49 20 73 | 68 6f 75 6c 64 0a 68 61 |that I s|hould.ha|
|00002ad0| 76 65 20 73 65 65 6e 20 | 74 68 69 73 20 6d 79 73 |ve seen |this mys|
|00002ae0| 65 6c 66 2e 0a 0a 42 75 | 74 2c 20 6e 6f 77 20 61 |elf...Bu|t, now a|
|00002af0| 66 74 65 72 20 74 68 69 | 6e 6b 69 6e 67 20 61 62 |fter thi|nking ab|
|00002b00| 6f 75 74 20 69 74 20 66 | 6f 72 20 61 20 66 65 77 |out it f|or a few|
|00002b10| 20 64 61 79 73 2c 20 49 | 27 6d 20 6e 6f 74 20 73 | days, I|'m not s|
|00002b20| 75 72 65 20 68 6f 77 20 | 69 74 0a 73 68 6f 75 6c |ure how |it.shoul|
|00002b30| 64 20 62 65 20 64 6f 6e | 65 2e 20 20 54 68 65 72 |d be don|e. Ther|
|00002b40| 65 20 77 6f 75 6c 64 20 | 73 65 65 6d 20 74 6f 20 |e would |seem to |
|00002b50| 62 65 20 74 77 6f 20 71 | 75 69 74 65 20 64 69 66 |be two q|uite dif|
|00002b60| 66 65 72 65 6e 74 2c 20 | 62 75 74 0a 65 71 75 61 |ferent, |but.equa|
|00002b70| 6c 6c 79 20 70 6f 73 73 | 69 62 6c 65 20 61 70 70 |lly poss|ible app|
|00002b80| 72 6f 61 63 68 65 73 2c | 20 74 68 6f 75 67 68 20 |roaches,| though |
|00002b90| 6e 65 69 74 68 65 72 20 | 69 73 20 69 64 65 61 6c |neither |is ideal|
|00002ba0| 2e 20 20 4f 6e 65 20 77 | 6f 75 6c 64 20 62 65 0a |. One w|ould be.|
|00002bb0| 66 6f 72 20 73 65 74 74 | 7a 28 29 20 74 6f 20 73 |for sett|z() to s|
|00002bc0| 61 76 65 20 74 68 65 20 | 61 72 67 20 73 74 72 69 |ave the |arg stri|
|00002bd0| 6e 67 20 69 74 20 69 73 | 20 63 61 6c 6c 65 64 20 |ng it is| called |
|00002be0| 77 69 74 68 2c 20 61 6e | 64 20 66 6f 72 20 61 0a |with, an|d for a.|
|00002bf0| 6e 65 77 20 66 75 6e 63 | 74 69 6f 6e 20 28 67 65 |new func|tion (ge|
|00002c00| 74 74 7a 28 29 20 3f 29 | 20 74 6f 20 72 65 74 75 |ttz() ?)| to retu|
|00002c10| 72 6e 20 69 74 2e 20 20 | 54 68 61 74 20 73 6f 75 |rn it. |That sou|
|00002c20| 6e 64 73 20 73 69 6d 70 | 6c 65 20 65 6e 6f 75 67 |nds simp|le enoug|
|00002c30| 68 2c 0a 62 75 74 20 75 | 6e 66 6f 72 74 75 6e 61 |h,.but u|nfortuna|
|00002c40| 74 65 6c 79 20 6d 69 67 | 68 74 20 62 65 20 73 6f |tely mig|ht be so|
|00002c50| 6d 65 74 68 69 6e 67 20 | 6f 66 20 61 6e 20 69 6d |mething |of an im|
|00002c60| 70 6c 65 6d 65 6e 74 61 | 74 69 6f 6e 20 68 65 61 |plementa|tion hea|
|00002c70| 64 61 63 68 65 2e 0a 54 | 68 65 20 73 74 72 69 6e |dache..T|he strin|
|00002c80| 67 20 63 61 6e 20 62 65 | 20 6f 66 20 61 72 62 69 |g can be| of arbi|
|00002c90| 74 72 61 72 79 20 6c 65 | 6e 67 74 68 2c 20 73 6f |trary le|ngth, so|
|00002ca0| 20 6e 6f 20 73 74 61 74 | 69 63 20 62 75 66 66 65 | no stat|ic buffe|
|00002cb0| 72 20 69 6e 20 73 65 74 | 74 7a 0a 74 6f 20 68 6f |r in set|tz.to ho|
|00002cc0| 6c 64 20 69 74 20 77 6f | 75 6c 64 20 62 65 20 61 |ld it wo|uld be a|
|00002cd0| 70 70 72 6f 70 72 69 61 | 74 65 2e 20 20 54 68 61 |ppropria|te. Tha|
|00002ce0| 74 20 6d 65 61 6e 73 20 | 74 68 61 74 20 73 65 74 |t means |that set|
|00002cf0| 74 7a 20 77 6f 75 6c 64 | 20 62 65 0a 72 65 71 75 |tz would| be.requ|
|00002d00| 69 72 65 64 20 74 6f 20 | 6d 61 6c 6c 6f 63 28 29 |ired to |malloc()|
|00002d10| 20 6d 65 6d 6f 72 79 20 | 74 6f 20 68 6f 6c 64 20 | memory |to hold |
|00002d20| 74 68 69 73 20 73 74 72 | 69 6e 67 2c 20 6a 75 73 |this str|ing, jus|
|00002d30| 74 20 6f 6e 20 74 68 65 | 20 6f 66 66 0a 63 68 61 |t on the| off.cha|
|00002d40| 6e 63 65 20 74 68 61 74 | 20 69 74 20 6d 69 67 68 |nce that| it migh|
|00002d50| 74 20 62 65 20 6e 65 65 | 64 65 64 20 6c 61 74 65 |t be nee|ded late|
|00002d60| 72 20 28 77 68 69 63 68 | 20 69 74 20 76 65 72 79 |r (which| it very|
|00002d70| 20 72 61 72 65 6c 79 20 | 77 69 6c 6c 20 62 65 29 | rarely |will be)|
|00002d80| 2e 0a 49 20 72 65 61 6c | 6c 79 20 68 61 76 65 20 |..I real|ly have |
|00002d90| 76 65 72 79 20 6c 69 6d | 69 74 65 64 20 65 6e 74 |very lim|ited ent|
|00002da0| 68 75 73 69 61 73 6d 20 | 66 6f 72 20 6d 61 6b 69 |husiasm |for maki|
|00002db0| 6e 67 20 6c 69 62 72 61 | 72 79 20 72 6f 75 74 69 |ng libra|ry routi|
|00002dc0| 6e 65 73 0a 61 74 20 74 | 68 69 73 20 6c 65 76 65 |nes.at t|his leve|
|00002dd0| 6c 20 67 65 74 20 69 6e | 76 6f 6c 76 65 64 20 69 |l get in|volved i|
|00002de0| 6e 20 73 74 6f 72 61 67 | 65 20 61 6c 6c 6f 63 61 |n storag|e alloca|
|00002df0| 74 69 6f 6e 2e 20 20 28 | 53 65 74 74 7a 20 63 6f |tion. (|Settz co|
|00002e00| 75 6c 64 0a 70 72 65 73 | 75 6d 61 62 6c 79 20 6a |uld.pres|umably j|
|00002e10| 75 73 74 20 72 65 6d 65 | 6d 62 65 72 20 74 68 65 |ust reme|mber the|
|00002e20| 20 70 6f 69 6e 74 65 72 | 20 74 6f 20 74 68 65 20 | pointer| to the |
|00002e30| 73 74 72 69 6e 67 20 69 | 74 20 77 61 73 20 70 61 |string i|t was pa|
|00002e40| 73 73 65 64 2c 0a 61 6e | 64 20 67 65 74 74 7a 20 |ssed,.an|d gettz |
|00002e50| 63 6f 75 6c 64 20 72 65 | 74 75 72 6e 20 74 68 61 |could re|turn tha|
|00002e60| 74 20 70 6f 69 6e 74 65 | 72 20 2d 20 62 75 74 20 |t pointe|r - but |
|00002e70| 74 68 69 73 20 68 61 73 | 20 73 6f 20 6d 61 6e 79 |this has| so many|
|00002e80| 20 70 6f 74 65 6e 74 69 | 61 6c 0a 70 72 6f 62 6c | potenti|al.probl|
|00002e90| 65 6d 73 20 74 68 61 74 | 20 69 74 73 20 6e 6f 74 |ems that| its not|
|00002ea0| 20 77 6f 72 74 68 20 63 | 6f 6e 74 65 6d 70 6c 61 | worth c|ontempla|
|00002eb0| 74 69 6e 67 29 2e 0a 0a | 54 68 65 20 28 61 6e 3f |ting)...|The (an?|
|00002ec0| 29 20 6f 74 68 65 72 20 | 69 6d 70 6c 65 6d 65 6e |) other |implemen|
|00002ed0| 74 61 74 69 6f 6e 20 77 | 6f 75 6c 64 20 62 65 20 |tation w|ould be |
|00002ee0| 74 6f 20 64 65 66 69 6e | 65 20 74 77 6f 20 66 75 |to defin|e two fu|
|00002ef0| 6e 63 74 69 6f 6e 73 2c | 0a 70 65 72 68 61 70 73 |nctions,|.perhaps|
|00002f00| 20 73 61 76 65 74 7a 28 | 29 20 61 6e 64 20 72 65 | savetz(|) and re|
|00002f10| 73 74 6f 72 65 74 7a 28 | 29 2e 20 20 53 61 76 65 |storetz(|). Save|
|00002f20| 74 7a 20 77 6f 75 6c 64 | 20 72 65 74 75 72 6e 20 |tz would| return |
|00002f30| 28 69 6e 20 73 6f 6d 65 | 0a 6d 61 6e 6e 65 72 20 |(in some|.manner |
|00002f40| 6e 6f 74 20 69 6d 70 6f | 72 74 61 6e 74 20 68 65 |not impo|rtant he|
|00002f50| 72 65 29 20 74 68 65 20 | 69 6e 74 65 72 6e 61 6c |re) the |internal|
|00002f60| 20 73 74 61 74 65 20 74 | 68 61 74 20 73 65 74 74 | state t|hat sett|
|00002f70| 7a 20 68 61 73 0a 65 73 | 74 61 62 6c 69 73 68 65 |z has.es|tablishe|
|00002f80| 64 2e 20 20 72 65 73 74 | 6f 72 65 74 7a 28 29 20 |d. rest|oretz() |
|00002f90| 77 6f 75 6c 64 20 72 65 | 73 74 61 62 6c 69 73 68 |would re|stablish|
|00002fa0| 20 74 68 61 74 20 73 74 | 61 74 65 20 61 73 20 73 | that st|ate as s|
|00002fb0| 65 74 74 7a 0a 77 6f 75 | 6c 64 20 68 61 76 65 20 |ettz.wou|ld have |
|00002fc0| 6c 65 66 74 20 69 74 2e | 20 20 54 68 69 73 20 6d |left it.| This m|
|00002fd0| 69 67 68 74 20 62 65 20 | 68 61 6e 64 6c 65 64 20 |ight be |handled |
|00002fe0| 62 79 20 68 61 76 69 6e | 67 20 73 61 76 65 74 7a |by havin|g savetz|
|00002ff0| 0a 63 6f 70 79 20 74 68 | 65 20 73 74 61 74 65 20 |.copy th|e state |
|00003000| 69 6e 74 6f 20 61 20 62 | 75 66 66 65 72 20 73 75 |into a b|uffer su|
|00003010| 70 70 6c 69 65 64 20 62 | 79 20 74 68 65 20 63 61 |pplied b|y the ca|
|00003020| 6c 6c 65 72 2c 20 6f 72 | 20 70 65 72 68 61 70 73 |ller, or| perhaps|
|00003030| 0a 69 74 20 77 6f 75 6c | 64 20 6d 61 6c 6c 6f 63 |.it woul|d malloc|
|00003040| 20 73 6f 6d 65 20 6d 65 | 6d 6f 72 79 20 61 6e 64 | some me|mory and|
|00003050| 20 72 65 74 75 72 6e 20 | 61 20 70 6f 69 6e 74 65 | return |a pointe|
|00003060| 72 20 74 6f 20 74 68 61 | 74 2e 20 20 4d 61 6c 6c |r to tha|t. Mall|
|00003070| 6f 63 0a 68 65 72 65 20 | 69 73 20 6e 6f 74 20 61 |oc.here |is not a|
|00003080| 20 70 72 6f 62 6c 65 6d | 2c 20 61 73 20 69 74 73 | problem|, as its|
|00003090| 20 6f 6e 6c 79 20 62 65 | 69 6e 67 20 64 6f 6e 65 | only be|ing done|
|000030a0| 20 62 79 20 74 68 65 20 | 73 70 65 63 69 66 69 63 | by the |specific|
|000030b0| 0a 72 65 71 75 65 73 74 | 20 6f 66 20 74 68 65 20 |.request| of the |
|000030c0| 75 73 65 72 2c 20 69 74 | 73 20 6e 6f 74 20 61 20 |user, it|s not a |
|000030d0| 68 69 64 64 65 6e 20 73 | 69 64 65 20 65 66 66 65 |hidden s|ide effe|
|000030e0| 63 74 2e 0a 0a 4f 66 20 | 74 68 65 20 74 77 6f 20 |ct...Of |the two |
|000030f0| 73 63 68 65 6d 65 73 2c | 20 49 20 74 68 69 6e 6b |schemes,| I think|
|00003100| 20 49 20 70 72 65 66 65 | 72 20 74 68 65 20 6c 61 | I prefe|r the la|
|00003110| 74 74 65 72 2c 20 62 75 | 74 20 49 20 77 6f 75 6c |tter, bu|t I woul|
|00003120| 64 0a 61 70 70 72 65 63 | 69 61 74 65 20 63 6f 6d |d.apprec|iate com|
|00003130| 6d 65 6e 74 73 20 66 72 | 6f 6d 20 72 65 61 64 65 |ments fr|om reade|
|00003140| 72 73 2c 20 65 69 74 68 | 65 72 20 74 6f 20 74 68 |rs, eith|er to th|
|00003150| 65 20 6c 69 73 74 20 69 | 66 20 79 6f 75 0a 28 61 |e list i|f you.(a|
|00003160| 6e 64 20 74 68 65 20 6d | 6f 64 65 72 61 74 6f 72 |nd the m|oderator|
|00003170| 29 20 74 68 69 6e 6b 20 | 74 68 65 72 65 20 77 69 |) think |there wi|
|00003180| 6c 6c 20 62 65 20 67 65 | 6e 65 72 61 6c 20 69 6e |ll be ge|neral in|
|00003190| 74 65 72 65 73 74 20 69 | 6e 20 79 6f 75 72 0a 63 |terest i|n your.c|
|000031a0| 6f 6d 6d 65 6e 74 73 2c | 20 6f 72 20 69 6e 20 6d |omments,| or in m|
|000031b0| 61 69 6c 20 74 6f 20 6d | 65 2e 0a 0a 0a 49 20 74 |ail to m|e....I t|
|000031c0| 68 69 6e 6b 20 4a 6f 68 | 6e 20 51 75 61 72 74 65 |hink Joh|n Quarte|
|000031d0| 72 6d 61 6e 20 28 6f 75 | 72 20 66 72 69 65 6e 64 |rman (ou|r friend|
|000031e0| 6c 79 20 6d 6f 64 65 72 | 61 74 6f 72 29 20 61 6e |ly moder|ator) an|
|000031f0| 73 77 65 72 65 64 20 79 | 6f 75 72 0a 71 75 65 72 |swered y|our.quer|
|00003200| 79 20 61 62 6f 75 74 20 | 74 68 65 20 22 69 6d 70 |y about |the "imp|
|00003210| 6c 65 6d 65 6e 74 6f 72 | 73 20 74 69 6d 65 7a 6f |lementor|s timezo|
|00003220| 6e 65 22 20 64 65 66 61 | 75 6c 74 20 70 6f 73 73 |ne" defa|ult poss|
|00003230| 69 62 69 6c 69 74 79 0a | 66 6f 72 20 73 65 74 74 |ibility.|for sett|
|00003240| 7a 2e 20 20 49 20 6d 69 | 67 68 74 20 6a 75 73 74 |z. I mi|ght just|
|00003250| 20 61 64 64 20 74 68 61 | 74 20 49 20 63 61 6e 27 | add tha|t I can'|
|00003260| 74 20 69 6d 61 67 69 6e | 65 20 68 6f 77 20 61 20 |t imagin|e how a |
|00003270| 6e 65 77 0a 69 6d 70 6c | 65 6d 65 6e 74 61 74 69 |new.impl|ementati|
|00003280| 6f 6e 20 63 6f 75 6c 64 | 20 63 6f 6e 63 65 69 76 |on could| conceiv|
|00003290| 61 62 6c 79 20 6d 61 6b | 65 20 74 68 61 74 20 63 |ably mak|e that c|
|000032a0| 68 6f 69 63 65 20 2d 20 | 69 74 73 20 6a 75 73 74 |hoice - |its just|
|000032b0| 0a 74 68 65 72 65 20 74 | 6f 20 63 6f 70 65 20 77 |.there t|o cope w|
|000032c0| 69 74 68 20 6f 6c 64 20 | 63 6f 64 65 2e 20 20 54 |ith old |code. T|
|000032d0| 6f 20 69 6d 70 6c 65 6d | 65 6e 74 20 74 68 69 73 |o implem|ent this|
|000032e0| 20 70 72 6f 70 6f 73 61 | 6c 2c 0a 61 6e 20 69 6d | proposa|l,.an im|
|000032f0| 70 6c 65 6d 65 6e 74 61 | 74 69 6f 6e 20 6d 75 73 |plementa|tion mus|
|00003300| 74 20 62 65 20 61 62 6c | 65 20 74 6f 20 6f 62 74 |t be abl|e to obt|
|00003310| 61 69 6e 20 62 6f 74 68 | 20 74 68 65 20 68 6f 73 |ain both| the hos|
|00003320| 74 73 0a 6c 6f 63 61 6c | 20 74 69 6d 65 2c 20 61 |ts.local| time, a|
|00003330| 6e 64 20 47 4d 54 20 77 | 69 74 68 6f 75 74 20 62 |nd GMT w|ithout b|
|00003340| 65 69 6e 67 20 74 6f 6c | 64 20 61 6e 79 74 68 69 |eing tol|d anythi|
|00003350| 6e 67 20 65 78 74 65 72 | 6e 61 6c 6c 79 0a 28 69 |ng exter|nally.(i|
|00003360| 65 3a 20 62 79 20 62 65 | 69 6e 67 20 68 61 6e 64 |e: by be|ing hand|
|00003370| 65 64 20 65 69 74 68 65 | 72 20 28 63 68 61 72 20 |ed eithe|r (char |
|00003380| 2a 29 30 20 6f 72 20 22 | 22 20 72 65 73 70 29 2e |*)0 or "|" resp).|
|00003390| 20 20 49 66 20 69 74 0a | 63 61 6e 20 64 6f 20 74 | If it.|can do t|
|000033a0| 68 61 74 2c 20 69 74 20 | 63 61 6e 20 61 6c 73 6f |hat, it |can also|
|000033b0| 20 65 61 73 69 6c 79 20 | 63 68 6f 6f 73 65 20 6f | easily |choose o|
|000033c0| 6e 65 20 6f 66 20 74 68 | 6f 73 65 20 61 73 20 74 |ne of th|ose as t|
|000033d0| 68 65 0a 64 65 66 61 75 | 6c 74 20 69 6e 20 63 61 |he.defau|lt in ca|
|000033e0| 73 65 73 20 77 68 65 72 | 65 20 69 74 20 69 73 20 |ses wher|e it is |
|000033f0| 67 69 76 65 6e 20 61 6e | 20 69 6e 76 61 6c 69 64 |given an| invalid|
|00003400| 20 61 72 67 75 6d 65 6e | 74 2e 0a 0a 0a 3e 20 49 | argumen|t....> I|
|00003410| 20 70 72 6f 70 6f 73 65 | 20 61 6e 20 65 78 74 65 | propose| an exte|
|00003420| 6e 73 69 6f 6e 20 6f 66 | 20 74 68 65 20 53 79 73 |nsion of| the Sys|
|00003430| 74 65 6d 20 56 20 6d 65 | 63 68 61 6e 69 73 6d 2e |tem V me|chanism.|
|00003440| 2e 2e 2e 20 20 49 20 70 | 72 6f 70 6f 73 65 0a 3e |... I p|ropose.>|
|00003450| 20 74 68 61 74 20 74 68 | 65 20 73 74 61 6e 64 61 | that th|e standa|
|00003460| 72 64 20 61 64 64 20 22 | 65 78 74 65 72 6e 20 63 |rd add "|extern c|
|00003470| 68 61 72 20 2a 74 7a 6e | 61 6d 65 5b 5d 22 20 2e |har *tzn|ame[]" .|
|00003480| 2e 2e 20 61 6e 64 20 68 | 61 76 65 20 77 6f 72 64 |.. and h|ave word|
|00003490| 69 6e 67 0a 3e 20 74 68 | 61 74 20 73 61 79 73 20 |ing.> th|at says |
|000034a0| 74 68 61 74 20 74 7a 6e | 61 6d 65 5b 74 6d 2e 74 |that tzn|ame[tm.t|
|000034b0| 6d 5f 69 73 64 73 74 5d | 20 69 73 20 74 68 65 20 |m_isdst]| is the |
|000034c0| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 72 65 6c 65 |name of |the rele|
|000034d0| 76 61 6e 74 20 74 69 6d | 65 7a 6f 6e 65 2e 0a 0a |vant tim|ezone...|
|000034e0| 59 65 73 2c 20 74 68 69 | 73 20 77 6f 75 6c 64 20 |Yes, thi|s would |
|000034f0| 62 65 20 6e 69 63 65 2c | 20 75 6e 66 6f 72 74 75 |be nice,| unfortu|
|00003500| 6e 61 74 65 6c 79 20 69 | 74 20 63 61 6e 27 74 20 |nately i|t can't |
|00003510| 77 6f 72 6b 2e 20 20 59 | 6f 75 20 61 72 65 20 61 |work. Y|ou are a|
|00003520| 73 73 75 6d 69 6e 67 0a | 74 68 61 74 20 74 68 65 |ssuming.|that the|
|00003530| 72 65 20 69 73 20 6a 75 | 73 74 20 6f 6e 65 20 6e |re is ju|st one n|
|00003540| 6f 6e 2d 44 53 54 20 74 | 69 6d 65 7a 6f 6e 65 20 |on-DST t|imezone |
|00003550| 6e 61 6d 65 2c 20 61 6e | 64 20 61 6c 6c 20 74 68 |name, an|d all th|
|00003560| 65 20 6f 74 68 65 72 73 | 20 61 72 65 0a 6e 61 6d |e others| are.nam|
|00003570| 65 73 20 6f 66 20 76 61 | 72 69 6f 75 73 20 44 53 |es of va|rious DS|
|00003580| 54 20 74 79 70 65 73 2e | 20 20 54 68 69 73 20 6a |T types.| This j|
|00003590| 75 73 74 20 69 73 6e 27 | 74 20 74 72 75 65 20 69 |ust isn'|t true i|
|000035a0| 6e 20 67 65 6e 65 72 61 | 6c 2e 0a 53 69 6e 63 65 |n genera|l..Since|
|000035b0| 20 74 6d 5f 69 73 64 73 | 74 20 6d 75 73 74 20 62 | tm_isds|t must b|
|000035c0| 65 20 7a 65 72 6f 20 66 | 6f 72 20 61 6e 79 20 74 |e zero f|or any t|
|000035d0| 6d 5f 2a 20 74 68 61 74 | 20 69 73 20 6e 6f 74 20 |m_* that| is not |
|000035e0| 61 20 64 61 79 6c 69 67 | 68 74 0a 73 61 76 69 6e |a daylig|ht.savin|
|000035f0| 67 73 20 74 69 6d 65 20 | 72 65 70 72 65 73 65 6e |gs time |represen|
|00003600| 74 61 74 69 6f 6e 2c 20 | 79 6f 75 72 20 73 63 68 |tation, |your sch|
|00003610| 65 6d 65 20 77 6f 75 6c | 64 20 61 6c 6c 6f 77 20 |eme woul|d allow |
|00003620| 6f 6e 6c 79 20 6f 6e 65 | 0a 6e 6f 6e 2d 44 53 54 |only one|.non-DST|
|00003630| 20 7a 6f 6e 65 20 6e 61 | 6d 65 2e 20 20 41 20 6e | zone na|me. A n|
|00003640| 65 77 20 66 69 65 6c 64 | 20 63 6f 75 6c 64 20 62 |ew field| could b|
|00003650| 65 20 61 64 64 65 64 20 | 74 6f 20 73 74 72 75 63 |e added |to struc|
|00003660| 74 20 74 6d 20 74 6f 0a | 62 65 20 74 68 65 20 74 |t tm to.|be the t|
|00003670| 7a 6e 61 6d 65 5b 5d 20 | 69 6e 64 65 78 2c 20 62 |zname[] |index, b|
|00003680| 75 74 20 74 68 69 73 20 | 77 6f 75 6c 64 20 62 72 |ut this |would br|
|00003690| 65 61 6b 20 61 6c 6c 20 | 65 78 69 73 74 69 6e 67 |eak all |existing|
|000036a0| 20 63 6f 64 65 0a 74 68 | 61 74 20 77 61 6e 74 73 | code.th|at wants|
|000036b0| 20 7a 6f 6e 65 20 6e 61 | 6d 65 73 2c 20 61 6e 64 | zone na|mes, and|
|000036c0| 20 69 66 20 77 65 27 72 | 65 20 67 6f 69 6e 67 20 | if we'r|e going |
|000036d0| 74 6f 20 64 6f 20 74 68 | 61 74 2c 20 70 65 72 68 |to do th|at, perh|
|000036e0| 61 70 73 20 77 65 0a 73 | 68 6f 75 6c 64 20 6c 6f |aps we.s|hould lo|
|000036f0| 6f 6b 20 61 6e 64 20 73 | 65 65 20 65 78 61 63 74 |ok and s|ee exact|
|00003700| 6c 79 20 77 68 65 6e 20 | 61 20 7a 6f 6e 65 20 6e |ly when |a zone n|
|00003710| 61 6d 65 20 69 73 20 72 | 65 71 75 69 72 65 64 2e |ame is r|equired.|
|00003720| 0a 0a 54 6f 20 74 68 65 | 20 62 65 73 74 20 6f 66 |..To the| best of|
|00003730| 20 6d 79 20 6b 6e 6f 77 | 6c 65 64 67 65 2c 20 74 | my know|ledge, t|
|00003740| 68 65 20 6f 6e 6c 79 20 | 73 65 6e 73 69 62 6c 65 |he only |sensible|
|00003750| 20 75 73 65 20 6f 66 20 | 61 20 74 69 6d 65 7a 6f | use of |a timezo|
|00003760| 6e 65 0a 6e 61 6d 65 20 | 69 73 20 74 6f 20 61 73 |ne.name |is to as|
|00003770| 73 6f 63 69 61 74 65 20 | 77 69 74 68 20 61 20 68 |sociate |with a h|
|00003780| 75 6d 61 6e 20 76 69 73 | 69 62 6c 65 20 64 61 74 |uman vis|ible dat|
|00003790| 65 2f 74 69 6d 65 20 72 | 65 70 72 65 73 65 6e 74 |e/time r|epresent|
|000037a0| 61 74 69 6f 6e 2e 0a 53 | 69 6e 63 65 20 74 68 65 |ation..S|ince the|
|000037b0| 73 65 20 74 68 69 6e 67 | 73 20 61 72 65 6e 27 74 |se thing|s aren't|
|000037c0| 20 75 6e 69 71 75 65 2c | 20 74 68 65 79 20 61 72 | unique,| they ar|
|000037d0| 65 20 75 73 65 6c 65 73 | 73 20 74 6f 20 68 6f 6c |e useles|s to hol|
|000037e0| 64 20 61 6e 79 0a 69 6e | 74 65 72 6e 61 6c 20 72 |d any.in|ternal r|
|000037f0| 65 70 72 65 73 65 6e 74 | 61 74 69 6f 6e 20 6f 66 |epresent|ation of|
|00003800| 20 61 20 74 69 6d 65 7a | 6f 6e 65 2e 20 20 49 6e | a timez|one. In|
|00003810| 20 65 66 66 65 63 74 2c | 20 74 68 61 74 20 6d 65 | effect,| that me|
|00003820| 61 6e 73 0a 74 68 61 74 | 20 74 68 65 20 6f 6e 6c |ans.that| the onl|
|00003830| 79 20 74 69 6d 65 20 61 | 20 74 69 6d 65 7a 6f 6e |y time a| timezon|
|00003840| 65 20 6e 61 6d 65 20 77 | 69 6c 6c 20 28 73 68 6f |e name w|ill (sho|
|00003850| 75 6c 64 29 20 65 76 65 | 72 20 62 65 20 6e 65 65 |uld) eve|r be nee|
|00003860| 64 65 64 0a 69 73 20 77 | 68 65 6e 20 61 20 64 61 |ded.is w|hen a da|
|00003870| 74 65 2f 74 69 6d 65 20 | 68 61 73 20 62 65 65 6e |te/time |has been|
|00003880| 20 63 6f 6e 76 65 72 74 | 65 64 20 66 6f 72 20 65 | convert|ed for e|
|00003890| 78 74 65 72 6e 61 6c 20 | 6f 75 74 70 75 74 2c 20 |xternal |output, |
|000038a0| 61 6e 64 0a 74 68 65 20 | 7a 6f 6e 65 20 74 68 61 |and.the |zone tha|
|000038b0| 74 20 77 69 6c 6c 20 62 | 65 20 77 61 6e 74 65 64 |t will b|e wanted|
|000038c0| 20 77 69 6c 6c 20 62 65 | 20 74 68 65 20 7a 6f 6e | will be| the zon|
|000038d0| 65 20 6f 66 20 74 68 65 | 20 74 69 6d 65 20 74 68 |e of the| time th|
|000038e0| 61 74 0a 77 61 73 20 6a | 75 73 74 20 63 6f 6e 76 |at.was j|ust conv|
|000038f0| 65 72 74 65 64 2e 0a 0a | 49 66 20 61 6e 79 6f 6e |erted...|If anyon|
|00003900| 65 20 68 61 73 20 61 20 | 63 6f 75 6e 74 65 72 2d |e has a |counter-|
|00003910| 65 78 61 6d 70 6c 65 2c | 20 49 20 77 6f 75 6c 64 |example,| I would|
|00003920| 20 62 65 20 70 6c 65 61 | 73 65 64 20 74 6f 20 6c | be plea|sed to l|
|00003930| 65 61 72 6e 20 6f 66 20 | 69 74 2e 0a 0a 47 69 76 |earn of |it...Giv|
|00003940| 65 6e 20 74 68 69 73 20 | 61 73 73 75 6d 70 74 69 |en this |assumpti|
|00003950| 6f 6e 2c 20 69 74 20 73 | 65 65 6d 73 20 74 68 61 |on, it s|eems tha|
|00003960| 74 20 61 6c 6c 20 74 68 | 61 74 27 73 20 6e 65 65 |t all th|at's nee|
|00003970| 64 65 64 20 69 73 20 66 | 6f 72 0a 6c 6f 63 61 6c |ded is f|or.local|
|00003980| 74 69 6d 65 28 29 20 74 | 6f 20 61 72 72 61 6e 67 |time() t|o arrang|
|00003990| 65 20 74 68 61 74 20 74 | 68 65 20 72 65 6c 65 76 |e that t|he relev|
|000039a0| 61 6e 74 20 7a 6f 6e 65 | 20 6e 61 6d 65 20 69 73 |ant zone| name is|
|000039b0| 20 61 76 61 69 6c 61 62 | 6c 65 0a 73 6f 6d 65 68 | availab|le.someh|
|000039c0| 6f 77 2c 20 65 69 74 68 | 65 72 20 69 6e 20 61 6e |ow, eith|er in an|
|000039d0| 20 65 78 74 65 72 6e 61 | 6c 20 22 63 68 61 72 20 | externa|l "char |
|000039e0| 2a 22 20 76 61 72 69 61 | 62 6c 65 2c 20 6f 72 20 |*" varia|ble, or |
|000039f0| 61 73 20 74 68 65 0a 72 | 65 74 75 72 6e 20 76 61 |as the.r|eturn va|
|00003a00| 6c 75 65 20 6f 66 20 61 | 20 66 75 6e 63 74 69 6f |lue of a| functio|
|00003a10| 6e 2e 0a 0a 46 6f 72 20 | 53 79 73 20 56 20 63 6f |n...For |Sys V co|
|00003a20| 6d 70 61 74 61 62 69 6c | 69 74 79 2c 20 61 6e 64 |mpatabil|ity, and|
|00003a30| 20 69 6d 70 6c 65 6d 65 | 6e 74 61 74 69 6f 6e 20 | impleme|ntation |
|00003a40| 63 6f 75 6c 64 20 70 72 | 6f 76 69 64 65 0a 63 68 |could pr|ovide.ch|
|00003a50| 61 72 20 2a 74 7a 6e 61 | 6d 65 5b 32 5d 20 61 6e |ar *tzna|me[2] an|
|00003a60| 64 20 73 65 74 20 62 6f | 74 68 20 70 6f 69 6e 74 |d set bo|th point|
|00003a70| 65 72 73 20 74 6f 20 74 | 68 65 20 7a 6f 6e 65 20 |ers to t|he zone |
|00003a80| 6e 61 6d 65 0a 6e 65 65 | 64 65 64 3f 20 20 49 73 |name.nee|ded? Is|
|00003a90| 20 61 6e 79 6f 6e 65 20 | 61 77 61 72 65 20 6f 66 | anyone |aware of|
|00003aa0| 20 61 6e 79 20 63 6f 64 | 65 20 74 68 69 73 20 77 | any cod|e this w|
|00003ab0| 6f 75 6c 64 20 62 72 65 | 61 6b 3f 0a 0a 46 6f 72 |ould bre|ak?..For|
|00003ac0| 20 76 37 20 63 6f 6e 70 | 61 74 61 62 69 6c 69 74 | v7 conp|atabilit|
|00003ad0| 79 2c 20 74 68 65 20 74 | 69 6d 65 7a 6f 6e 65 28 |y, the t|imezone(|
|00003ae0| 33 29 20 66 75 6e 63 74 | 69 6f 6e 20 63 6f 75 6c |3) funct|ion coul|
|00003af0| 64 20 62 65 20 6d 61 64 | 65 0a 74 6f 20 69 67 6e |d be mad|e.to ign|
|00003b00| 6f 72 65 20 69 74 73 20 | 61 72 67 73 2c 20 61 6e |ore its |args, an|
|00003b10| 64 20 6a 75 73 74 20 72 | 65 74 75 72 6e 20 74 68 |d just r|eturn th|
|00003b20| 65 20 73 65 6c 65 63 74 | 65 64 20 7a 6f 6e 65 20 |e select|ed zone |
|00003b30| 6e 61 6d 65 2e 0a 0a 0a | 3e 20 41 6e 64 20 77 68 |name....|> And wh|
|00003b40| 69 6c 65 20 77 65 27 72 | 65 20 6f 6e 20 62 61 63 |ile we'r|e on bac|
|00003b50| 6b 77 61 72 64 20 63 6f | 6d 70 61 74 69 62 69 6c |kward co|mpatibil|
|00003b60| 69 74 79 2c 20 74 68 65 | 20 53 79 73 56 20 66 75 |ity, the| SysV fu|
|00003b70| 6e 63 74 69 6f 6e 20 74 | 7a 73 65 74 28 29 20 63 |nction t|zset() c|
|00003b80| 6f 75 6c 64 0a 3e 20 62 | 65 20 64 65 66 69 6e 65 |ould.> b|e define|
|00003b90| 64 20 61 73 20 22 69 66 | 28 74 69 6d 65 7a 6f 6e |d as "if|(timezon|
|00003ba0| 65 5f 6e 6f 74 5f 73 65 | 74 29 20 73 65 74 74 7a |e_not_se|t) settz|
|00003bb0| 28 67 65 74 65 6e 76 28 | 22 54 5a 22 29 3b 22 20 |(getenv(|"TZ");" |
|00003bc0| 74 6f 20 62 65 20 63 6f | 6d 70 61 74 69 62 6c 65 |to be co|mpatible|
|00003bd0| 0a 3e 20 77 69 74 68 20 | 74 68 65 20 77 61 79 20 |.> with |the way |
|00003be0| 69 74 20 63 75 72 72 65 | 6e 74 6c 79 20 77 6f 72 |it curre|ntly wor|
|00003bf0| 6b 73 3b 20 61 67 61 69 | 6e 2c 20 69 66 20 74 68 |ks; agai|n, if th|
|00003c00| 69 73 20 66 75 6e 63 74 | 69 6f 6e 20 69 73 20 64 |is funct|ion is d|
|00003c10| 65 66 69 6e 65 64 2c 20 | 69 74 73 0a 3e 20 75 73 |efined, |its.> us|
|00003c20| 61 67 65 20 73 68 6f 75 | 6c 64 20 62 65 20 64 65 |age shou|ld be de|
|00003c30| 70 72 65 63 69 61 74 65 | 64 2e 0a 0a 43 65 72 74 |preciate|d...Cert|
|00003c40| 61 69 6e 6c 79 2c 20 41 | 54 26 54 2c 20 61 6e 64 |ainly, A|T&T, and|
|00003c50| 20 61 6e 79 6f 6e 65 20 | 77 68 6f 20 77 61 6e 74 | anyone |who want|
|00003c60| 73 20 74 6f 20 62 65 20 | 63 6f 6d 70 61 74 69 62 |s to be |compatib|
|00003c70| 6c 65 20 77 69 74 68 20 | 63 75 72 72 65 6e 74 0a |le with |current.|
|00003c80| 53 79 73 20 56 20 70 72 | 6f 67 72 61 6d 73 20 73 |Sys V pr|ograms s|
|00003c90| 68 6f 75 6c 64 20 70 72 | 6f 76 69 64 65 20 74 7a |hould pr|ovide tz|
|00003ca0| 73 65 74 20 61 73 20 69 | 6e 64 69 63 61 74 65 64 |set as i|ndicated|
|00003cb0| 2c 20 61 6e 64 20 73 68 | 6f 75 6c 64 20 6d 61 6b |, and sh|ould mak|
|00003cc0| 65 20 69 74 2c 0a 61 73 | 20 66 61 72 20 61 73 20 |e it,.as| far as |
|00003cd0| 70 6f 73 73 69 62 6c 65 | 20 28 6e 6f 74 65 20 22 |possible| (note "|
|00003ce0| 74 7a 6e 61 6d 65 22 20 | 64 69 66 66 69 63 75 6c |tzname" |difficul|
|00003cf0| 74 69 65 73 20 61 73 20 | 6d 65 6e 74 69 6f 6e 65 |ties as |mentione|
|00003d00| 64 20 61 62 6f 76 65 29 | 0a 63 6f 6d 70 61 74 69 |d above)|.compati|
|00003d10| 62 6c 65 20 77 69 74 68 | 20 74 68 65 20 66 75 6e |ble with| the fun|
|00003d20| 63 74 69 6f 6e 61 6c 69 | 74 79 20 6f 66 20 74 68 |ctionali|ty of th|
|00003d30| 65 20 53 79 73 20 56 20 | 74 7a 73 65 74 2e 0a 0a |e Sys V |tzset...|
|00003d40| 48 6f 77 65 76 65 72 2c | 20 69 6e 63 6c 75 64 69 |However,| includi|
|00003d50| 6e 67 20 64 65 66 69 6e | 69 74 69 6f 6e 73 20 69 |ng defin|itions i|
|00003d60| 6e 20 74 68 65 20 73 74 | 61 6e 64 61 72 64 2c 20 |n the st|andard, |
|00003d70| 61 6c 6f 6e 67 20 77 69 | 74 68 20 77 6f 72 64 69 |along wi|th wordi|
|00003d80| 6e 67 0a 6c 69 6b 65 20 | 22 64 6f 6e 27 74 20 75 |ng.like |"don't u|
|00003d90| 73 65 20 74 68 69 73 2c | 20 69 74 20 73 68 6f 75 |se this,| it shou|
|00003da0| 6c 64 6e 27 74 20 62 65 | 20 68 65 72 65 2c 20 61 |ldn't be| here, a|
|00003db0| 6e 64 20 69 73 20 67 6f | 69 6e 67 20 61 77 61 79 |nd is go|ing away|
|00003dc0| 22 0a 73 65 65 6d 73 20 | 6c 75 64 69 63 72 6f 75 |".seems |ludicrou|
|00003dd0| 73 20 74 6f 20 6d 65 2e | 0a 0a 0a 3e 20 53 79 73 |s to me.|...> Sys|
|00003de0| 74 65 6d 20 56 20 61 6c | 73 6f 20 64 65 66 69 6e |tem V al|so defin|
|00003df0| 65 73 20 65 78 74 65 72 | 6e 61 6c 20 76 61 72 69 |es exter|nal vari|
|00003e00| 61 62 6c 65 73 20 66 6f | 72 20 74 68 65 20 63 75 |ables fo|r the cu|
|00003e10| 72 72 65 6e 74 20 74 69 | 6d 65 7a 6f 6e 65 20 61 |rrent ti|mezone a|
|00003e20| 6e 64 20 64 61 79 6c 69 | 67 68 74 0a 3e 20 73 61 |nd dayli|ght.> sa|
|00003e30| 76 69 6e 67 73 20 72 75 | 6c 65 2e 0a 0a 49 20 64 |vings ru|le...I d|
|00003e40| 6f 6e 27 74 20 6b 6e 6f | 77 20 61 62 6f 75 74 20 |on't kno|w about |
|00003e50| 64 61 79 6c 69 67 68 74 | 20 73 61 76 69 6e 67 73 |daylight| savings|
|00003e60| 20 72 75 6c 65 2c 20 49 | 20 64 6f 6e 27 74 20 72 | rule, I| don't r|
|00003e70| 65 6d 65 6d 62 65 72 20 | 74 68 61 74 20 6f 6e 65 |emember |that one|
|00003e80| 2c 0a 61 6e 64 20 6d 79 | 20 53 79 73 20 56 20 6d |,.and my| Sys V m|
|00003e90| 61 6e 75 61 6c 20 73 65 | 65 6d 73 20 74 6f 20 68 |anual se|ems to h|
|00003ea0| 61 76 65 20 77 61 6c 6b | 65 64 20 61 77 61 79 2c |ave walk|ed away,|
|00003eb0| 20 62 75 74 20 22 74 69 | 6d 65 7a 6f 6e 65 22 20 | but "ti|mezone" |
|00003ec0| 69 73 0a 69 6d 70 6f 73 | 73 69 62 6c 65 20 74 6f |is.impos|sible to|
|00003ed0| 20 67 65 74 20 72 69 67 | 68 74 2e 20 20 54 68 65 | get rig|ht. The|
|00003ee0| 72 65 27 73 20 6e 6f 20 | 64 6f 75 62 74 20 74 68 |re's no |doubt th|
|00003ef0| 61 74 20 69 74 73 20 69 | 6e 74 65 6e 64 65 64 20 |at its i|ntended |
|00003f00| 75 73 61 67 65 0a 69 73 | 20 74 68 61 74 20 74 7a |usage.is| that tz|
|00003f10| 73 65 74 28 29 20 73 68 | 6f 75 6c 64 20 73 65 74 |set() sh|ould set|
|00003f20| 20 74 68 69 73 20 76 61 | 72 69 61 62 6c 65 20 74 | this va|riable t|
|00003f30| 6f 20 74 68 65 20 6c 6f | 63 61 6c 20 73 74 61 6e |o the lo|cal stan|
|00003f40| 64 61 72 64 20 74 69 6d | 65 7a 6f 6e 65 0a 6f 66 |dard tim|ezone.of|
|00003f50| 66 73 65 74 2e 20 20 42 | 75 74 20 74 68 69 73 20 |fset. B|ut this |
|00003f60| 61 73 73 75 6d 65 73 20 | 74 68 61 74 20 74 68 65 |assumes |that the|
|00003f70| 72 65 20 69 73 20 73 75 | 63 68 20 61 20 74 68 69 |re is su|ch a thi|
|00003f80| 6e 67 20 61 73 20 61 20 | 22 73 74 61 6e 64 61 72 |ng as a |"standar|
|00003f90| 64 0a 74 69 6d 65 7a 6f | 6e 65 20 6f 66 66 73 65 |d.timezo|ne offse|
|00003fa0| 74 22 20 74 68 61 74 20 | 61 70 70 6c 69 65 73 20 |t" that |applies |
|00003fb0| 66 6f 72 20 61 6c 6c 20 | 74 69 6d 65 73 20 69 6e |for all |times in|
|00003fc0| 20 74 68 65 20 7a 6f 6e | 65 2e 20 20 54 68 69 73 | the zon|e. This|
|00003fd0| 20 6a 75 73 74 0a 69 73 | 6e 27 74 20 74 72 75 65 | just.is|n't true|
|00003fe0| 2e 2e 20 20 45 67 3a 20 | 61 20 63 6f 75 70 6c 65 |.. Eg: |a couple|
|00003ff0| 20 6f 66 20 79 65 61 72 | 73 20 61 67 6f 20 6e 6f | of year|s ago no|
|00004000| 77 2c 20 53 69 6e 67 61 | 70 6f 72 65 20 28 49 20 |w, Singa|pore (I |
|00004010| 74 68 69 6e 6b 29 0a 63 | 68 61 6e 67 65 64 20 69 |think).c|hanged i|
|00004020| 74 73 20 74 69 6d 65 7a | 6f 6e 65 20 73 6f 20 69 |ts timez|one so i|
|00004030| 74 20 77 6f 75 6c 64 20 | 62 65 20 74 68 65 20 73 |t would |be the s|
|00004040| 61 6d 65 20 61 73 20 4d | 61 6c 61 79 73 69 61 2e |ame as M|alaysia.|
|00004050| 20 20 57 68 61 74 0a 76 | 61 6c 75 65 20 73 68 6f | What.v|alue sho|
|00004060| 75 6c 64 20 62 65 20 70 | 75 74 20 69 6e 20 22 74 |uld be p|ut in "t|
|00004070| 69 6d 65 7a 6f 6e 65 22 | 20 66 6f 72 20 53 69 6e |imezone"| for Sin|
|00004080| 67 61 70 6f 72 65 3f 20 | 20 54 68 65 20 63 6f 72 |gapore? | The cor|
|00004090| 72 65 63 74 20 61 6e 73 | 77 65 72 0a 64 65 70 65 |rect ans|wer.depe|
|000040a0| 6e 64 73 20 6f 6e 20 77 | 68 61 74 20 74 69 6d 65 |nds on w|hat time|
|000040b0| 20 69 73 20 62 65 69 6e | 67 20 63 6f 6e 76 65 72 | is bein|g conver|
|000040c0| 74 65 64 20 2d 20 69 66 | 20 69 74 73 20 61 20 74 |ted - if| its a t|
|000040d0| 69 6d 65 20 62 65 66 6f | 72 65 20 74 68 65 0a 73 |ime befo|re the.s|
|000040e0| 77 69 74 63 68 2c 20 74 | 68 65 6e 20 69 74 20 73 |witch, t|hen it s|
|000040f0| 68 6f 75 6c 64 20 62 65 | 20 74 68 65 69 72 20 6f |hould be| their o|
|00004100| 6c 64 20 7a 6f 6e 65 2c | 20 66 6f 72 20 6f 6e 65 |ld zone,| for one|
|00004110| 20 61 66 74 65 72 2c 20 | 69 74 20 73 68 6f 75 6c | after, |it shoul|
|00004120| 64 20 62 65 0a 74 68 65 | 20 6e 65 77 20 7a 6f 6e |d be.the| new zon|
|00004130| 65 2e 20 20 54 68 61 74 | 20 69 73 2c 20 69 74 73 |e. That| is, its|
|00004140| 20 6e 6f 74 20 61 20 63 | 6f 6e 73 74 61 6e 74 21 | not a c|onstant!|
|00004150| 0a 0a 0a 46 6f 6c 6c 6f | 77 69 6e 67 20 71 75 6f |...Follo|wing quo|
|00004160| 74 65 73 20 61 72 65 20 | 66 72 6f 6d 20 4d 61 72 |tes are |from Mar|
|00004170| 6b 20 48 6f 72 74 6f 6e | 20 28 63 62 6f 73 67 64 |k Horton| (cbosgd|
|00004180| 21 6d 61 72 6b 29 2e 2e | 2e 0a 0a 5b 61 62 6f 75 |!mark)..|...[abou|
|00004190| 74 20 75 73 65 73 20 6f | 66 20 22 74 69 6d 65 7a |t uses o|f "timez|
|000041a0| 6f 6e 65 22 5d 0a 3e 20 | 59 65 73 2c 20 74 68 65 |one"].> |Yes, the|
|000041b0| 72 65 27 73 20 61 6e 20 | 69 6d 70 6f 72 74 61 6e |re's an |importan|
|000041c0| 74 20 75 73 65 2e 20 20 | 49 66 20 79 6f 75 27 72 |t use. |If you'r|
|000041d0| 65 20 67 65 6e 65 72 61 | 74 69 6e 67 20 61 6e 20 |e genera|ting an |
|000041e0| 52 46 43 20 38 32 32 20 | 63 6f 6d 70 61 74 69 62 |RFC 822 |compatib|
|000041f0| 6c 65 0a 3e 20 44 61 74 | 65 3a 20 6c 69 6e 65 2c |le.> Dat|e: line,|
|00004200| 20 79 6f 75 20 6e 65 65 | 64 20 74 6f 20 6b 6e 6f | you nee|d to kno|
|00004210| 77 20 74 68 65 20 6c 6f | 63 61 6c 20 6f 66 66 73 |w the lo|cal offs|
|00004220| 65 74 20 66 72 6f 6d 20 | 47 4d 54 2e 2e 2e 0a 0a |et from |GMT.....|
|00004230| 4e 6f 6e 73 65 6e 73 65 | 21 20 20 54 68 69 73 20 |Nonsense|! This |
|00004240| 69 73 6e 27 74 20 61 20 | 75 73 65 20 6f 66 20 74 |isn't a |use of t|
|00004250| 68 65 20 53 79 73 20 56 | 20 22 74 69 6d 65 7a 6f |he Sys V| "timezo|
|00004260| 6e 65 22 20 76 61 72 69 | 61 62 6c 65 20 61 74 20 |ne" vari|able at |
|00004270| 61 6c 6c 2e 0a 54 68 61 | 74 27 73 20 6e 6f 74 20 |all..Tha|t's not |
|00004280| 74 68 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |the info|rmation |
|00004290| 69 74 20 70 72 6f 76 69 | 64 65 73 2e 20 20 57 68 |it provi|des. Wh|
|000042a0| 61 74 20 79 6f 75 20 6e | 65 65 64 20 66 6f 72 20 |at you n|eed for |
|000042b0| 61 6e 20 52 46 43 38 32 | 32 0a 44 61 74 65 3a 20 |an RFC82|2.Date: |
|000042c0| 6c 69 6e 65 20 69 73 20 | 74 68 65 20 6e 75 6d 65 |line is |the nume|
|000042d0| 72 69 63 20 6f 66 66 73 | 65 74 20 6f 66 20 74 68 |ric offs|et of th|
|000042e0| 65 20 74 69 6d 65 20 74 | 68 61 74 20 77 61 73 20 |e time t|hat was |
|000042f0| 63 6f 6e 76 65 72 74 65 | 64 2e 0a 54 68 61 74 27 |converte|d..That'|
|00004300| 73 20 6e 6f 74 20 6e 65 | 63 65 73 73 61 72 69 6c |s not ne|cessaril|
|00004310| 79 20 74 68 65 20 68 6f | 73 74 73 20 6c 6f 63 61 |y the ho|sts loca|
|00004320| 6c 20 74 69 6d 65 20 7a | 6f 6e 65 20 28 77 68 69 |l time z|one (whi|
|00004330| 63 68 20 69 73 20 77 68 | 61 74 0a 22 74 69 6d 65 |ch is wh|at."time|
|00004340| 7a 6f 6e 65 22 20 69 73 | 20 73 75 70 70 6f 73 65 |zone" is| suppose|
|00004350| 64 20 74 6f 20 63 6f 6e | 74 61 69 6e 29 2e 20 20 |d to con|tain). |
|00004360| 41 6e 64 20 65 76 65 6e | 20 69 6e 20 63 61 73 65 |And even| in case|
|00004370| 73 20 77 68 65 72 65 20 | 68 6f 73 74 20 6c 6f 63 |s where |host loc|
|00004380| 61 6c 0a 74 69 6d 65 20 | 69 73 20 77 68 61 74 20 |al.time |is what |
|00004390| 69 73 20 77 61 6e 74 65 | 64 2c 20 22 74 69 6d 65 |is wante|d, "time|
|000043a0| 7a 6f 6e 65 22 20 69 73 | 6e 27 74 20 69 74 20 2d |zone" is|n't it -|
|000043b0| 20 61 73 20 74 68 65 20 | 6c 6f 63 61 6c 20 74 69 | as the |local ti|
|000043c0| 6d 65 20 63 6f 6e 76 65 | 72 74 65 64 0a 6d 69 67 |me conve|rted.mig|
|000043d0| 68 74 20 68 61 76 65 20 | 62 65 65 6e 20 61 20 64 |ht have |been a d|
|000043e0| 61 79 6c 69 67 68 74 20 | 73 61 76 69 6e 67 73 20 |aylight |savings |
|000043f0| 74 69 6d 65 2e 20 20 54 | 6f 20 74 75 72 6e 20 74 |time. T|o turn t|
|00004400| 68 65 20 53 79 73 20 56 | 20 22 74 69 6d 65 7a 6f |he Sys V| "timezo|
|00004410| 6e 65 22 0a 69 6e 74 6f | 20 74 68 65 20 63 6f 72 |ne".into| the cor|
|00004420| 72 65 63 74 20 74 68 69 | 6e 67 20 69 6e 20 74 68 |rect thi|ng in th|
|00004430| 61 74 20 63 61 73 65 2c | 20 6f 6e 65 20 77 6f 75 |at case,| one wou|
|00004440| 6c 64 20 6e 65 65 64 20 | 74 6f 20 69 6d 62 65 64 |ld need |to imbed|
|00004450| 20 73 6f 6d 65 0a 6e 6f | 6e 73 65 6e 73 65 20 6c | some.no|nsense l|
|00004460| 69 6b 65 20 22 69 66 20 | 28 74 6d 2d 3e 74 6d 5f |ike "if |(tm->tm_|
|00004470| 69 73 64 73 74 29 20 74 | 69 6d 65 7a 6f 6e 65 20 |isdst) t|imezone |
|00004480| 2b 3d 20 36 30 3b 22 20 | 20 28 6f 72 20 6d 61 79 |+= 60;" | (or may|
|00004490| 62 65 20 2d 3d 20 36 30 | 2c 0a 61 6e 64 20 6d 61 |be -= 60|,.and ma|
|000044a0| 79 62 65 20 74 68 65 20 | 6e 75 6d 62 65 72 20 69 |ybe the |number i|
|000044b0| 73 20 33 36 30 30 2c 20 | 64 65 74 61 69 6c 73 20 |s 3600, |details |
|000044c0| 61 72 65 20 69 72 72 65 | 6c 65 76 61 6e 74 2e 20 |are irre|levant. |
|000044d0| 20 41 6e 64 20 6e 6f 2c | 20 49 0a 77 6f 75 6c 64 | And no,| I.would|
|000044e0| 6e 27 74 20 72 65 61 6c | 6c 79 20 6d 6f 64 69 66 |n't real|ly modif|
|000044f0| 79 20 22 74 69 6d 65 7a | 6f 6e 65 22 29 2e 20 20 |y "timez|one"). |
|00004500| 47 65 74 74 69 6e 67 20 | 72 69 64 20 6f 66 20 61 |Getting |rid of a|
|00004510| 73 73 75 6d 70 74 69 6f | 6e 73 20 61 62 6f 75 74 |ssumptio|ns about|
|00004520| 0a 74 68 69 6e 67 73 20 | 6c 69 6b 65 20 44 53 54 |.things |like DST|
|00004530| 20 62 65 69 6e 67 20 6f | 6e 65 20 68 6f 75 72 20 | being o|ne hour |
|00004540| 66 6f 72 77 61 72 64 73 | 20 69 73 20 6f 6e 65 20 |forwards| is one |
|00004550| 6f 66 20 74 68 65 20 6d | 61 6a 6f 72 20 61 69 6d |of the m|ajor aim|
|00004560| 73 20 6f 66 0a 61 6c 6c | 20 74 68 69 73 2e 0a 0a |s of.all| this...|
|00004570| 57 68 61 74 20 2a 69 73 | 2a 20 6e 65 65 64 65 64 |What *is|* needed|
|00004580| 20 69 73 20 61 20 6d 65 | 74 68 6f 64 20 74 6f 20 | is a me|thod to |
|00004590| 6f 62 74 61 69 6e 20 74 | 68 65 20 74 69 6d 65 7a |obtain t|he timez|
|000045a0| 6f 6e 65 20 6f 66 66 73 | 65 74 20 74 68 61 74 20 |one offs|et that |
|000045b0| 69 73 0a 61 70 70 72 6f | 70 72 69 61 74 65 20 66 |is.appro|priate f|
|000045c0| 6f 72 20 61 20 67 69 76 | 65 6e 20 74 69 6d 65 2e |or a giv|en time.|
|000045d0| 20 20 54 68 61 74 27 73 | 20 61 20 64 69 66 66 65 | That's| a diffe|
|000045e0| 72 65 6e 74 20 70 72 6f | 62 6c 65 6d 20 65 6e 74 |rent pro|blem ent|
|000045f0| 69 72 65 6c 79 2e 0a 41 | 6e 20 69 6e 74 65 72 66 |irely..A|n interf|
|00004600| 61 63 65 20 74 6f 20 70 | 72 6f 76 69 64 65 20 74 |ace to p|rovide t|
|00004610| 68 69 73 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |his info|rmation |
|00004620| 6d 69 67 68 74 20 62 65 | 20 76 61 6c 75 61 62 6c |might be| valuabl|
|00004630| 65 2e 20 20 49 66 0a 74 | 68 65 72 65 20 69 73 6e |e. If.t|here isn|
|00004640| 27 74 20 73 75 63 68 20 | 61 6e 20 69 6e 74 65 72 |'t such |an inter|
|00004650| 66 61 63 65 2c 20 74 68 | 65 6e 20 74 68 65 20 6f |face, th|en the o|
|00004660| 66 66 73 65 74 20 63 61 | 6e 20 65 61 73 69 6c 79 |ffset ca|n easily|
|00004670| 20 63 61 6c 63 75 6c 61 | 74 65 64 0a 69 6e 20 61 | calcula|ted.in a|
|00004680| 20 70 6f 72 74 61 62 6c | 65 20 6d 61 6e 6e 65 72 | portabl|e manner|
|00004690| 20 62 79 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 | by appl|ications|
|000046a0| 20 28 73 65 65 20 6d 79 | 20 70 6f 73 74 69 6e 67 | (see my| posting|
|000046b0| 20 74 6f 20 6d 6f 64 2e | 73 6f 75 72 63 65 73 2c | to mod.|sources,|
|000046c0| 0a 76 6f 6c 20 36 20 69 | 73 73 75 65 20 31 32 20 |.vol 6 i|ssue 12 |
|000046d0| 22 64 61 74 65 64 69 66 | 66 73 22 20 66 6f 72 20 |"datedif|fs" for |
|000046e0| 61 6e 20 65 78 61 6d 70 | 6c 65 20 6f 66 20 64 6f |an examp|le of do|
|000046f0| 69 6e 67 20 61 70 70 72 | 6f 78 69 6d 61 74 65 6c |ing appr|oximatel|
|00004700| 79 20 74 68 69 73 29 2e | 0a 0a 0a 3e 20 4f 6e 65 |y this).|...> One|
|00004710| 20 6d 69 67 68 74 20 65 | 76 65 6e 20 63 6c 61 69 | might e|ven clai|
|00004720| 6d 20 74 68 61 74 2c 20 | 69 6e 20 61 20 7a 6f 6e |m that, |in a zon|
|00004730| 65 20 6c 69 6b 65 20 4a | 61 70 61 6e 2c 20 61 73 |e like J|apan, as|
|00004740| 6b 69 6e 67 20 66 6f 72 | 20 74 68 65 20 74 69 6d |king for| the tim|
|00004750| 65 20 7a 6f 6e 65 0a 3e | 20 6e 61 6d 65 20 73 68 |e zone.>| name sh|
|00004760| 6f 75 6c 64 20 72 65 74 | 75 72 6e 20 22 2b 30 39 |ould ret|urn "+09|
|00004770| 30 30 22 20 72 61 74 68 | 65 72 20 74 68 61 6e 20 |00" rath|er than |
|00004780| 22 4a 53 54 22 2e 20 20 | 50 72 6f 62 61 62 6c 79 |"JST". |Probably|
|00004790| 20 6e 6f 74 2c 20 62 75 | 74 20 69 74 27 73 0a 3e | not, bu|t it's.>|
|000047a0| 20 61 20 74 68 6f 75 67 | 68 74 2e 0a 0a 54 68 69 | a thoug|ht...Thi|
|000047b0| 73 20 77 61 73 2c 20 6f | 66 20 63 6f 75 72 73 65 |s was, o|f course|
|000047c0| 2c 20 61 20 6a 6f 6b 65 | 20 28 61 6e 64 20 6e 6f |, a joke| (and no|
|000047d0| 74 20 65 76 65 6e 20 61 | 20 67 6f 6f 64 20 6f 6e |t even a| good on|
|000047e0| 65 29 2e 0a 0a 0a 52 6f | 62 65 72 74 20 45 6c 7a |e)....Ro|bert Elz|
|000047f0| 09 73 65 69 73 6d 6f 21 | 6d 75 6e 6e 61 72 69 21 |.seismo!|munnari!|
|00004800| 6b 72 65 20 20 20 6b 72 | 65 25 6d 75 6e 6e 61 72 |kre kr|e%munnar|
|00004810| 69 2e 6f 7a 40 73 65 69 | 73 6d 6f 2e 63 73 73 2e |i.oz@sei|smo.css.|
|00004820| 67 6f 76 0a 0a 56 6f 6c | 75 6d 65 2d 4e 75 6d 62 |gov..Vol|ume-Numb|
|00004830| 65 72 3a 20 56 6f 6c 75 | 6d 65 20 36 2c 20 4e 75 |er: Volu|me 6, Nu|
|00004840| 6d 62 65 72 20 33 36 0a | 0a 46 72 6f 6d 20 6a 73 |mber 36.|.From js|
|00004850| 71 20 20 46 72 69 20 4a | 75 6c 20 32 35 20 31 30 |q Fri J|ul 25 10|
|00004860| 3a 32 30 3a 32 37 20 31 | 39 38 36 0a 46 72 6f 6d |:20:27 1|986.From|
|00004870| 3a 20 73 74 64 2d 75 6e | 69 78 25 75 74 2d 73 61 |: std-un|ix%ut-sa|
|00004880| 6c 6c 79 2e 55 55 43 50 | 40 53 41 4c 4c 59 2e 55 |lly.UUCP|@SALLY.U|
|00004890| 54 45 58 41 53 2e 45 44 | 55 20 28 4d 6f 64 65 72 |TEXAS.ED|U (Moder|
|000048a0| 61 74 6f 72 2c 20 4a 6f | 68 6e 20 51 75 61 72 74 |ator, Jo|hn Quart|
|000048b0| 65 72 6d 61 6e 29 0a 4e | 65 77 73 67 72 6f 75 70 |erman).N|ewsgroup|
|000048c0| 73 3a 20 6d 6f 64 2e 73 | 74 64 2e 75 6e 69 78 0a |s: mod.s|td.unix.|
|000048d0| 53 75 62 6a 65 63 74 3a | 20 74 69 6d 65 7a 6f 6e |Subject:| timezon|
|000048e0| 65 20 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |e implem|entation|
|000048f0| 20 63 6f 6e 73 74 72 61 | 69 6e 74 73 0a 4d 65 73 | constra|ints.Mes|
|00004900| 73 61 67 65 2d 49 64 3a | 20 3c 35 34 30 36 40 75 |sage-Id:| <5406@u|
|00004910| 74 2d 73 61 6c 6c 79 2e | 55 55 43 50 3e 0a 4f 72 |t-sally.|UUCP>.Or|
|00004920| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 20 49 45 45 45 |ganizati|on: IEEE|
|00004930| 20 31 30 30 33 20 50 6f | 72 74 61 62 6c 65 20 4f | 1003 Po|rtable O|
|00004940| 70 65 72 61 74 69 6e 67 | 20 53 79 73 74 65 6d 20 |perating| System |
|00004950| 66 6f 72 20 43 6f 6d 70 | 75 74 65 72 20 45 6e 76 |for Comp|uter Env|
|00004960| 69 72 6f 6e 6d 65 6e 74 | 73 20 43 6f 6d 6d 69 74 |ironment|s Commit|
|00004970| 74 65 65 0a 4b 65 79 77 | 6f 72 64 73 3a 20 31 30 |tee.Keyw|ords: 10|
|00004980| 30 33 2e 31 20 41 2e 33 | 0a 44 61 74 65 3a 20 32 |03.1 A.3|.Date: 2|
|00004990| 35 20 4a 75 6c 20 38 36 | 20 31 35 3a 32 30 3a 31 |5 Jul 86| 15:20:1|
|000049a0| 34 20 47 4d 54 0a 44 72 | 61 66 74 2d 39 3a 20 54 |4 GMT.Dr|aft-9: T|
|000049b0| 5a 0a 53 74 61 74 75 73 | 3a 20 52 0a 0a 46 72 6f |Z.Status|: R..Fro|
|000049c0| 6d 3a 20 68 70 6c 61 62 | 73 21 68 61 6f 21 76 69 |m: hplab|s!hao!vi|
|000049d0| 61 6e 65 74 21 64 65 76 | 69 6e 65 40 70 79 72 61 |anet!dev|ine@pyra|
|000049e0| 6d 69 64 2e 55 55 43 50 | 20 28 42 6f 62 20 44 65 |mid.UUCP| (Bob De|
|000049f0| 76 69 6e 65 29 0a 44 61 | 74 65 3a 20 54 68 75 2c |vine).Da|te: Thu,|
|00004a00| 20 32 34 20 4a 75 6c 20 | 38 36 20 32 33 3a 31 33 | 24 Jul |86 23:13|
|00004a10| 3a 34 34 20 6d 64 74 0a | 0a 5b 20 54 68 69 73 20 |:44 mdt.|.[ This |
|00004a20| 69 73 20 72 65 61 6c 6c | 79 20 6e 6f 74 20 64 69 |is reall|y not di|
|00004a30| 72 65 63 74 6c 79 20 72 | 65 6c 61 74 65 64 20 74 |rectly r|elated t|
|00004a40| 6f 20 49 45 45 45 20 31 | 30 30 33 2e 31 2c 20 73 |o IEEE 1|003.1, s|
|00004a50| 69 6e 63 65 0a 69 74 20 | 73 6f 6c 65 6c 79 20 64 |ince.it |solely d|
|00004a60| 69 73 63 75 73 73 65 73 | 20 74 68 65 20 64 65 74 |iscusses| the det|
|00004a70| 61 69 6c 73 20 6f 66 20 | 61 6e 20 2a 69 6d 70 6c |ails of |an *impl|
|00004a80| 65 6d 65 6e 74 61 74 69 | 6f 6e 2a 20 61 6e 64 0a |ementati|on* and.|
|00004a90| 73 61 79 73 20 6e 6f 74 | 68 69 6e 67 20 61 62 6f |says not|hing abo|
|00004aa0| 75 74 20 74 68 65 20 2a | 69 6e 74 65 72 66 61 63 |ut the *|interfac|
|00004ab0| 65 2a 2e 20 20 48 6f 77 | 65 76 65 72 2c 20 69 74 |e*. How|ever, it|
|00004ac0| 20 64 6f 65 73 0a 61 64 | 64 72 65 73 73 20 73 6f | does.ad|dress so|
|00004ad0| 6d 65 74 68 69 6e 67 20 | 77 68 69 63 68 20 68 61 |mething |which ha|
|00004ae0| 73 20 62 65 65 6e 20 70 | 72 65 76 69 6f 75 73 6c |s been p|reviousl|
|00004af0| 79 20 64 69 73 63 75 73 | 73 65 64 0a 69 6e 20 74 |y discus|sed.in t|
|00004b00| 68 69 73 20 6e 65 77 73 | 67 72 6f 75 70 2c 20 61 |his news|group, a|
|00004b10| 6e 64 20 49 20 63 61 6e | 27 74 20 74 68 69 6e 6b |nd I can|'t think|
|00004b20| 20 6f 66 20 61 20 62 65 | 74 74 65 72 20 70 6c 61 | of a be|tter pla|
|00004b30| 63 65 20 66 6f 72 20 69 | 74 2e 0a 48 6f 77 65 76 |ce for i|t..Howev|
|00004b40| 65 72 2c 20 70 6c 65 61 | 73 65 20 64 6f 20 64 65 |er, plea|se do de|
|00004b50| 74 61 69 6c 65 64 20 6c | 69 6e 65 2d 62 79 2d 6c |tailed l|ine-by-l|
|00004b60| 69 6e 65 20 64 69 73 63 | 75 73 73 69 6f 6e 73 20 |ine disc|ussions |
|00004b70| 6f 66 20 74 68 69 73 0a | 74 68 72 6f 75 67 68 20 |of this.|through |
|00004b80| 6d 61 69 6c 20 61 6d 6f | 6e 67 20 69 6e 74 65 72 |mail amo|ng inter|
|00004b90| 65 73 74 65 64 20 70 61 | 72 74 69 65 73 2e 0a 0a |ested pa|rties...|
|00004ba0| 43 6f 75 6c 64 20 77 65 | 20 66 69 6e 64 20 61 20 |Could we| find a |
|00004bb0| 6e 65 77 20 74 6f 70 69 | 63 3f 0a 2d 6d 6f 64 5d |new topi|c?.-mod]|
|00004bc0| 0a 0a 20 20 41 72 74 68 | 75 72 20 4f 6c 73 6f 6e |.. Arth|ur Olson|
|00004bd0| 27 73 20 72 65 63 65 6e | 74 20 70 6f 73 74 69 6e |'s recen|t postin|
|00004be0| 67 20 74 6f 20 6d 6f 64 | 2e 73 6f 75 72 63 65 73 |g to mod|.sources|
|00004bf0| 20 69 6e 63 6c 75 64 65 | 64 20 74 68 65 20 75 70 | include|d the up|
|00004c00| 64 61 74 65 64 0a 73 65 | 74 74 7a 20 64 61 74 61 |dated.se|ttz data|
|00004c10| 20 74 61 62 6c 65 73 2e | 20 20 54 68 69 73 20 72 | tables.| This r|
|00004c20| 65 70 6c 79 20 69 6e 20 | 6d 6f 64 2e 73 74 64 2e |eply in |mod.std.|
|00004c30| 75 6e 69 78 20 69 73 20 | 74 6f 20 63 6f 72 72 65 |unix is |to corre|
|00004c40| 63 74 20 73 6f 6d 65 0a | 6f 66 20 74 68 65 20 65 |ct some.|of the e|
|00004c50| 6e 74 72 69 65 73 20 69 | 6e 20 74 68 65 20 74 61 |ntries i|n the ta|
|00004c60| 62 6c 65 20 61 6e 64 20 | 72 65 2d 72 61 69 73 65 |ble and |re-raise|
|00004c70| 20 6d 79 20 70 6f 69 6e | 74 73 20 61 62 6f 75 74 | my poin|ts about|
|00004c80| 20 77 68 61 74 20 69 73 | 20 74 68 65 0a 62 65 73 | what is| the.bes|
|00004c90| 74 20 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |t implem|entation|
|00004ca0| 2e 20 20 49 20 62 65 6c | 69 65 76 65 20 65 76 65 |. I bel|ieve eve|
|00004cb0| 72 79 6f 6e 65 20 68 61 | 73 20 61 67 72 65 65 64 |ryone ha|s agreed|
|00004cc0| 20 6f 6e 20 52 6f 62 65 | 72 74 20 45 6c 7a 27 73 | on Robe|rt Elz's|
|00004cd0| 0a 64 69 72 65 63 74 69 | 6f 6e 20 66 6f 72 20 74 |.directi|on for t|
|00004ce0| 68 65 20 50 4f 53 49 58 | 20 64 6f 63 75 6d 65 6e |he POSIX| documen|
|00004cf0| 74 20 77 6f 72 64 69 6e | 67 2e 0a 0a 20 20 54 68 |t wordin|g... Th|
|00004d00| 65 20 6c 69 6e 65 73 20 | 62 65 67 69 6e 6e 69 6e |e lines |beginnin|
|00004d10| 67 20 77 69 74 68 20 22 | 3e 20 22 20 61 72 65 20 |g with "|> " are |
|00004d20| 66 72 6f 6d 20 41 72 74 | 68 75 72 20 4f 6c 73 6f |from Art|hur Olso|
|00004d30| 6e 2e 0a 0a 3e 20 42 6f | 62 20 44 65 76 69 6e 65 |n...> Bo|b Devine|
|00004d40| 20 68 61 73 20 77 72 69 | 74 74 65 6e 20 74 68 61 | has wri|tten tha|
|00004d50| 74 20 22 2e 20 2e 20 2e | 79 6f 75 72 20 74 61 62 |t ". . .|your tab|
|00004d60| 6c 65 20 69 73 20 77 72 | 6f 6e 67 20 66 6f 72 20 |le is wr|ong for |
|00004d70| 4d 6f 73 74 4e 41 20 69 | 6e 20 31 39 37 34 2e 0a |MostNA i|n 1974..|
|00004d80| 3e 20 54 68 65 20 63 6f | 72 72 65 63 74 20 65 6e |> The co|rrect en|
|00004d90| 64 69 6e 67 20 64 61 74 | 65 20 69 73 20 31 30 2f |ding dat|e is 10/|
|00004da0| 32 37 20 6e 6f 74 20 31 | 31 2f 32 34 2e 22 20 20 |27 not 1|1/24." |
|00004db0| 59 65 74 20 6f 6e 20 61 | 20 34 2e 31 62 73 64 20 |Yet on a| 4.1bsd |
|00004dc0| 56 41 58 2f 31 31 2d 37 | 35 30 0a 3e 20 73 79 73 |VAX/11-7|50.> sys|
|00004dd0| 74 65 6d 2c 20 63 6f 6d | 70 69 6c 69 6e 67 20 61 |tem, com|piling a|
|00004de0| 6e 64 20 65 78 65 63 75 | 74 69 6e 67 20 74 68 65 |nd execu|ting the|
|00004df0| 20 70 72 6f 67 72 61 6d | 0a 3e 20 5b 5b 5b 20 70 | program|.> [[[ p|
|00004e00| 72 6f 67 72 61 6d 20 6f | 6d 69 74 74 65 64 20 5d |rogram o|mitted ]|
|00004e10| 5d 5d 0a 3e 20 72 65 73 | 75 6c 74 73 20 69 6e 20 |]].> res|ults in |
|00004e20| 74 68 65 20 6f 75 74 70 | 75 74 0a 3e 09 46 72 69 |the outp|ut.>.Fri|
|00004e30| 20 4e 6f 76 20 20 31 20 | 32 32 3a 34 30 3a 30 30 | Nov 1 |22:40:00|
|00004e40| 20 31 39 37 34 0a 3e 09 | 69 73 64 73 74 3a 20 31 | 1974.>.|isdst: 1|
|00004e50| 0a 3e 20 46 6f 72 20 6e | 6f 77 20 77 65 27 6c 6c |.> For n|ow we'll|
|00004e60| 20 73 74 61 79 20 77 69 | 74 68 20 34 2e 31 62 73 | stay wi|th 4.1bs|
|00004e70| 64 27 73 20 76 65 72 73 | 69 6f 6e 2e 0a 0a 20 20 |d's vers|ion... |
|00004e80| 54 68 65 20 64 61 74 65 | 20 49 20 67 61 76 65 20 |The date| I gave |
|00004e90| 69 73 20 63 6f 72 72 65 | 63 74 2e 20 20 41 6e 79 |is corre|ct. Any|
|00004ea0| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 55 6e 69 78 | version| of Unix|
|00004eb0| 20 74 68 61 74 20 75 73 | 65 73 20 31 31 2f 32 34 | that us|es 11/24|
|00004ec0| 20 69 73 0a 73 69 6d 70 | 6c 79 20 77 72 6f 6e 67 | is.simp|ly wrong|
|00004ed0| 2e 20 20 54 68 65 20 64 | 61 74 65 73 20 66 6f 72 |. The d|ates for|
|00004ee0| 20 31 39 37 34 20 61 6e | 64 20 31 39 37 35 20 44 | 1974 an|d 1975 D|
|00004ef0| 53 54 20 72 75 6c 65 73 | 20 61 72 65 3a 0a 20 20 |ST rules| are:. |
|00004f00| 20 20 20 20 31 39 37 34 | 20 20 20 31 2f 36 20 20 | 1974| 1/6 |
|00004f10| 74 6f 20 31 30 2f 32 37 | 0a 20 20 20 20 20 20 31 |to 10/27|. 1|
|00004f20| 39 37 35 20 20 20 32 2f | 32 38 20 74 6f 20 31 30 |975 2/|28 to 10|
|00004f30| 2f 32 36 0a 20 20 45 76 | 65 6e 20 74 68 65 20 73 |/26. Ev|en the s|
|00004f40| 6f 75 72 63 65 20 66 6f | 72 20 58 65 6e 69 78 20 |ource fo|r Xenix |
|00004f50| 56 20 74 68 61 74 20 49 | 20 6a 75 73 74 20 63 68 |V that I| just ch|
|00004f60| 65 63 6b 65 64 20 68 61 | 73 20 69 74 20 77 72 6f |ecked ha|s it wro|
|00004f70| 6e 67 2e 20 20 42 65 6c | 69 65 76 65 0a 6d 65 20 |ng. Bel|ieve.me |
|00004f80| 66 6f 6c 6b 73 2c 20 74 | 68 69 73 20 63 6f 6d 65 |folks, t|his come|
|00004f90| 73 20 64 69 72 65 63 74 | 6c 79 20 66 72 6f 6d 20 |s direct|ly from |
|00004fa0| 44 65 70 74 20 6f 66 20 | 54 72 61 6e 73 70 6f 72 |Dept of |Transpor|
|00004fb0| 74 61 74 69 6f 6e 2e 20 | 20 28 49 66 20 79 6f 75 |tation. | (If you|
|00004fc0| 20 61 72 65 0a 77 6f 6e | 64 65 72 69 6e 67 20 77 | are.won|dering w|
|00004fd0| 68 79 20 44 4f 54 20 68 | 61 73 20 72 65 73 70 6f |hy DOT h|as respo|
|00004fe0| 6e 73 69 62 69 6c 69 74 | 79 20 66 6f 72 20 73 75 |nsibilit|y for su|
|00004ff0| 63 68 20 69 6e 66 6f 2c | 20 64 72 6f 70 20 6d 65 |ch info,| drop me|
|00005000| 20 61 20 6c 69 6e 65 2e | 20 42 44 29 0a 0a 3e 20 | a line.| BD)..> |
|00005010| 4e 6f 74 65 20 61 6c 73 | 6f 20 74 68 69 73 20 66 |Note als|o this f|
|00005020| 72 6f 6d 20 6d 75 6e 6e | 61 72 69 21 6b 72 65 3a |rom munn|ari!kre:|
|00005030| 0a 3e 20 22 49 20 72 65 | 63 61 6c 6c 20 61 6c 73 |.> "I re|call als|
|00005040| 6f 20 62 65 69 6e 67 20 | 74 6f 6c 64 20 62 79 20 |o being |told by |
|00005050| 73 6f 6d 65 6f 6e 65 20 | 6f 6e 63 65 20 74 68 61 |someone |once tha|
|00005060| 74 20 43 61 6e 61 64 61 | 20 64 69 64 6e 27 74 20 |t Canada| didn't |
|00005070| 68 61 76 65 0a 3e 20 74 | 68 65 20 44 53 54 20 76 |have.> t|he DST v|
|00005080| 61 72 69 61 74 69 6f 6e | 73 20 69 6e 20 37 34 2f |ariation|s in 74/|
|00005090| 37 35 20 74 68 61 74 20 | 74 68 65 20 55 53 20 64 |75 that |the US d|
|000050a0| 69 64 2c 20 62 75 74 20 | 49 20 61 6d 20 6e 6f 74 |id, but |I am not|
|000050b0| 20 6e 65 61 72 6c 79 0a | 3e 20 73 75 72 65 20 65 | nearly.|> sure e|
|000050c0| 6e 6f 75 67 68 20 6f 66 | 20 74 68 69 73 20 74 6f |nough of| this to|
|000050d0| 20 61 64 64 20 61 6e 79 | 74 68 69 6e 67 2e 22 0a | add any|thing.".|
|000050e0| 3e 20 49 66 20 43 61 6e | 61 64 61 20 6f 72 20 4d |> If Can|ada or M|
|000050f0| 65 78 69 63 6f 20 64 65 | 63 69 64 65 20 6e 6f 74 |exico de|cide not|
|00005100| 20 74 6f 20 66 6f 6c 6c | 6f 77 20 74 68 65 20 55 | to foll|ow the U|
|00005110| 53 20 63 68 61 6e 67 65 | 20 69 6e 20 44 53 54 20 |S change| in DST |
|00005120| 74 68 61 74 20 74 61 6b | 65 73 0a 3e 20 65 66 66 |that tak|es.> eff|
|00005130| 65 63 74 20 69 6e 20 31 | 39 38 37 2c 20 61 64 64 |ect in 1|987, add|
|00005140| 69 74 69 6f 6e 73 20 68 | 61 64 20 62 65 73 74 20 |itions h|ad best |
|00005150| 62 65 20 6d 61 64 65 20 | 62 65 6c 6f 77 2e 0a 0a |be made |below...|
|00005160| 43 61 6e 61 64 61 20 64 | 69 64 20 6e 6f 74 20 66 |Canada d|id not f|
|00005170| 6f 6c 6c 6f 77 20 74 68 | 65 20 66 75 65 6c 20 66 |ollow th|e fuel f|
|00005180| 6f 6c 6c 69 65 73 20 66 | 6f 72 20 27 34 20 61 6e |ollies f|or '4 an|
|00005190| 64 20 27 35 2e 0a 50 6c | 65 61 73 65 20 73 70 6c |d '5..Pl|ease spl|
|000051a0| 69 74 20 74 68 65 20 72 | 75 6c 65 73 20 2a 62 79 |it the r|ules *by|
|000051b0| 20 63 6f 75 6e 74 72 79 | 2a 2c 20 6e 6f 74 20 62 | country|*, not b|
|000051c0| 79 20 63 6f 6e 74 69 6e | 65 6e 74 2c 20 74 6f 20 |y contin|ent, to |
|000051d0| 61 76 6f 69 64 20 73 75 | 63 68 20 70 72 6f 62 6c |avoid su|ch probl|
|000051e0| 65 6d 73 2e 0a 54 68 65 | 20 22 4d 6f 73 74 4e 41 |ems..The| "MostNA|
|000051f0| 22 20 72 75 6c 65 73 20 | 6c 69 73 74 65 64 20 61 |" rules |listed a|
|00005200| 72 65 20 69 6e 63 6f 72 | 72 65 63 74 20 66 6f 72 |re incor|rect for|
|00005210| 20 43 61 6e 61 64 61 20 | 61 6e 64 20 4d 65 78 69 | Canada |and Mexi|
|00005220| 63 6f 21 0a 0a 3e 20 42 | 65 66 6f 72 65 20 74 68 |co!..> B|efore th|
|00005230| 65 20 55 6e 69 66 6f 72 | 6d 20 54 69 6d 65 20 41 |e Unifor|m Time A|
|00005240| 63 74 20 6f 66 20 31 39 | 36 36 20 74 6f 6f 6b 20 |ct of 19|66 took |
|00005250| 65 66 66 65 63 74 20 69 | 6e 20 31 39 36 37 2c 20 |effect i|n 1967, |
|00005260| 6f 62 73 65 72 76 61 6e | 63 65 20 6f 66 0a 3e 20 |observan|ce of.> |
|00005270| 44 61 79 6c 69 67 68 74 | 20 53 61 76 69 6e 67 20 |Daylight| Saving |
|00005280| 54 69 6d 65 20 69 6e 20 | 74 68 65 20 55 53 20 77 |Time in |the US w|
|00005290| 61 73 20 62 79 20 6c 6f | 63 61 6c 20 6f 70 74 69 |as by lo|cal opti|
|000052a0| 6f 6e 2c 20 65 78 63 65 | 70 74 20 64 75 72 69 6e |on, exce|pt durin|
|000052b0| 67 20 77 61 72 74 69 6d | 65 2e 0a 0a 20 20 54 68 |g wartim|e... Th|
|000052c0| 69 73 20 69 73 20 74 68 | 65 20 61 63 69 64 2d 74 |is is th|e acid-t|
|000052d0| 65 73 74 20 6f 66 20 61 | 6c 6c 20 70 72 6f 70 6f |est of a|ll propo|
|000052e0| 73 61 6c 73 20 66 6f 72 | 20 68 61 6e 64 6c 69 6e |sals for| handlin|
|000052f0| 67 20 44 53 54 20 72 75 | 6c 65 73 2e 20 20 57 68 |g DST ru|les. Wh|
|00005300| 65 6e 20 49 0a 73 75 62 | 6d 69 74 74 65 64 20 6d |en I.sub|mitted m|
|00005310| 79 20 73 75 67 67 65 73 | 74 69 6f 6e 20 74 6f 20 |y sugges|tion to |
|00005320| 6d 6f 64 2e 73 74 64 2d | 75 6e 69 78 20 6c 61 73 |mod.std-|unix las|
|00005330| 74 20 46 65 62 72 75 61 | 72 79 20 28 74 68 61 74 |t Februa|ry (that|
|00005340| 20 6e 6f 77 20 73 65 65 | 6d 73 20 6c 69 6b 65 0a | now see|ms like.|
|00005350| 74 68 65 20 64 69 73 74 | 61 6e 74 20 70 61 73 74 |the dist|ant past|
|00005360| 29 2c 20 49 20 75 73 65 | 64 20 74 68 65 20 6d 6f |), I use|d the mo|
|00005370| 73 74 20 63 6f 6d 6d 6f | 6e 20 77 61 79 20 6f 66 |st commo|n way of|
|00005380| 20 72 65 70 72 65 73 65 | 6e 74 69 6e 67 20 74 68 | represe|nting th|
|00005390| 65 20 63 68 61 6e 67 65 | 73 2e 0a 54 68 65 20 72 |e change|s..The r|
|000053a0| 65 61 73 6f 6e 20 77 61 | 73 20 49 20 68 61 64 20 |eason wa|s I had |
|000053b0| 65 78 61 6d 69 6e 65 64 | 20 61 6c 6c 20 74 68 65 |examined| all the|
|000053c0| 20 77 6f 72 6c 64 2d 77 | 69 64 65 20 72 75 6c 65 | world-w|ide rule|
|000053d0| 73 20 61 6e 64 20 61 66 | 74 65 72 20 73 69 6c 65 |s and af|ter sile|
|000053e0| 6e 74 6c 79 0a 74 65 61 | 72 69 6e 67 20 6d 79 20 |ntly.tea|ring my |
|000053f0| 68 61 69 72 20 6f 75 74 | 20 74 72 79 69 6e 67 20 |hair out| trying |
|00005400| 74 6f 20 63 6f 6d 65 20 | 75 70 20 77 69 74 68 20 |to come |up with |
|00005410| 61 20 73 6d 61 6c 6c 20 | 74 61 62 6c 65 2c 20 64 |a small |table, d|
|00005420| 65 63 69 64 65 64 20 74 | 6f 0a 67 6f 20 77 69 74 |ecided t|o.go wit|
|00005430| 68 20 74 68 65 20 6f 6e | 6c 79 20 77 61 79 20 74 |h the on|ly way t|
|00005440| 68 61 74 20 49 20 68 61 | 64 20 61 6e 79 20 68 6f |hat I ha|d any ho|
|00005450| 70 65 20 6f 66 20 67 65 | 74 74 69 6e 67 20 72 69 |pe of ge|tting ri|
|00005460| 67 68 74 2e 20 20 54 6f | 20 72 65 70 72 65 73 65 |ght. To| represe|
|00005470| 6e 74 0a 61 6c 6c 20 6f | 66 20 74 68 65 20 77 6f |nt.all o|f the wo|
|00005480| 72 6c 64 77 69 64 65 20 | 72 75 6c 65 73 20 66 6f |rldwide |rules fo|
|00005490| 72 20 6a 75 73 74 20 2b | 2f 2d 20 35 20 79 65 61 |r just +|/- 5 yea|
|000054a0| 72 73 20 72 65 71 75 69 | 72 65 73 20 73 65 76 65 |rs requi|res seve|
|000054b0| 72 61 6c 20 68 75 6e 64 | 72 65 64 0a 6c 69 6e 65 |ral hund|red.line|
|000054c0| 73 2e 20 20 4e 6f 20 73 | 70 65 65 64 20 77 6f 75 |s. No s|peed wou|
|000054d0| 6c 64 20 65 76 65 72 20 | 62 65 20 70 6f 73 73 69 |ld ever |be possi|
|000054e0| 62 6c 65 20 66 6f 72 20 | 61 20 66 75 6c 6c 20 74 |ble for |a full t|
|000054f0| 61 62 6c 65 2e 20 20 4d | 79 20 77 61 79 20 77 61 |able. M|y way wa|
|00005500| 73 20 74 6f 0a 6a 75 73 | 74 20 72 65 70 72 65 73 |s to.jus|t repres|
|00005510| 65 6e 74 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |ent the |current |
|00005520| 79 65 61 72 2e 20 20 41 | 74 20 62 65 73 74 2c 20 |year. A|t best, |
|00005530| 74 68 61 74 20 73 69 6d | 70 6c 65 20 66 6f 72 6d |that sim|ple form|
|00005540| 75 6c 61 20 77 6f 75 6c | 64 20 77 6f 72 6b 0a 66 |ula woul|d work.f|
|00005550| 6f 72 20 6d 61 6e 79 20 | 79 65 61 72 73 3b 20 61 |or many |years; a|
|00005560| 74 20 77 6f 72 73 74 2c | 20 63 68 61 6e 67 65 73 |t worst,| changes|
|00005570| 20 63 61 6e 27 74 20 62 | 65 20 68 61 6e 64 6c 65 | can't b|e handle|
|00005580| 64 20 28 77 68 69 63 68 | 20 69 73 20 77 68 79 20 |d (which| is why |
|00005590| 66 6f 6c 6b 73 0a 64 69 | 64 20 66 61 6c 6c 20 69 |folks.di|d fall i|
|000055a0| 6e 20 6c 6f 76 65 20 77 | 69 74 68 20 69 74 29 2e |n love w|ith it).|
|000055b0| 0a 0a 20 20 54 68 65 20 | 55 53 20 74 72 69 65 64 |.. The |US tried|
|000055c0| 20 74 6f 20 73 74 61 6e | 64 61 72 64 69 7a 65 20 | to stan|dardize |
|000055d0| 44 53 54 20 72 75 6c 65 | 73 20 69 6e 20 74 68 61 |DST rule|s in tha|
|000055e0| 74 20 27 36 36 20 41 63 | 74 2e 20 20 42 75 74 2c |t '66 Ac|t. But,|
|000055f0| 20 6f 66 20 63 6f 75 72 | 73 65 2c 0a 74 68 65 72 | of cour|se,.ther|
|00005600| 65 20 61 72 65 20 73 74 | 69 6c 6c 20 6d 61 6e 79 |e are st|ill many|
|00005610| 20 65 78 63 65 70 74 69 | 6f 6e 73 2e 20 20 50 6c | excepti|ons. Pl|
|00005620| 75 73 2c 20 63 68 65 63 | 6b 69 6e 67 20 64 61 74 |us, chec|king dat|
|00005630| 65 73 20 70 72 69 6f 72 | 20 74 6f 20 69 74 20 69 |es prior| to it i|
|00005640| 73 0a 70 61 69 6e 66 75 | 6c 2e 20 20 4e 6f 77 20 |s.painfu|l. Now |
|00005650| 69 6d 61 67 69 6e 65 20 | 68 6f 77 20 74 68 65 20 |imagine |how the |
|00005660| 55 53 20 77 61 73 20 62 | 65 66 6f 72 65 20 31 39 |US was b|efore 19|
|00005670| 36 37 20 61 6e 64 20 61 | 70 70 6c 79 20 74 68 61 |67 and a|pply tha|
|00005680| 74 20 74 6f 20 74 68 65 | 0a 77 6f 72 6c 64 2e 20 |t to the|.world. |
|00005690| 20 59 6f 75 20 67 65 74 | 20 74 68 65 20 66 65 65 | You get| the fee|
|000056a0| 6c 69 6e 67 20 6f 66 20 | 6e 65 61 72 20 63 68 61 |ling of |near cha|
|000056b0| 6f 73 3f 0a 0a 20 20 49 | 20 68 61 76 65 20 73 69 |os?.. I| have si|
|000056c0| 6e 63 65 20 63 6f 6d 65 | 20 74 6f 20 74 68 65 20 |nce come| to the |
|000056d0| 63 6f 6e 63 6c 75 73 69 | 6f 6e 20 74 68 61 74 20 |conclusi|on that |
|000056e0| 74 68 65 20 62 65 73 74 | 20 77 61 79 20 74 6f 20 |the best| way to |
|000056f0| 72 65 70 72 65 73 65 6e | 74 0a 44 53 54 20 61 6e |represen|t.DST an|
|00005700| 64 20 74 69 6d 65 7a 6f | 6e 65 20 69 6e 66 6f 72 |d timezo|ne infor|
|00005710| 6d 61 74 69 6f 6e 20 69 | 73 20 61 20 73 69 6e 67 |mation i|s a sing|
|00005720| 6c 65 20 72 75 6c 65 20 | 70 6c 75 73 20 61 6e 20 |le rule |plus an |
|00005730| 22 65 78 63 65 70 74 69 | 6f 6e 73 20 64 61 74 61 |"excepti|ons data|
|00005740| 62 61 73 65 22 2e 0a 4f | 6e 6c 79 20 69 66 20 74 |base"..O|nly if t|
|00005750| 68 65 20 73 69 6d 70 6c | 65 20 72 75 6c 65 20 64 |he simpl|e rule d|
|00005760| 6f 65 73 6e 27 74 20 77 | 6f 72 6b 20 28 65 2e 67 |oesn't w|ork (e.g|
|00005770| 2e 2c 20 70 61 73 74 20 | 6f 72 20 66 75 74 75 72 |., past |or futur|
|00005780| 65 20 79 65 61 72 73 2c | 20 6f 74 68 65 72 0a 74 |e years,| other.t|
|00005790| 69 6d 65 7a 6f 6e 65 73 | 29 20 69 73 20 74 68 65 |imezones|) is the|
|000057a0| 20 64 61 74 61 62 61 73 | 65 20 75 73 65 64 2e 20 | databas|e used. |
|000057b0| 20 54 68 69 73 20 77 61 | 79 2c 20 72 75 6c 65 73 | This wa|y, rules|
|000057c0| 20 63 61 6e 20 62 65 20 | 61 64 64 65 64 20 61 73 | can be |added as|
|000057d0| 20 6e 65 65 64 65 64 2e | 0a 4f 72 20 74 68 65 20 | needed.|.Or the |
|000057e0| 65 6e 74 69 72 65 20 64 | 61 74 61 62 61 73 65 20 |entire d|atabase |
|000057f0| 63 61 6e 20 62 65 20 65 | 6d 70 74 79 20 77 69 74 |can be e|mpty wit|
|00005800| 68 20 74 68 65 20 73 69 | 6e 67 6c 65 20 72 75 6c |h the si|ngle rul|
|00005810| 65 20 75 73 65 64 20 66 | 6f 72 20 61 6c 6c 0a 63 |e used f|or all.c|
|00005820| 6f 6e 76 65 72 73 69 6f | 6e 73 2e 0a 0a 20 20 44 |onversio|ns... D|
|00005830| 53 54 20 69 73 20 61 6c | 6d 6f 73 74 20 6c 69 6b |ST is al|most lik|
|00005840| 65 20 74 68 65 20 28 6a | 65 65 7a 2c 20 49 20 66 |e the (j|eez, I f|
|00005850| 6f 72 67 6f 74 20 77 68 | 6f 20 73 61 69 64 20 69 |orgot wh|o said i|
|00005860| 74 29 20 71 75 6f 74 65 | 20 61 62 6f 75 74 20 74 |t) quote| about t|
|00005870| 68 65 0a 75 6e 69 76 65 | 72 73 65 20 22 62 65 69 |he.unive|rse "bei|
|00005880| 6e 67 20 6d 6f 72 65 20 | 63 6f 6d 70 6c 69 63 61 |ng more |complica|
|00005890| 74 65 64 20 74 68 61 74 | 20 63 61 6e 20 62 65 20 |ted that| can be |
|000058a0| 70 6f 73 73 69 62 6c 79 | 20 69 6d 61 67 69 6e 65 |possibly| imagine|
|000058b0| 64 22 2e 0a 54 68 69 73 | 20 69 73 20 6e 6f 74 20 |d"..This| is not |
|000058c0| 61 6e 20 65 78 61 63 74 | 20 61 6e 61 6c 6f 67 79 |an exact| analogy|
|000058d0| 2c 20 62 75 74 2c 20 61 | 74 20 6c 65 61 73 74 20 |, but, a|t least |
|000058e0| 70 68 79 73 69 63 61 6c | 20 6c 61 77 73 20 61 72 |physical| laws ar|
|000058f0| 65 20 63 6f 6e 74 72 6f | 6c 6c 65 64 0a 62 79 20 |e contro|lled.by |
|00005900| 43 6f 6e 67 72 65 73 73 | 21 0a 0a 0a 3e 23 20 52 |Congress|!...># R|
|00005910| 75 6c 65 09 4e 41 4d 45 | 09 46 52 4f 4d 09 54 4f |ule.NAME|.FROM.TO|
|00005920| 09 54 59 50 45 09 49 4e | 09 4f 4e 09 41 54 09 53 |.TYPE.IN|.ON.AT.S|
|00005930| 41 56 45 09 4c 45 54 54 | 45 52 2f 53 0a 3e 52 75 |AVE.LETT|ER/S.>Ru|
|00005940| 6c 65 09 4d 6f 73 74 4e | 41 09 31 39 36 37 09 31 |le.MostN|A.1967.1|
|00005950| 39 37 33 09 2d 09 41 70 | 72 09 6c 61 73 74 53 75 |973.-.Ap|r.lastSu|
|00005960| 6e 09 32 3a 30 30 09 31 | 3a 30 30 09 44 0a 3e 52 |n.2:00.1|:00.D.>R|
|00005970| 75 6c 65 09 4d 6f 73 74 | 4e 41 09 31 39 36 37 09 |ule.Most|NA.1967.|
|00005980| 31 39 37 33 09 2d 09 4f | 63 74 09 6c 61 73 74 53 |1973.-.O|ct.lastS|
|00005990| 75 6e 09 32 3a 30 30 09 | 30 09 53 0a 0a 4e 6f 74 |un.2:00.|0.S..Not|
|000059a0| 65 3a 20 74 68 65 20 72 | 75 6c 65 73 20 66 6f 72 |e: the r|ules for|
|000059b0| 20 31 39 36 37 20 2d 20 | 31 39 37 33 20 64 65 70 | 1967 - |1973 dep|
|000059c0| 65 6e 64 20 6f 6e 20 77 | 68 61 74 20 73 74 61 74 |end on w|hat stat|
|000059d0| 65 2f 74 65 72 72 69 74 | 6f 72 79 20 79 6f 75 20 |e/territ|ory you |
|000059e0| 61 72 65 20 69 6e 2e 0a | 46 6f 72 20 65 78 61 6d |are in..|For exam|
|000059f0| 70 6c 65 2c 20 4d 69 63 | 68 69 67 61 6e 20 69 73 |ple, Mic|higan is|
|00005a00| 20 61 6e 20 65 78 63 65 | 70 74 69 6f 6e 20 74 6f | an exce|ption to|
|00005a10| 20 74 68 65 20 72 75 6c | 65 20 66 6f 72 20 31 39 | the rul|e for 19|
|00005a20| 36 39 2d 37 32 20 62 75 | 74 20 6e 6f 74 20 66 6f |69-72 bu|t not fo|
|00005a30| 72 0a 31 39 36 37 2d 36 | 38 2e 20 20 45 61 73 74 |r.1967-6|8. East|
|00005a40| 65 72 6e 20 49 6e 64 69 | 61 6e 61 20 69 73 20 61 |ern Indi|ana is a|
|00005a50| 6e 6f 74 68 65 72 20 74 | 72 69 63 6b 79 20 6f 6e |nother t|ricky on|
|00005a60| 65 20 66 6f 72 20 74 68 | 69 73 20 70 65 72 69 6f |e for th|is perio|
|00005a70| 64 2e 20 20 41 67 61 69 | 6e 2c 0a 6e 6f 74 65 20 |d. Agai|n,.note |
|00005a80| 74 68 61 74 20 74 68 69 | 73 20 69 73 20 2a 61 66 |that thi|s is *af|
|00005a90| 74 65 72 2a 20 74 68 65 | 20 27 36 36 20 41 63 74 |ter* the| '66 Act|
|00005aa0| 20 74 68 61 74 20 74 72 | 69 65 64 20 74 6f 20 73 | that tr|ied to s|
|00005ab0| 74 61 6e 64 61 72 64 69 | 7a 65 20 44 53 54 2e 0a |tandardi|ze DST..|
|00005ac0| 0a 3e 52 75 6c 65 09 4d | 6f 73 74 4e 41 09 31 39 |.>Rule.M|ostNA.19|
|00005ad0| 37 34 09 6f 6e 6c 79 09 | 2d 09 4a 61 6e 09 36 09 |74.only.|-.Jan.6.|
|00005ae0| 32 3a 30 30 09 31 3a 30 | 30 09 44 0a 3e 52 75 6c |2:00.1:0|0.D.>Rul|
|00005af0| 65 09 4d 6f 73 74 4e 41 | 09 31 39 37 34 09 6f 6e |e.MostNA|.1974.on|
|00005b00| 6c 79 09 2d 09 4e 6f 76 | 09 32 34 09 32 3a 30 30 |ly.-.Nov|.24.2:00|
|00005b10| 09 30 09 53 0a 0a 53 68 | 6f 75 6c 64 20 62 65 20 |.0.S..Sh|ould be |
|00005b20| 3d 3d 3d 3d 3e 20 20 20 | 20 20 20 20 20 20 20 20 |====> | |
|00005b30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 4f 63 | | Oc|
|00005b40| 74 20 20 20 20 20 32 37 | 0a 0a 3e 23 20 4e 65 77 |t 27|..># New|
|00005b50| 20 6e 61 6d 65 73 0a 3e | 5a 6f 6e 65 09 4e 65 77 | names.>|Zone.New|
|00005b60| 66 6f 75 6e 64 6c 61 6e | 64 09 2d 33 3a 33 30 09 |foundlan|d.-3:30.|
|00005b70| 2d 09 4e 53 54 09 23 20 | 49 73 20 44 53 54 20 6e |-.NST.# |Is DST n|
|00005b80| 6f 77 20 6f 62 73 65 72 | 76 65 64 20 68 65 72 65 |ow obser|ved here|
|00005b90| 3f 0a 09 09 09 09 09 09 | 3e 23 20 49 66 20 73 6f |?.......|># If so|
|00005ba0| 2c 20 77 68 65 6e 20 64 | 69 64 20 69 74 20 73 74 |, when d|id it st|
|00005bb0| 61 72 74 3f 0a 0a 4e 65 | 77 66 6f 75 6e 64 6c 61 |art?..Ne|wfoundla|
|00005bc0| 6e 64 20 6f 62 73 65 72 | 76 65 73 20 44 53 54 20 |nd obser|ves DST |
|00005bd0| 62 79 20 74 68 65 20 73 | 61 6d 65 20 72 75 6c 65 |by the s|ame rule|
|00005be0| 73 20 61 73 20 74 68 65 | 20 72 65 73 74 20 6f 66 |s as the| rest of|
|00005bf0| 20 43 61 6e 61 64 61 20 | 2d 2d 20 74 68 65 0a 6c | Canada |-- the.l|
|00005c00| 61 73 74 20 53 75 6e 64 | 61 79 20 69 6e 20 41 70 |ast Sund|ay in Ap|
|00005c10| 72 69 6c 20 74 6f 20 74 | 68 65 20 6c 61 73 74 20 |ril to t|he last |
|00005c20| 53 75 6e 64 61 79 20 69 | 6e 20 4f 63 74 6f 62 65 |Sunday i|n Octobe|
|00005c30| 72 2e 20 20 49 74 20 68 | 61 73 20 66 6f 6c 6c 6f |r. It h|as follo|
|00005c40| 77 65 64 20 74 68 69 73 | 0a 70 61 74 74 65 72 6e |wed this|.pattern|
|00005c50| 20 73 69 6e 63 65 20 31 | 39 35 31 2e 20 20 43 68 | since 1|951. Ch|
|00005c60| 61 6e 67 65 6f 76 65 72 | 20 74 69 6d 65 20 69 73 |angeover| time is|
|00005c70| 20 32 61 6d 2e 0a 0a 53 | 61 73 6b 61 74 63 68 65 | 2am...S|askatche|
|00005c80| 77 61 6e 20 69 73 20 61 | 6e 6f 74 68 65 72 20 6d |wan is a|nother m|
|00005c90| 61 74 74 65 72 2e 2e 2e | 70 61 72 74 20 69 6e 20 |atter...|part in |
|00005ca0| 45 53 54 3b 20 70 61 72 | 74 20 69 6e 20 43 53 54 |EST; par|t in CST|
|00005cb0| 20 77 68 69 63 68 20 64 | 6f 65 73 6e 27 74 20 75 | which d|oesn't u|
|00005cc0| 73 65 20 44 53 54 2e 0a | 0a 3e 23 20 4e 6f 6e 73 |se DST..|.># Nons|
|00005cd0| 74 61 6e 64 61 72 64 20 | 6d 61 69 6e 6c 61 6e 64 |tandard |mainland|
|00005ce0| 20 61 72 65 61 73 3a 0a | 0a 54 68 65 73 65 20 72 | areas:.|.These r|
|00005cf0| 75 6c 65 73 20 61 72 65 | 20 69 6d 70 6f 73 73 69 |ules are| impossi|
|00005d00| 62 6c 65 20 74 6f 20 66 | 6f 72 6d 75 6c 61 74 65 |ble to f|ormulate|
|00005d10| 2e 20 20 54 68 65 20 61 | 6d 61 7a 69 6e 67 20 76 |. The a|mazing v|
|00005d20| 61 72 69 65 74 79 20 6f | 66 0a 64 69 66 66 65 72 |ariety o|f.differ|
|00005d30| 65 6e 74 20 44 53 54 20 | 72 75 6c 65 73 20 6d 61 |ent DST |rules ma|
|00005d40| 6b 65 73 20 73 75 63 68 | 20 61 20 74 61 62 75 6c |kes such| a tabul|
|00005d50| 61 72 69 7a 69 6e 67 20 | 61 62 73 75 72 64 2e 20 |arizing |absurd. |
|00005d60| 20 54 68 65 20 72 75 6c | 65 73 20 76 61 72 79 0a | The rul|es vary.|
|00005d70| 62 79 20 73 74 61 74 65 | 2c 20 62 79 20 72 65 67 |by state|, by reg|
|00005d80| 69 6f 6e 73 20 77 69 74 | 68 69 6e 20 73 74 61 74 |ions wit|hin stat|
|00005d90| 65 73 2c 20 62 79 20 61 | 72 65 61 73 20 74 68 61 |es, by a|reas tha|
|00005da0| 74 20 68 61 76 65 20 6e | 6f 74 20 79 65 74 20 65 |t have n|ot yet e|
|00005db0| 76 65 6e 0a 62 65 65 6e | 20 61 64 6d 69 74 74 65 |ven.been| admitte|
|00005dc0| 64 20 74 6f 20 74 68 65 | 20 75 6e 69 6f 6e 2c 20 |d to the| union, |
|00005dd0| 62 79 20 63 6f 75 6e 74 | 79 2c 20 62 79 20 63 69 |by count|y, by ci|
|00005de0| 74 79 2c 20 61 6e 64 20 | 73 65 65 6d 69 6e 67 6c |ty, and |seemingl|
|00005df0| 79 20 62 79 20 77 68 69 | 6d 2e 0a 0a 3e 52 75 6c |y by whi|m...>Rul|
|00005e00| 65 09 53 6f 6d 65 55 53 | 09 31 39 31 38 09 31 39 |e.SomeUS|.1918.19|
|00005e10| 31 39 09 2d 09 4d 61 72 | 09 6c 61 73 74 53 75 6e |19.-.Mar|.lastSun|
|00005e20| 09 32 3a 30 30 09 31 3a | 30 30 09 44 0a 3e 52 75 |.2:00.1:|00.D.>Ru|
|00005e30| 6c 65 09 53 6f 6d 65 55 | 53 09 31 39 31 38 09 31 |le.SomeU|S.1918.1|
|00005e40| 39 31 39 09 2d 09 4f 63 | 74 09 6c 61 73 74 53 75 |919.-.Oc|t.lastSu|
|00005e50| 6e 09 32 3a 30 30 09 30 | 09 53 0a 3e 52 75 6c 65 |n.2:00.0|.S.>Rule|
|00005e60| 09 53 6f 6d 65 55 53 09 | 31 39 34 32 09 6f 6e 6c |.SomeUS.|1942.onl|
|00005e70| 79 09 2d 09 46 65 62 09 | 39 09 32 3a 30 30 09 31 |y.-.Feb.|9.2:00.1|
|00005e80| 3a 30 30 09 57 20 23 20 | 57 61 72 0a 3e 52 75 6c |:00.W # |War.>Rul|
|00005e90| 65 09 53 6f 6d 65 55 53 | 09 31 39 34 35 09 6f 6e |e.SomeUS|.1945.on|
|00005ea0| 6c 79 09 2d 09 53 65 70 | 09 33 30 09 32 3a 30 30 |ly.-.Sep|.30.2:00|
|00005eb0| 09 30 09 53 0a 3e 0a 3e | 5a 6f 6e 65 09 45 61 73 |.0.S.>.>|Zone.Eas|
|00005ec0| 74 2d 49 6e 64 69 61 6e | 61 09 2d 35 3a 30 30 09 |t-Indian|a.-5:00.|
|00005ed0| 53 6f 6d 65 55 53 09 45 | 25 73 54 20 23 20 55 73 |SomeUS.E|%sT # Us|
|00005ee0| 75 61 6c 6c 79 20 73 74 | 61 6e 64 61 72 64 20 6e |ually st|andard n|
|00005ef0| 65 61 72 20 53 6f 75 74 | 68 20 42 65 6e 64 0a 3e |ear Sout|h Bend.>|
|00005f00| 5a 6f 6e 65 09 41 72 69 | 7a 6f 6e 61 09 09 2d 37 |Zone.Ari|zona..-7|
|00005f10| 3a 30 30 09 53 6f 6d 65 | 55 53 09 4d 25 73 54 20 |:00.Some|US.M%sT |
|00005f20| 23 20 55 73 75 61 6c 6c | 79 20 73 74 61 6e 64 61 |# Usuall|y standa|
|00005f30| 72 64 20 69 6e 20 41 72 | 69 7a 6f 6e 61 0a 3e 0a |rd in Ar|izona.>.|
|00005f40| 3e 23 20 41 6e 64 20 74 | 68 65 6e 20 74 68 65 72 |># And t|hen ther|
|00005f50| 65 27 73 20 48 61 77 61 | 69 69 2e 0a 3e 52 75 6c |e's Hawa|ii..>Rul|
|00005f60| 65 09 48 61 77 61 69 69 | 09 31 39 34 37 09 6f 6e |e.Hawaii|.1947.on|
|00005f70| 6c 79 09 2d 09 4a 75 6e | 09 38 09 32 3a 30 30 09 |ly.-.Jun|.8.2:00.|
|00005f80| 30 09 53 0a 0a 54 68 65 | 20 69 6e 66 6f 72 6d 61 |0.S..The| informa|
|00005f90| 74 69 6f 6e 20 49 20 68 | 61 76 65 20 64 6f 65 73 |tion I h|ave does|
|00005fa0| 20 6e 6f 74 20 73 68 6f | 77 20 61 6e 79 20 44 53 | not sho|w any DS|
|00005fb0| 54 20 63 68 61 6e 67 65 | 73 20 69 6e 20 31 39 34 |T change|s in 194|
|00005fc0| 37 2e 20 20 44 53 54 20 | 77 61 73 0a 6e 6f 74 20 |7. DST |was.not |
|00005fd0| 6f 62 73 65 72 76 65 64 | 20 69 6e 20 74 68 65 20 |observed| in the |
|00005fe0| 70 65 72 69 6f 64 20 31 | 39 34 36 2d 70 72 65 73 |period 1|946-pres|
|00005ff0| 65 6e 74 2e 0a 0a 42 6f | 62 20 44 65 76 69 6e 65 |ent...Bo|b Devine|
|00006000| 0a 0a 56 6f 6c 75 6d 65 | 2d 4e 75 6d 62 65 72 3a |..Volume|-Number:|
|00006010| 20 56 6f 6c 75 6d 65 20 | 36 2c 20 4e 75 6d 62 65 | Volume |6, Numbe|
|00006020| 72 20 33 37 0a 0a 46 72 | 6f 6d 20 6a 73 71 20 20 |r 37..Fr|om jsq |
|00006030| 53 61 74 20 4a 75 6c 20 | 32 36 20 32 33 3a 33 35 |Sat Jul |26 23:35|
|00006040| 3a 35 30 20 31 39 38 36 | 0a 46 72 6f 6d 3a 20 73 |:50 1986|.From: s|
|00006050| 74 64 2d 75 6e 69 78 25 | 75 74 2d 73 61 6c 6c 79 |td-unix%|ut-sally|
|00006060| 2e 55 55 43 50 40 53 41 | 4c 4c 59 2e 55 54 45 58 |.UUCP@SA|LLY.UTEX|
|00006070| 41 53 2e 45 44 55 20 28 | 4d 6f 64 65 72 61 74 6f |AS.EDU (|Moderato|
|00006080| 72 2c 20 4a 6f 68 6e 20 | 51 75 61 72 74 65 72 6d |r, John |Quarterm|
|00006090| 61 6e 29 0a 4e 65 77 73 | 67 72 6f 75 70 73 3a 20 |an).News|groups: |
|000060a0| 6d 6f 64 2e 73 74 64 2e | 75 6e 69 78 0a 53 75 62 |mod.std.|unix.Sub|
|000060b0| 6a 65 63 74 3a 20 52 65 | 3a 20 74 69 6d 65 7a 6f |ject: Re|: timezo|
|000060c0| 6e 65 20 69 6d 70 6c 65 | 6d 65 6e 74 61 74 69 6f |ne imple|mentatio|
|000060d0| 6e 20 63 6f 6e 73 74 72 | 61 69 6e 74 73 0a 4d 65 |n constr|aints.Me|
|000060e0| 73 73 61 67 65 2d 49 64 | 3a 20 3c 35 34 32 32 40 |ssage-Id|: <5422@|
|000060f0| 75 74 2d 73 61 6c 6c 79 | 2e 55 55 43 50 3e 0a 4f |ut-sally|.UUCP>.O|
|00006100| 72 67 61 6e 69 7a 61 74 | 69 6f 6e 3a 20 49 45 45 |rganizat|ion: IEE|
|00006110| 45 20 31 30 30 33 20 50 | 6f 72 74 61 62 6c 65 20 |E 1003 P|ortable |
|00006120| 4f 70 65 72 61 74 69 6e | 67 20 53 79 73 74 65 6d |Operatin|g System|
|00006130| 20 66 6f 72 20 43 6f 6d | 70 75 74 65 72 20 45 6e | for Com|puter En|
|00006140| 76 69 72 6f 6e 6d 65 6e | 74 73 20 43 6f 6d 6d 69 |vironmen|ts Commi|
|00006150| 74 74 65 65 0a 44 61 74 | 65 3a 20 32 37 20 4a 75 |ttee.Dat|e: 27 Ju|
|00006160| 6c 20 38 36 20 30 34 3a | 33 35 3a 33 36 20 47 4d |l 86 04:|35:36 GM|
|00006170| 54 0a 44 72 61 66 74 2d | 39 3a 20 54 5a 0a 53 74 |T.Draft-|9: TZ.St|
|00006180| 61 74 75 73 3a 20 52 0a | 0a 46 72 6f 6d 3a 20 73 |atus: R.|.From: s|
|00006190| 75 6e 21 67 6f 72 6f 64 | 69 73 68 21 67 75 79 40 |un!gorod|ish!guy@|
|000061a0| 75 74 61 73 74 72 6f 2e | 55 55 43 50 20 28 47 75 |utastro.|UUCP (Gu|
|000061b0| 79 20 48 61 72 72 69 73 | 29 0a 44 61 74 65 3a 20 |y Harris|).Date: |
|000061c0| 53 61 74 2c 20 32 36 20 | 4a 75 6c 20 38 36 20 31 |Sat, 26 |Jul 86 1|
|000061d0| 37 3a 31 39 3a 30 38 20 | 50 44 54 0a 0a 3e 20 54 |7:19:08 |PDT..> T|
|000061e0| 68 69 73 20 69 73 20 72 | 65 61 6c 6c 79 20 6e 6f |his is r|eally no|
|000061f0| 74 20 64 69 72 65 63 74 | 6c 79 20 72 65 6c 61 74 |t direct|ly relat|
|00006200| 65 64 20 74 6f 20 49 45 | 45 45 20 31 30 30 33 2e |ed to IE|EE 1003.|
|00006210| 31 2c 20 73 69 6e 63 65 | 0a 3e 20 69 74 20 73 6f |1, since|.> it so|
|00006220| 6c 65 6c 79 20 64 69 73 | 63 75 73 73 65 73 20 74 |lely dis|cusses t|
|00006230| 68 65 20 64 65 74 61 69 | 6c 73 20 6f 66 20 61 6e |he detai|ls of an|
|00006240| 20 2a 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e | *implem|entation|
|00006250| 2a 20 61 6e 64 0a 3e 20 | 73 61 79 73 20 6e 6f 74 |* and.> |says not|
|00006260| 68 69 6e 67 20 61 62 6f | 75 74 20 74 68 65 20 2a |hing abo|ut the *|
|00006270| 69 6e 74 65 72 66 61 63 | 65 2a 2e 0a 0a 54 68 65 |interfac|e*...The|
|00006280| 72 65 20 69 73 20 6f 6e | 65 20 70 6f 69 6e 74 2c |re is on|e point,|
|00006290| 20 74 68 6f 75 67 68 2c | 20 74 68 61 74 20 69 73 | though,| that is|
|000062a0| 20 61 20 63 6f 6e 63 65 | 72 6e 20 6f 66 20 74 68 | a conce|rn of th|
|000062b0| 65 20 69 6e 74 65 72 66 | 61 63 65 3b 20 77 68 61 |e interf|ace; wha|
|000062c0| 74 20 74 69 6d 65 73 0a | 63 61 6e 20 22 6c 6f 63 |t times.|can "loc|
|000062d0| 61 6c 74 69 6d 65 22 20 | 63 6f 6e 76 65 72 74 20 |altime" |convert |
|000062e0| 61 6e 64 2c 20 6d 6f 72 | 65 20 67 65 6e 65 72 61 |and, mor|e genera|
|000062f0| 6c 6c 79 2c 20 77 68 61 | 74 20 74 69 6d 65 73 20 |lly, wha|t times |
|00006300| 63 61 6e 20 61 20 22 74 | 69 6d 65 5f 74 22 0a 72 |can a "t|ime_t".r|
|00006310| 65 70 72 65 73 65 6e 74 | 3f 20 20 54 68 65 20 50 |epresent|? The P|
|00006320| 31 30 30 33 2e 31 20 73 | 74 61 6e 64 61 72 64 20 |1003.1 s|tandard |
|00006330| 72 65 66 65 72 73 20 74 | 6f 20 74 68 65 20 64 65 |refers t|o the de|
|00006340| 66 69 6e 69 74 69 6f 6e | 20 6f 66 20 22 6c 6f 63 |finition| of "loc|
|00006350| 61 6c 74 69 6d 65 22 20 | 69 6e 0a 74 68 65 20 58 |altime" |in.the X|
|00006360| 33 4a 31 31 20 43 20 73 | 74 61 6e 64 61 72 64 2e |3J11 C s|tandard.|
|00006370| 20 20 54 68 61 74 20 73 | 74 61 6e 64 61 72 64 20 | That s|tandard |
|00006380| 64 6f 65 73 6e 27 74 20 | 73 61 79 20 61 6e 79 74 |doesn't |say anyt|
|00006390| 68 69 6e 67 20 61 62 6f | 75 74 20 74 68 65 20 6d |hing abo|ut the m|
|000063a0| 65 61 6e 69 6e 67 0a 6f | 66 20 74 68 65 20 76 61 |eaning.o|f the va|
|000063b0| 6c 75 65 20 72 65 74 75 | 72 6e 65 64 20 62 79 20 |lue retu|rned by |
|000063c0| 22 74 69 6d 65 22 2e 20 | 20 54 68 65 20 50 31 30 |"time". | The P10|
|000063d0| 30 33 2e 31 20 73 74 61 | 6e 64 61 72 64 20 64 65 |03.1 sta|ndard de|
|000063e0| 66 69 6e 65 73 20 69 74 | 20 61 73 20 55 4e 49 58 |fines it| as UNIX|
|000063f0| 0a 74 69 6d 65 2c 20 6e | 61 6d 65 6c 79 20 74 68 |.time, n|amely th|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.