On Fri, Jul 28, 2000, [EMAIL PROTECTED] wrote:
> I think that in pth_time.c in function pth_time_mul the line:
> t1->tv_usec = (t1->tv_usec & 1000000);
> should be:
> t1->tv_usec = (t1->tv_usec % 1000000);
>
> because I think the resulting usec would be the remainder of diving by 1000000
> not the product of anding with 1000000.
Ops, yes, you're right: the wrong operator was used.
Fixed for Pth 1.4a2 and 1.3.7. Thanks for your feedback.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
GNU Portable Threads (Pth) http://www.gnu.org/software/pth/
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager (Majordomo) [EMAIL PROTECTED]