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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Sep 10 19:13:59 CDT 2010


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17975 
====================================================================== 
Reported By:                oej
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17975
Category:                   Core/Portability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
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:              
====================================================================== 
Date Submitted:             2010-09-09 15:05 CDT
Last Modified:              2010-09-10 19:13 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
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-10 19:13 russell        Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list