[asterisk-bugs] [Asterisk 0017975]: strndup doesn't exist on mac os/X

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Sep 11 03:17:21 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17975 
====================================================================== 
Reported By:                oej
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   17975
Category:                   Core/Portability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 285741 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-09-09 15:05 CDT
Last Modified:              2010-09-11 03:17 CDT
====================================================================== 
Summary:                    strndup doesn't exist on mac os/X
Description: 
   [LD] res_phoneprov.o -> res_phoneprov.so
   [CC] res_realtime.c -> res_realtime.o
In file included from
/usr/local/src/asterisk.svn/set-tonezone-trunk/include/asterisk/select.h:28,
                 from
/usr/local/src/asterisk.svn/set-tonezone-trunk/include/asterisk/poll-compat.h:82,
                 from
/usr/local/src/asterisk.svn/set-tonezone-trunk/include/asterisk/compat.h:73,
                 from
/usr/local/src/asterisk.svn/set-tonezone-trunk/include/asterisk.h:27,
                 from res_realtime.c:30:
/usr/local/src/asterisk.svn/set-tonezone-trunk/include/asterisk/utils.h:
In function '_ast_strndup':
/usr/local/src/asterisk.svn/set-tonezone-trunk/include/asterisk/utils.h:559:
warning: implicit declaration of function 'strndup'
/usr/local/src/asterisk.svn/set-tonezone-trunk/include/asterisk/utils.h:559:
warning: incompatible implicit declaration of built-in function 'strndup
====================================================================== 

---------------------------------------------------------------------- 
 (0126853) oej (manager) - 2010-09-11 03:17
 https://issues.asterisk.org/view.php?id=17975#c126853 
---------------------------------------------------------------------- 
Already fixed. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-11 03:17 oej            Note Added: 0126853                          
2010-09-11 03:17 oej            Status                   feedback => resolved
2010-09-11 03:17 oej            Resolution               open => fixed       
2010-09-11 03:17 oej            Assigned To               => oej             
2010-09-11 03:17 oej            Status                   resolved => closed  
======================================================================




More information about the asterisk-bugs mailing list