Wireshark-commits: [Wireshark-commits] rev 24446: /trunk/ /trunk/: capture_opts.c capture_sync.c du

Date: Sat, 23 Feb 2008 19:59:41 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=24446

User: wmeier
Date: 2008/02/23 07:59 PM

Log:
 Ensure tshark/wireshark always get good err msgs from dumpcap:
 1. Clean up dumpcap 'as a child' err msg handling so that:
    - all err msgs are properly formatted when being sent 
      back to the parent.
    - any log Critical, Warning, etc messages
      are sent back to parent and are properly formatted.
 2. Change handling of -w <...> slightly in capture_opts.c
    so that wireshark provides a good error message if
    there is a 'write permissions' issue on the file.
    (Previously the error popup said only 
    "Child exited with status 2").
    This fixes bug #2288.
 
 Add some conditionalized DEBUG_CHILD_DUMPCAP code for
    dumpcap debug logging to a file.

Directory: /trunk/
  Changes    Path              Action
  +3 -4      capture_opts.c    Modified
  +3 -0      capture_sync.c    Modified
  +108 -38   dumpcap.c         Modified