Wireshark-commits: [Wireshark-commits] rev 36590: /trunk/wiretap/ /trunk/wiretap/: file_wrappers.c

Date: Tue, 12 Apr 2011 16:21:17 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=36590

User: guy
Date: 2011/04/12 09:21 AM

Log:
 Update and expand some comments.
 
 In the end-of-stream code, when we're checking the CRC and length, don't
 check the CRC or length if we failed to read them, and don't check the
 length if the CRC is bad.
 
 We define O_BINARY as 0 on UN*X in <wsutil/file_util.h>, so we don't
 need to avoid using it on UN*X.
 
 In file_gets(), check for delayed errors.

Directory: /trunk/wiretap/
  Changes    Path               Action
  +59 -35    file_wrappers.c    Modified