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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 3 11:16:56 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:                     closed
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 11:16 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0108549) svnbot (reporter) - 2009-08-03 11:16
 https://issues.asterisk.org/view.php?id=15639#c108549 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 210068

_U  trunk/

------------------------------------------------------------------------
r210068 | tilghman | 2009-08-03 11:16:55 -0500 (Mon, 03 Aug 2009) | 20
lines

Blocked revisions 210064-210066 via svnmerge

........
  r210064 | tilghman | 2009-08-03 10:39:41 -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
........
  r210065 | tilghman | 2009-08-03 10:42:10 -0500 (Mon, 03 Aug 2009) | 3
lines
  
  Helps if we export the index() function.
  (Related to issue https://issues.asterisk.org/view.php?id=15639)
........
  r210066 | tilghman | 2009-08-03 11:11:29 -0500 (Mon, 03 Aug 2009) | 3
lines
  
  Reverting index() fix, applying a different methodology, based upon
developer discussions.
  (related to issue https://issues.asterisk.org/view.php?id=15639)
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-03 11:16 svnbot         Checkin                                      
2009-08-03 11:16 svnbot         Note Added: 0108549                          
======================================================================




More information about the asterisk-bugs mailing list