[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
Tue Dec 16 14:08:31 CST 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:                     ready for review
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-12-16 14:08 CST
====================================================================== 
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 ...
====================================================================== 

---------------------------------------------------------------------- 
 (0096475) svnbot (reporter) - 2008-12-16 14:08
 http://bugs.digium.com/view.php?id=13433#c96475 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 164802

U   trunk/configure
U   trunk/configure.ac
U   trunk/include/asterisk/autoconfig.h.in
U   trunk/main/asterisk.c

------------------------------------------------------------------------
r164802 | mvanbaak | 2008-12-16 14:08:30 -0600 (Tue, 16 Dec 2008) | 10
lines

introduce 'core show sysinfo' for systems that dont have the Linux-ish
sysinfo stuff but do have sysctl.

(closes issue http://bugs.digium.com/view.php?id=13433)
Reported by: mvanbaak
Patches:
      2008121300_sysinfosysctl.diff.txt uploaded by mvanbaak (license 7)
	  with two free calls replaced with ast_free based on feedback on
reviewboard
Review:
      http://reviewboard.digium.com/r/91/

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-16 14:08 svnbot         Checkin                                      
2008-12-16 14:08 svnbot         Note Added: 0096475                          
======================================================================




More information about the asterisk-bugs mailing list