mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
The BrokenPipeError handler in run-clang-tools.py calls os.open() and
os.dup2() without importing os. If this handler is reached, it raises
NameError instead of redirecting stdout and exiting with status 1.
Import os so the handler can work as intended.
Fixes:
|
||
|---|---|---|
| .. | ||
| gen_compile_commands.py | ||
| run-clang-tools.py | ||