Wireshark-commits: [Wireshark-commits] rev 33113: /trunk/wiretap/ /trunk/wiretap/: btsnoop.c file_a

Date: Sun, 06 Jun 2010 19:14:37 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=33113

User: guy
Date: 2010/06/06 12:14 PM

Log:
 Rename wtap_dump_file_write_all() to wtap_dump_file_write(), and have
 everybody use it; the places using the old wtap_dump_file_write() were
 using it in the same way the old wtap_dump_file_write_all() did.
 
 That also lets us get rid of wtap_dump_file_ferror().
 
 Also, have the new wtap_dump_file_write() check for errors from
 gzwrite() and fwrite() differently - the former returns 0 on error, the
 latter can return a short write on error.

Directory: /trunk/wiretap/
  Changes    Path             Action
  +8 -8      btsnoop.c        Modified
  +41 -41    file_access.c    Modified
  +4 -30     libpcap.c        Modified
  +6 -42     pcap-common.c    Modified
  +15 -80    pcapng.c         Modified
  +2 -3      wtap-int.h       Modified