[asterisk-bugs] [Asterisk 0015851]: [patch] res_limit.c: refinition of _XOPEN_SOURCE

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 8 10:31:25 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15851 
====================================================================== 
Reported By:                tzafrir
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15851
Category:                   Resources/res_limit
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 216991 
Request Review:              
====================================================================== 
Date Submitted:             2009-09-08 08:50 CDT
Last Modified:              2009-09-08 10:31 CDT
====================================================================== 
Summary:                    [patch] res_limit.c: refinition of _XOPEN_SOURCE
Description: 
   [CC] res_limit.c -> res_limit.o
res_limit.c:26:1: error: "_XOPEN_SOURCE" redefined
In file included from /usr/include/inttypes.h:26,
                 from
/usr/src/asterisk/oreka/include/asterisk/compat.h:29,
                 from /usr/src/asterisk/oreka/include/asterisk.h:27,
                 from res_limit.c:22:
/usr/include/features.h:160:1: error: this is the location of the previous
definition
make[1]: *** [res_limit.o] Error 1
make: *** [res] Error 2
====================================================================== 

---------------------------------------------------------------------- 
 (0110319) svnbot (reporter) - 2009-09-08 10:31
 https://issues.asterisk.org/view.php?id=15851#c110319 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 217033

U   trunk/res/res_limit.c

------------------------------------------------------------------------
r217033 | tilghman | 2009-09-08 10:31:24 -0500 (Tue, 08 Sep 2009) | 4
lines

Remove what appears to be an unnecessary define.
(closes issue https://issues.asterisk.org/view.php?id=15851)
 Reported by: tzafrir

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-08 10:31 svnbot         Checkin                                      
2009-09-08 10:31 svnbot         Note Added: 0110319                          
======================================================================




More information about the asterisk-bugs mailing list