[asterisk-bugs] [Asterisk 0018384]: [patch] main/asterisk.c compile errors

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Nov 27 04:26:24 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18384 
====================================================================== 
Reported By:                bjm
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18384
Category:                   Core/Portability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.8 
SVN Revision (number only!): 296354 
Request Review:              
====================================================================== 
Date Submitted:             2010-11-26 15:32 CST
Last Modified:              2010-11-27 04:26 CST
====================================================================== 
Summary:                    [patch] main/asterisk.c compile errors
Description: 
Compiling on OpenBSD results in

asterisk.c:1209: error: 'struct ucred' has no member named 'uid'
asterisk.c:1210: error: 'struct ucred' has no member named 'gid'

OpenBSD uses cr_uid and cr_gid instead.

====================================================================== 

---------------------------------------------------------------------- 
 (0129173) tilghman (administrator) - 2010-11-27 04:26
 https://issues.asterisk.org/view.php?id=18384#c129173 
---------------------------------------------------------------------- 
The way we prefer to do this is to check for the actual functionality,
instead of using the incidental property of the operating system name. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-27 04:26 tilghman       Note Added: 0129173                          
======================================================================




More information about the asterisk-bugs mailing list