diff options
author | Jo-Philipp Wich <jo@mein.io> | 2023-07-25 13:59:33 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2023-07-25 14:06:23 +0200 |
commit | 093684df07cee69a06deed665bbb0cb3eeaf3841 (patch) | |
tree | 245da48303925ba3d5215f574344ee2b16904ee4 /vallist.c | |
parent | 4f4f38f4f5d09cd5f5f1d036db841fb23d69e59d (diff) |
fs: explicitly compare isatty() result
Reportedly, automatic conversion of the `isatty()` int result value to
a bool does not work correctly on PPC. Explicitly compare the result
value with `1` to infer the boolean result value.
Fixes: #165
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'vallist.c')
0 files changed, 0 insertions, 0 deletions