http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=27158
User: wmeier
Date: 2009/01/05 11:46 AM
Log:
Rework code somewhat; Fixes bug 1937 & various other issues.
Fixed:
Crash when reading a K12text file with one frame;
Crash after selecting the last frame and then a previous frame
after file open.
Select of frame n (>1) immediately after file open incorrectly
displayed the packet details & data from frame n+1.
File ! Merge (for K12text files) did not work correctly.
Fixes:
Essentially: clear all lexer state (look-ahead buffer, etc)
for every file read. Also: Don't use global for keeping
track of the current file position.
Also: Handle *nix-style line endings as well as DOS-style.
Directory: /trunk/wiretap/
Changes Path Action
+82 -33 k12text.l Modified