Traduisez - Übersetzen - Traduzca - Traduza - Tradurre - Translate

VanLUG Email Archive

Re: Y2K simulation


Mon, 3 Jan 2000 19:24:43 -0800 (PST)

Hey'

FileRunner fix:

From: Henrik Harmsen <
>

> That was rather funny :-) You just had to be called Murphy and your job
> just had to be going around braking things? :-)

> This should fix it:

$ diff ext.c.old ext.c
128c128
< time_s->tm_year, time_s->tm_hour, time_s->tm_min,
time_s->tm_sec);

---
>           time_s->tm_year % 100, time_s->tm_hour, time_s->tm_min,
time_s->tm_sec);
130c130
<     sprintf(interp->result, "%02d%02d%02d %02d:%02d:%02d",
time_s->tm_year, time_s->tm_mon+1,
---
>     sprintf(interp->result, "%02d%02d%02d %02d:%02d:%02d", time_s->tm_year
% 100, time_s->tm_mon+1,

> Thanks. > > -- Henrik

The environment canada webpage (tip of the hat to Jay):

From: "Morais,Pierre-Yves [PYR]" <
>

> I'll note the change to be made. And thanks for the Linux Y2K > background too. I have two or three Red Hat 5.1 systems which will also need > to be looked at Y2K-wise. > > Again, thank you. It is nice to get this kind of helpful feedback > once in a while. > > Take care! > Pierre-Yves

Murphy

Y2k simulation in progress... all systems nominal. ---broken: FileRunner - fix: time_s->tm_year | time_s->tm_year % 100