Skip to content
Commit 167814b8 authored by Changqing Li's avatar Changqing Li Committed by Anuj Mittal
Browse files

file: fix close_on_exec for multithreaded decompression



It is not safe to call the 'file' command from multiple threads. When a
file is checked with multiple threads in parallel, the file descriptors
might get shared which makes the pipe handling lock up, leading to lock
up in rpmbuild. And may lead to rarely deadlock on random recipes's
do_package task.

Signed-off-by: default avatarChangqing Li <changqing.li@windriver.com>
Signed-off-by: default avatarAnuj Mittal <anuj.mittal@intel.com>
parent 9b39e148
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment