If the capture child process exits unexpectedly, give more information
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 27 Dec 2000 22:35:48 +0000 (22:35 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 27 Dec 2000 22:35:48 +0000 (22:35 +0000)
commit57fbaf4382753febcaea17b654b08413a97e580e
tree1c1220614889e236752d67640c8d8fcb0c7405a8
parentf2d8ecfbef84b03fc87c77a753f5b7268e398196
If the capture child process exits unexpectedly, give more information
on it, such as the exit status if it exited "normally" but unexpectedly.

On UNIX systems, #define the various POSIX <sys/wait.h> macros (and the
non-POSIX WCOREDUMP()" macro) if they're not defined by <sys/wait.h> (or
if we don't have <sys/wait.h>), and use them to dissect the exit status.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2788 f5534014-38df-0310-8fa8-9805f1628bb7
capture.c