Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] rev 23279: /trunk/ /trunk/: Makefile.nmake capture_loop.c ca

Date: Fri, 26 Oct 2007 16:32:30 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=23279

User: gerald
Date: 2007/10/26 04:32 PM

Log:
 For the Wireshark/TShark -> dumpcap signal pipe on Windows, use a named
 pipe instead of stdin.  Add an argument (currently the parent PID) back
 to the "-Z" flag and use it to construct the pipe name.  This lets us
 pass the parent's stdin handle to dumpcap, which lets us capture from
 stdin on Windows.  Add a comment about checking for the parent process.
 
 In capture_loop.c, remove the wait_forever argument from cap_pipe_select()
 since it was always FALSE.  Set the timeout under Windows to 250 ms
 instead of 250000 ms.

Directory: /trunk/
  Changes    Path              Action
  +2 -2      Makefile.nmake    Modified
  +11 -14    capture_loop.c    Modified
  +21 -10    capture_sync.c    Modified
  +2 -0      capture_sync.h    Modified
  +44 -8     dumpcap.c         Modified