Wireshark-bugs: [Wireshark-bugs] [Bug 3172] tshark fails to properly close capture files when op

Date: Sun, 15 Feb 2009 14:20:09 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3172


Bill Meier <wmeier@xxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Bill Meier <wmeier@xxxxxxxxxxx>  2009-02-15 14:20:06 PDT ---
Thanks for the report and detailed analysis.

I've submitted a fix (SVN #27456) which sets
cf.state to FILE_READ_IN_PROGRESS similar to your patch and 
also does some cleanup on related code.

> why does tshark.c redefine its own cf_open(), when it appears to
> be better-defined in file.c?

They are somewhat different in that the Wireshark version (file.c) works with
the GUI and the other (in tshark.c) works with the Console.


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.