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

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

---------------------------------------------------------------------- 
 (0108547) svnbot (reporter) - 2009-08-03 11:11
 https://issues.asterisk.org/view.php?id=15639#c108547 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 210066

U   branches/1.4/apps/app_playback.c
U   branches/1.4/channels/chan_oss.c
U   branches/1.4/configure
U   branches/1.4/configure.ac
U   branches/1.4/funcs/func_cut.c
U   branches/1.4/include/asterisk/autoconfig.h.in
U   branches/1.4/include/asterisk/compat.h
U   branches/1.4/main/asterisk.exports
U   branches/1.4/main/strcompat.c

------------------------------------------------------------------------
r210066 | tilghman | 2009-08-03 11:11:45 -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=210066 

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




More information about the asterisk-bugs mailing list