Wireshark-commits: [Wireshark-commits] rev 36776: /trunk/wiretap/ /trunk/wiretap/: file_access.c ne

Date: Thu, 21 Apr 2011 18:33:24 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=36776

User: guy
Date: 2011/04/21 11:33 AM

Log:
 In a dump_open routine, you don't need to seek to the beginning of the
 file before doing any writes - it starts out at the beginning of the
 file.  This means that you *can* write a Network Instruments capture
 file to a pipe, or write it out in compressed form, now that its
 dump_open routine no longer seeks.
 
 NetXRay format and K12 binary format, however, *do* require a seek when
 writing them.

Directory: /trunk/wiretap/
  Changes    Path                     Action
  +4 -4      file_access.c            Modified
  +0 -4      network_instruments.c    Modified