pipewire/src
Barnabás Pőcze 68f75bbd57 tools/pw-dump: fix parentheses around isatty() call
Previously,

  isatty(fileno(data.out) && getenv("NO_COLOR") == NULL))

would call `isatty()` with

  fileno(data.out) && getenv("NO_COLOR") == NULL

as its argument. This meant that, for example,

  NO_COLOR=1 pw-dump

would still produce colored output when run with
a TTY as its standard input.

Fix that by moving the parenthesis.

Fixes: af63d08453 ("tools/pw-dump: only print colors if we're connected to a terminal")
2021-05-08 03:57:34 +02:00
..
daemon node-driver: run as fast as possible in freewheel mode 2021-05-07 11:50:55 +02:00
examples spa/buffer: rename SPA_MEMBER to SPA_PTROFF 2021-05-06 09:39:39 +00:00
extensions meson: replace join_paths(a, b) with a / b 2021-04-15 06:57:00 +00:00
gst spa/buffer: rename SPA_MEMBER to SPA_PTROFF 2021-05-06 09:39:39 +00:00
modules module-profiler: stop when freewheeling 2021-05-07 10:12:16 +02:00
pipewire spa: make a new FREEWHEEL clock flag 2021-05-07 09:03:34 +02:00
tests meson: replace join_paths(a, b) with a / b 2021-04-15 06:57:00 +00:00
tools tools/pw-dump: fix parentheses around isatty() call 2021-05-08 03:57:34 +02:00
meson.build meson: Fixed remaining issues from the port to feature options 2021-03-11 18:29:11 +00:00