Displaying 2 results from an estimated 2 matches for "eventlog_backwards_read".
2006 May 29
3
[ win32utils-Bugs-4598 ] possible wrong condition
Bugs item #4598, was opened at 2006-05-29 11:20
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=4598&group_id=85
Category: win32-eventlog
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: possible wrong condition
Initial Comment:
Is this condition right?
(eventlog.rb, line 494
2006 May 20
0
EventLog#tail is broken
...ey''re added, it''s really just iterating backwards through the current
event log backwards.
Look at this sample below. The first record is correct. Then another
event happens, but instead of the latest record, I get an *earlier*
record. Thinking about the flags that are set, EVENTLOG_BACKWARDS_READ
| EVENTLOG_SEQUENTIAL_READ in the read_last_event() function, it makes
sense. It will read backwards sequentially.
C:\eclipse\workspace\win32-eventlog>irb
irb(main):001:0> require ''win32/eventlog''
=> true
irb(main):002:0> include Win32
=> Object
irb(main):003:0...