Re: clock scan (once again)



Kevin Kenny <kennykb@xxxxxxx> wrote:
Andreas Leitgeb wrote:
This doesn't address the question, why "clock scan" was changed
to *not* do the right thing anymore in that particular case, which
to me seems highly orthogonal to all the restructuring.
(correct me if I'm wrong here!)
Uhm, because it's a bug?

I vaguely remembered some discussion about this change in clock scan,
(but wasn't able to find it in google for clock scan groups:comp.lang.tcl)
That's why I didn't really hold on to the "bug"-hypothesis. :-)

I'd have to review both the 8.4 code and the 8.4 documentation
(and maybe go back even further) to decide whether it's an 8.4
bug that I fixed, or an 8.5 bug that I introduced. At the moment,
I suspect that it's the latter.
I hope for the latter, of course, now that it bit me.

8.5 docu says (section FREE FORM SCAN):
"If the -base flag is specified, the next argument should contain an
integer clock value. Only the date in this value is used, not
the time. This is useful for determining the time on a specific
day or doing other date-relative conversions."

This doesn't really make sense to me, because it isn't always true:
unless >=day-units are added, the time *is* taken from the base,
and even more it seems to contradict the last sentence of this
quotation.

Don't assume malice where incompetence is an adequate explanation.

Malice isn't the only alternative to incompetence in this scenario,
afterall. There could have existed other reasons for changing, even
if I deny the possibility of those :-)
.



Relevant Pages

  • Re: CE 5.0, TIMESVC fails to set clock back to correct time
    ... I will open up a documentation bug so that people know to get their clocks ... Microsoft Corporation ... This posting is provided "AS IS" with no warranties, and confers no rights. ... > Also be aware this may be some sort of protol limitation, as in the clock ...
    (microsoft.public.windowsce.platbuilder)
  • Re: CE 5.0, TIMESVC fails to set clock back to correct time
    ... I have followed your repro steps and see the same bug that you do. ... The real time clocks on systems that we test ... This posting is provided "AS IS" with no warranties, and confers no rights. ... > It seems to depend how far the clock is wrong. ...
    (microsoft.public.windowsce.platbuilder)
  • Prospector 0.1.5
    ... eaten by aliens. ... Docking on first turn doesn'cost money anymore ... Fixed a bug with special tiles on planet surface (Couldnt enter ...
    (rec.games.roguelike.announce)
  • Re: C Slower than Python?
    ... char * a = NULL; ... char * buf = NULL; ... I hardly ever use clock so I looked it up. ... Memory leak (i.e. the real big bug I spotted). ...
    (comp.lang.c)
  • Re: clock suddenly slipping behind
    ... >> calibrate the hardware clock off a faulty software clock). ... >> just keep working forwards and backwards until you trigger the bug ... > ii adjtimex 1.18-1.1 ... and see if i still notice a drift at the end of the day ...
    (Debian-User)