http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=36576
User: guy
Date: 2011/04/11 06:36 PM
Log:
Allow wtap_sequential_close() and wtap_close() to return an error; this
may happen if, when reading a compressed file, we find an error in the
file's contents past the last packet (e.g., the file being cut short so
that we can't get a full buffer worth of compressed data), and that
reporting of that error is delayed (so that you can get all of the
packets that we *can* decompress). Check for those errors, at least on
the sequential read pass (the only errors we should see when closing the
random stream are errors we've already seen in the sequential stream).
Directory: /trunk/
Changes Path Action
+14 -5 file.c Modified
+10 -4 tshark.c Modified
Directory: /trunk/wiretap/
Changes Path Action
+30 -5 wtap.c Modified
+2 -2 wtap.h Modified