libv4l2: decomress-helper: close fds then wait for helper to exit
authorHans de Goede <hdegoede@redhat.com>
Tue, 22 Apr 2014 09:38:39 +0000 (11:38 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 22 Apr 2014 09:38:39 +0000 (11:38 +0200)
commit056eaf051f90a831e144de6420f81f2548d87fd3
tree948e62952765411ce25ed291e9ec6964456f3804
parent39e2e6d4be478ee150a385073d0dc439f328c4e6
libv4l2: decomress-helper: close fds then wait for helper to exit

Killing the helper does not always work (as it inherits its parent sigmask),
instead of meddling with the sigmask simply close the fds and wait for the
helper to cleanly exit.

Reported-by: Волков Андрей <volkov.am@ekb-info.ru>
Tested-by: Волков Андрей <volkov.am@ekb-info.ru>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
lib/libv4lconvert/helper.c