7 Commits
6 changed files with 10 additions and 4 deletions

No files matched your search

+6
View File
@@ -4,6 +4,12 @@ Fork of hyperic/sigar with some fixes. Support only ruby binding. Part of [Eye g
## Fixed: ## Fixed:
### [2.0.9] 28-06-2021
* Fix compilation on FreeBSD 13 [#8](https://github.com/kostya/sigar/issues/10)([commit](https://github.com/kostya/sigar/commit/b78b558fb756a75dc7d6cbf704423be3c7098ae5))
### [2.0.8] 02-10-2020
* Fix compilation on MacOS [#8](https://github.com/kostya/sigar/issues/8)([commit](https://github.com/kostya/sigar/pull/9/commits/ad39547629fa328e115f7d7bc3c7c358247d1961))
### [2.0.6] 18-01-2019 ### [2.0.6] 18-01-2019
* Fix compilation on FreeBSD 12 [#6](https://github.com/kostya/sigar/issues/6)([commit](https://github.com/kostya/sigar/commit/2bb67fa1bf6f6f0ddc2626cf028bcc0e4a8cb377)) * Fix compilation on FreeBSD 12 [#6](https://github.com/kostya/sigar/issues/6)([commit](https://github.com/kostya/sigar/commit/2bb67fa1bf6f6f0ddc2626cf028bcc0e4a8cb377))
-1
View File
@@ -27,7 +27,6 @@ spec = Gem::Specification.new do |s|
s.email = props['project.email'] s.email = props['project.email']
s.homepage = props['project.homepage'] s.homepage = props['project.homepage']
s.platform = Gem::Platform::RUBY s.platform = Gem::Platform::RUBY
s.has_rdoc = false
s.extensions = 'bindings/ruby/extconf.rb' s.extensions = 'bindings/ruby/extconf.rb'
s.files = s.files =
%w(LICENSE NOTICE README.md Rakefile version.properties) + %w(LICENSE NOTICE README.md Rakefile version.properties) +
+1
View File
@@ -24,6 +24,7 @@
#endif #endif
#include <errno.h> #include <errno.h>
#include <ctype.h>
#include "sigar.h" #include "sigar.h"
#include "sigar_fileinfo.h" #include "sigar_fileinfo.h"
#include "sigar_format.h" #include "sigar_format.h"
+1 -1
View File
@@ -4,7 +4,7 @@
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = "kostya-sigar" s.name = "kostya-sigar"
s.version = "2.0.2" s.version = "2.0.9"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib"] s.require_paths = ["lib"]
+1 -1
View File
@@ -1965,7 +1965,7 @@ int sigar_proc_fd_get(sigar_t *sigar, sigar_pid_t pid,
free(ofiles); free(ofiles);
#else #else
/* seems the same as the above */ /* seems the same as the above */
procfd->total = filed.fd_lastfile; procfd->total = filed.fd_nfiles;
#endif #endif
return SIGAR_OK; return SIGAR_OK;
+1 -1
View File
@@ -1,7 +1,7 @@
copyright.year=2004-2011 copyright.year=2004-2011
version.major=2 version.major=2
version.minor=0 version.minor=0
version.maint=6 version.maint=9
version.build=0 version.build=0
project.name=kostya-sigar project.name=kostya-sigar
project.author=Doug MacEachern project.author=Doug MacEachern