Article View: comp.protocols.time.ntp
Article #982bug in util/tickadj.c on MIPS RISCos
From: Lars Henrik Mathiesen
Date: Wed, 06 Jan 1993 08:53
Date: Wed, 06 Jan 1993 08:53
24 lines
1577 bytes
1577 bytes
Guntram, I am not quite sure what has happened in the tickadj source, but in my older copy that error message is inside '#ifdef sun' --- in fact, on non-Suns it gives an error if you use the -p option. I am almost certain that this is _not_ a local change. There is a considerable amount of unnecessarily complex AUX hackery involving the kernel namelist. I do not see the why there has to be a differently named, but essentially identical list of offsets to use with the AUX namelist --- it just leaves out K_DOSYNC and K_NOPRINTF, and includes an **unused** X_V. The static initializer evidently works, so why not just use '#ifdef' to get the right names in there? There is no harm in looking for extra stuff, and if the "v" variable really is necessary, it can be added to the global list and ignored on all other systems. Could the person that sent in the AUX changes enlighten us as to the reasons? And where did the '#ifdef sun's go? Can anybody confirm, by the way, that frobbing the kernel _noprintf variable is interesting iff defined(sun)? Lars Mathiesen (U of Copenhagen CS Dep) <thorinn@diku.dk> (Humour NOT marked)
Technical Details
Message-ID:
<9301060853.AA17932@tyr.diku.dk>Path:
arc1-ca.pugleaf.net!sparky!uunet!olivea!spool.mu.edu!agate!ucbvax!DIKU.DK!thorinnReferences:
<9301060102.AA18395@seidc.sei.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!spool.mu.edu!agate!ucbvax!DIKU.DK!thorinn From: thorinn@DIKU.DK (Lars Henrik Mathiesen) Newsgroups: comp.protocols.time.ntp Subject: bug in util/tickadj.c on MIPS RISCos Message-ID: <9301060853.AA17932@tyr.diku.dk> Date: 6 Jan 93 08:53:12 GMT References: <9301060102.AA18395@seidc.sei.com> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 24