lkml.org 
[lkml]   [1999]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: RFD: nanoseconds in the kernel, POSIX.4, cleanups
On 16 Feb 99, at 13:42, Oliver Xymoron wrote:

> On Tue, 16 Feb 1999, Ulrich Windl wrote:
>
> > Is anybody interested in helping me or testing this very experimental
> > stuff soon? (Together with other changes made for the NTPv4 clock
> > model, binary compatibility with old executables had to be broken:
> > especially adjtime() and ADJ_OFFSET_SINGLESHOT occupy a different bit
> > position now, causing the old adjtime() to be a no-op. I took the
> > chance to cleanup the whole mess.)
>
> Are you sure this is really necessary? Isn't this something glibc could
> hide?

Specifically "ADJ_OFFSET_SINGLESHOT" does no longer exist. It's
"ADJ_ADJTIME" now, because it really does an adjtime(). Of course
glibc can hide it. The reason for the change is: The old bitmask had
two bits set while the new one only has a single bit. This allows a
different test. If you don't look at the code closely, you might
break something. When the old name is gone, you'll have too look at
the places where it was used.

Regards,
Ulrich


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.026 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site