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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 3 10:39:57 CDT 2009


The following issue has been RESOLVED. 
====================================================================== 
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:                     resolved
Asterisk Version:           1.4.26 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-08-03 08:52 CDT
Last Modified:              2009-08-03 10:39 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0108542) svnbot (reporter) - 2009-08-03 10:39
 https://issues.asterisk.org/view.php?id=15639#c108542 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 210064

U   branches/1.4/configure
U   branches/1.4/configure.ac
U   branches/1.4/include/asterisk/autoconfig.h.in
U   branches/1.4/main/strcompat.c

------------------------------------------------------------------------
r210064 | tilghman | 2009-08-03 10:39:57 -0500 (Mon, 03 Aug 2009) | 4
lines

Apparently, some platforms don't have the index() function.
(closes issue https://issues.asterisk.org/view.php?id=15639)
 Reported by: nmav

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

http://svn.digium.com/view/asterisk?view=rev&revision=210064 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-03 10:39 svnbot         Checkin                                      
2009-08-03 10:39 svnbot         Note Added: 0108542                          
2009-08-03 10:39 svnbot         Status                   assigned => resolved
2009-08-03 10:39 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list