[asterisk-bugs] [DAHDI-tools 0016783]: [patch] DAHDI 2.2.1, XPP and astribank_is_starting.c uses semtimedop() which is not supported in our uClibc.
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Feb 8 06:42:44 CST 2011
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16783
======================================================================
Reported By: abelbeck
Assigned To: tzafrir
======================================================================
Project: DAHDI-tools
Issue ID: 16783
Category: General
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
JIRA: DAHDI-741
Reviewboard Link:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2010-02-06 08:37 CST
Last Modified: 2011-02-08 06:42 CST
======================================================================
Summary: [patch] DAHDI 2.2.1, XPP and astribank_is_starting.c
uses semtimedop() which is not supported in our uClibc.
Description:
DAHDI 2.2.1, XPP and astribank_is_starting.c uses semtimedop() which is not
supported in our uClibc.
I emailed an inquiry to Tzafrir Cohen, asking if semop() could be used
instead of semtimedop() without a timeout. Tzafrir noted that the (-t)
timout option in astribank_is_starting is not longer used, so his response
was "go for it".
======================================================================
----------------------------------------------------------------------
(0131657) svnbot (reporter) - 2011-02-08 06:42
https://issues.asterisk.org/view.php?id=16783#c131657
----------------------------------------------------------------------
Repository: dahdi
Revision: 9736
_U tools/branches/2.4/
U tools/branches/2.4/autoconfig.h.in
U tools/branches/2.4/configure
U tools/branches/2.4/configure.ac
U tools/branches/2.4/xpp/astribank_is_starting.c
------------------------------------------------------------------------
r9736 | tzafrir | 2011-02-08 06:42:44 -0600 (Tue, 08 Feb 2011) | 12 lines
astribank_is_starting: use semop if no semtimedop
astribank_is_starting should use a timeout for the semaphore, but if the
GNU-specific semtimedop() is not available, we'll just fall back to using
semop with no time out. Not as good, but better than nothing.
(closes issue https://issues.asterisk.org/view.php?id=16783)
Reported by: abelbeck
Merged revisions 9426 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
------------------------------------------------------------------------
http://svn.digium.com/view/dahdi?view=rev&revision=9736
Issue History
Date Modified Username Field Change
======================================================================
2011-02-08 06:42 svnbot Checkin
2011-02-08 06:42 svnbot Note Added: 0131657
======================================================================
More information about the asterisk-bugs
mailing list