Messages in this thread | | | Date | Thu, 10 Jan 2013 12:27:45 -0800 | From | John Stultz <> | Subject | Re: [PATCH] posix-timers: Fix clock_adjtime to return timex data on success |
| |
On 01/10/2013 12:12 PM, Richard Cochran wrote: > On Thu, Jan 10, 2013 at 06:12:02PM +0100, Miroslav Lichvar wrote: >> Copy the modified timex data back to the user also with positive return >> values. This fixes reading of the CLOCK_REALTIME timex data when the >> clock is in a non-zero state. >> >> Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com> > Acked-by: Richard Cochran <richardcochran@gmail.com> > > (Adding John Stultz on CC)
Just to clarify (the commit message makes it pretty hard to understand exactly what's going wrong), this is to handle the case where clock_adj() returns a non-zero time_state value (such as TIME_INS) ?
thanks -john
| |