diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-05-25 18:34:46 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-05-25 18:34:46 +0000 |
commit | dc542b5742da70098945177e530f9ac54653a419 (patch) | |
tree | 7f98e886f7a727c55529d484661f29fa7c005686 /libc/sysdeps/linux/arm/bits/wordsize.h | |
parent | 7dfbb9a92900ae20453b8fb8f18cfe33f7a9d5c7 (diff) |
Jean-Christian de Rivaz writes:
I actually suspect this code into the file uClibc/libc/sysdeps/linux/common/poll.c:
tval.tv_nsec = (timeout % 1000) *1000; <==== make only usec!
From milisecond this really needs a * 1000000 to make nanosecond. Without this
a 1100 milisecond timeout is converted into a 1 seconde and 100 microsecond
timeout! This can explain the weird result of the test code.
Diffstat (limited to 'libc/sysdeps/linux/arm/bits/wordsize.h')
0 files changed, 0 insertions, 0 deletions