[asterisk-bugs] [Asterisk 0013433]: [patch] 'core show sysinfo' on systems without HAVE_SYSINFO but with HAVE_SYSCTL

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Sep 6 18:43:23 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13433 
====================================================================== 
Reported By:                mvanbaak
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13433
Category:                   Core/General
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 141463 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-09-06 06:21 CDT
Last Modified:              2008-09-06 18:43 CDT
====================================================================== 
Summary:                    [patch] 'core show sysinfo' on systems without
HAVE_SYSINFO but with HAVE_SYSCTL
Description: 
OpenBSD for example has no HAVE_SYSINFO so 'core show sysinfo' is not
working there.
This patch add HAVE_SYSCTL and grabs the sysinfo with sysctl.
Tested on OpenBSD.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0013349 [patch] 'core show sysinfo' on systems ...
====================================================================== 

---------------------------------------------------------------------- 
 (0092153) mvanbaak (manager) - 2008-09-06 18:43
 http://bugs.digium.com/view.php?id=13433#c92153 
---------------------------------------------------------------------- 
What call ? As far as I can see I detect wether we have sysctl support or
not.

The function for the swap usage is written under the 2-clause BSD license,
so we can use it without trouble. All they want is their name in the code
and that is what I did. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-06 18:43 mvanbaak       Note Added: 0092153                          
======================================================================




More information about the asterisk-bugs mailing list