On Fri, May 02, 2014 at 09:26:02AM +0100, Sami Kerola wrote: > On 2 May 2014 03:52, Alexander Samilovskih <alexsamilovskih@xxxxxxxxx> wrote: > > There are several places where gettimeofday should be replaced by > > clock_gettime(CLOCK_MONOTONIC_RAW). According to manual pages > > gettimeofday affected by discontinues jumps made by system > > administrator, can be slewed by ntpd or kinda stuff. So when we > > subtract two different timestamps from gettimeofday we can get > > confusing results > > > > sys-utils/eject.c > > libmount/lock.c > > maybe some other places... > > Hi Alexander, > > The diff you sent does not seem to work. > > fatal: corrupt patch at line 123 > > The format you get from > > $ git format-patch HEAD~1 > > would be appreciated. It seems Alexander does not care anymore, so I have fixed and applied the patch. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html