[PD-dev] [ pure-data-Patches-1862148 ] [bugfix] setitimer invalid timeval

SourceForge.net noreply at sourceforge.net
Mon Jan 14 19:37:37 CET 2008


Patches item #1862148, was opened at 2008-01-02 04:41
Message generated for change (Comment added) made by millerpuckette
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1862148&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: IOhannes m zmölnig (zmoelnig)
Assigned to: Miller Puckette (millerpuckette)
Summary: [bugfix] setitimer invalid timeval

Initial Comment:
as described by claude in bug#1841758
(https://sourceforge.net/tracker/index.php?func=detail&aid=1841758&group_id=55736&atid=478070)
there is a small bug in the use of setitimer() in sys_setalarm().

the problem is, that the setitimer() API has changed in order to be POSIX-conformant and Pd has not yet adapated to this change.

the attached patch fixes the problem, by splitting the given "microsec" value into seconds and microseconds.

----------------------------------------------------------------------

>Comment By: Miller Puckette (millerpuckette)
Date: 2008-01-14 10:37

Message:
Logged In: YES 
user_id=313747
Originator: NO

taken.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1862148&group_id=55736




More information about the Pd-dev mailing list