Wireshark-commits: [Wireshark-commits] rev 27456: /trunk/ /trunk/epan/: epan.c epan.h filesystem.c
Date: Sun, 15 Feb 2009 21:47:59 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=27456

User: guy
Date: 2009/02/15 01:47 PM

Log:
 Add a routine to report write errors to the list of failure-reporting
 routines handled by epan/report_err.c.
 
 Move copy_binary_file() in file.c to epan/filesystem.c, and rename it to
 copy_file_binary_mode() (to clarify that it *can* copy text files;
 arguably, *all* files are "binary" unless you're on, say, an IBM 1401
 :-)).  Have it use the report_err.c routines, so it works in
 console-mode programs.
 
 Clean up some comments while we're at it.

Directory: /trunk/epan/
  Changes    Path            Action
  +4 -2      epan.c          Modified
  +5 -1      epan.h          Modified
  +73 -1     filesystem.c    Modified
  +13 -1     filesystem.h    Modified
  +24 -4     report_err.c    Modified
  +23 -5     report_err.h    Modified

Directory: /trunk/gtk/
  Changes    Path          Action
  +2 -1      main.c        Modified

Directory: /trunk/
  Changes    Path          Action
  +1 -1      capinfos.c    Modified
  +15 -4     dftest.c      Modified
  +1 -1      editcap.c     Modified
  +1 -70     file.c        Modified


(2 files not shown)