TIP: Click on subject to list as thread! ANSI
echo: net_dev
to: mark lewis
from: Ramon van der Winkel
date: 1996-11-07 20:45:52
subject: Date correction discussion

mark lewis wrote in a message to Ramon van der Winkel:

 ml> try this one instead... this is how that same message
 ml> appeared when it arrived here after travelling thru 6
 ml> systems... at least one of them is using software that
 ml> cannot convert the time/date stamp correctly and also passes
 ml> converted stuff down the pipe instead of unaltered copies...

 ml> 03 Aug 96 20:48

After running this through FidoCorrectDate(), I get "03 Aug 96 
20:48:00". No problem for WaterGate!

 RvdW> This is what I do: I do the date checking and conversion when I
 RvdW> read the messag from a .PKT file. I store the corrected format and
 RvdW> this reduces the requirements on the rest of the code. If I happen
 RvdW> to write the message out again, then I use the corrected format.
 RvdW> This will be the same format in 99% of the cases and a corrected
 RvdW> format in the rest of the cases.

 ml> i still don't understand... "reduced requirements" ?? hunh?

WaterGate is a gateway towards the Internet as well. .PKT is just one of
the ways a message can arrive for processing. If I make sure that input
stream is clean, then my date conversion code won't stumble on invalid
formats and as a result maybe produce an invalid date format in another
network. Regard the Internet, that might mean the message gets trashed!

 ml> for local storage, do whatever... for passing on down the
 ml> line, simple reading and writting of unaltered bytes is all
 ml> that's needed other than the minor seen-by, path, and header
 ml> net/node changes... nothing else should be altered from the
 ml> original IF the mail mangler is going to pass the message on
 ml> down the line. 

We'll leave it for discussion by others.

 ml> if the above paragraph was in use everywhere, then the above
 ml> hex dump would not happen!!! think about that! convert
 ml> nothing, alter only what is necessary, pass on conforming
 ml> stuff and sideline/bounce non-conforming stuff... 

I can extra ", pass on conforming stuff". That's exactly what I
was trying to do, right?

Ramon

--- WtrGate+ 0.92.p3-d gamma sn 1
* Origin: Optimization hinders evolution (1:320/42.46)
SEEN-BY: 13/13 16/320 37/100 50/99 102/735 105/103 119/88 129/11 138/146
SEEN-BY: 153/800 920 157/586 167/90 200/204 201/505 203/512 992 204/200
SEEN-BY: 209/720 7211 239/1 245/6910 260/742 261/1137 270/101 102 103 104 211
SEEN-BY: 272/160 280/1 801 282/1 4073 283/657 292/511 876 320/1 42 118 119
SEEN-BY: 320/400 2600 321/1 332/1 334/201 341/70 1002 344/3 345/12 348/105
SEEN-BY: 362/37 367/1 385/100 387/31 396/1 402/311 403/150 405/0 406/100
SEEN-BY: 430/105 440/1 600/348 620/243 626/660 632/348 640/206 230 305 820
SEEN-BY: 640/821 822 823 700/101 711/409 410 413 430 808 809 934 712/515
SEEN-BY: 713/317 724/10 800/1 2002/2002 2430/1423 2433/225 2602/100 2604/104
SEEN-BY: 2613/5 2624/306 2630/1001 3401/308 3611/18 3615/7 7104/2
@PATH: 320/42 119 270/101 209/720 640/820 711/409 808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.