[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
Sun Oct 17 13:41:28 CDT 2010


The following issue has been ASSIGNED. 
====================================================================== 
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:                     assigned
JIRA:                       DAHDI-741 
Reviewboard Link:            
====================================================================== 
Date Submitted:             2010-02-06 08:37 CST
Last Modified:              2010-10-17 13:41 CDT
====================================================================== 
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".

====================================================================== 

---------------------------------------------------------------------- 
 (0128131) svnbot (reporter) - 2010-10-17 13:41
 https://issues.asterisk.org/view.php?id=16783#c128131 
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 9426

U   tools/trunk/autoconfig.h.in
U   tools/trunk/configure
U   tools/trunk/configure.ac
U   tools/trunk/xpp/astribank_is_starting.c

------------------------------------------------------------------------
r9426 | tzafrir | 2010-10-17 13:41:26 -0500 (Sun, 17 Oct 2010) | 9 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

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

http://svn.digium.com/view/dahdi?view=rev&revision=9426 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-17 13:41 svnbot         Note Added: 0128131                          
2010-10-17 13:41 svnbot         Status                   ready for review =>
assigned
2010-10-17 13:41 svnbot         Assigned To               => tzafrir         
======================================================================




More information about the asterisk-bugs mailing list