[asterisk-bugs] [Asterisk 0015639]: [patch] compilation fails in systems without index()

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 3 08:54:19 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15639 
====================================================================== 
Reported By:                nmav
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15639
Category:                   Functions/func_cut
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.26 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-08-03 08:52 CDT
Last Modified:              2009-08-03 08:54 CDT
====================================================================== 
Summary:                    [patch] compilation fails in systems without index()
Description: 
I use asterisk in a uclibc system without the index() and rindex()
functions and compilation fails. Those functions have been replaced by
strchr and strrchr.
====================================================================== 

---------------------------------------------------------------------- 
 (0108536) nmav (reporter) - 2009-08-03 08:54
 https://issues.asterisk.org/view.php?id=15639#c108536 
---------------------------------------------------------------------- 
The attached patch fixes the problem for me (is for an earlier asterisk but
applies as well to 1.4.26). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-03 08:54 nmav           Note Added: 0108536                          
======================================================================




More information about the asterisk-bugs mailing list