win32-eventlog 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +7 -0
- data/lib/win32/eventlog.rb +3 -2
- data/test/tc_eventlog.rb +1 -1
- data/win32-eventlog.gemspec +1 -1
- metadata +2 -2
data/CHANGES
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
= 0.4.6 - 27-Aug-2007
|
2
|
+
* Reading event logs is now approximately 5-7 times faster!
|
3
|
+
* Fixed a potential bug where, in rare cases, event descriptions could be
|
4
|
+
overwritten by other event descriptions.
|
5
|
+
* Fixed a bug where, in unusual cases, there was leading garbage in the
|
6
|
+
event descriptions.
|
7
|
+
|
1
8
|
= 0.4.5 - 25-Aug-2007
|
2
9
|
* Fixed two potential issues where reading from remote event log sources
|
3
10
|
could fail either due to permissions (reading DLL's) or because local
|
data/lib/win32/eventlog.rb
CHANGED
@@ -37,7 +37,7 @@ module Win32
|
|
37
37
|
extend Windows::Error
|
38
38
|
extend Windows::Registry
|
39
39
|
|
40
|
-
VERSION = '0.4.
|
40
|
+
VERSION = '0.4.6'
|
41
41
|
|
42
42
|
# Aliased read flags
|
43
43
|
FORWARDS_READ = EVENTLOG_FORWARDS_READ
|
@@ -693,7 +693,7 @@ module Win32
|
|
693
693
|
if num == 0
|
694
694
|
va_list_ptr = 0.chr * 4
|
695
695
|
else
|
696
|
-
va_list = str.
|
696
|
+
va_list = str.unpack('Z*' * num)
|
697
697
|
va_list_ptr = va_list.map{ |x|
|
698
698
|
[x + 0.chr].pack('P').unpack('L')[0]
|
699
699
|
}.pack('L*')
|
@@ -728,6 +728,7 @@ module Win32
|
|
728
728
|
)
|
729
729
|
|
730
730
|
FreeLibrary(hmodule)
|
731
|
+
break if buf.nstrip != "" # All messages read
|
731
732
|
end
|
732
733
|
}
|
733
734
|
end
|
data/test/tc_eventlog.rb
CHANGED
data/win32-eventlog.gemspec
CHANGED
@@ -2,7 +2,7 @@ require "rubygems"
|
|
2
2
|
|
3
3
|
spec = Gem::Specification.new do |gem|
|
4
4
|
gem.name = "win32-eventlog"
|
5
|
-
gem.version = "0.4.
|
5
|
+
gem.version = "0.4.6"
|
6
6
|
gem.author = "Daniel J. Berger"
|
7
7
|
gem.email = "djberg96@gmail.com"
|
8
8
|
gem.homepage = "http://www.rubyforge.org/projects/win32utils"
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: win32-eventlog
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.4.
|
7
|
-
date: 2007-08-
|
6
|
+
version: 0.4.6
|
7
|
+
date: 2007-08-27 00:00:00 -06:00
|
8
8
|
summary: Interface for the MS Windows Event Log.
|
9
9
|
require_paths:
|
10
10
|
- lib
|