Displaying 1 result from an estimated 1 matches for "e_s_r".
Did you mean:
e_hdr
2006 May 29
3
[ win32utils-Bugs-4598 ] possible wrong condition
...obody (None)
Assigned to: Nobody (None)
Summary: possible wrong condition
Initial Comment:
Is this condition right?
(eventlog.rb, line 494
if flags | EVENTLOG_SEEK_READ > 0
offset = buf[8,4].unpack(''L'').first + 1
end
To me it seems that it is always true as E_S_R == 2.
Maybe this is how it was meant:
unless flags & EVENTLOG_SEEK_READ > 0
I haven''t understood the rest of the code, so I''m not sure about the solution.
Jano Svitok
----------------------------------------------------------------------
You can respond by visitin...