Fix for waitpid return EINTR sometimes on launch.
authorVik <vkp129+ubuntu@gmail.com>
Fri, 13 Mar 2015 03:32:48 +0000 (20:32 -0700)
committerAnders Broman <a.broman58@gmail.com>
Mon, 16 Mar 2015 06:04:58 +0000 (06:04 +0000)
commitdc2195711c2eec6e459ecdf17a01139895ace479
treee8620bfeb238792f290ddb28331440c9a0b163c6
parentf0855e03d1018a83c98402fe22dfe21705dfb0d9
Fix for waitpid return EINTR sometimes on launch.

The return of EINTR is not exactly a failure of child process but may be because of any number of reasons. Adding logic to retry to get status of child process.

Bug: 10889
Change-Id: Ic2de7248cb7bd9c801b917c841ce911fb7c17dcc
Reviewed-on: https://code.wireshark.org/review/7669
Petri-Dish: Graham Bloice <graham.bloice@trihedral.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
capchild/capture_sync.c