X-Git-Url: https://ruderich.org/simon/gitweb/?p=coloredstderr%2Fcoloredstderr.git;a=blobdiff_plain;f=src%2Fhookmacros.h;fp=src%2Fhookmacros.h;h=6b52293495eb166120294356637f674d7afda9cc;hp=0eb47cd67abd45451dc85b02e0573a7e04119ced;hb=86352712fdc5fa08777eca1458f4ef6bbe579e7b;hpb=0a2617527c9b46a587a8f34571a54347cd5c4b5a diff --git a/src/hookmacros.h b/src/hookmacros.h index 0eb47cd..6b52293 100644 --- a/src/hookmacros.h +++ b/src/hookmacros.h @@ -38,7 +38,7 @@ * if (force_write_to_non_tty) { * handle = 1; * } else { - * handle = isatty(); + * handle = isatty_noinline(); * } * } else { * handle = 0; @@ -72,7 +72,7 @@ if (unlikely(force_write_to_non_tty)) { \ handle = 1; \ } else { \ - handle = isatty(fd); \ + handle = isatty_noinline(fd); \ } \ } else { \ handle = 0; \ @@ -87,7 +87,7 @@ if (unlikely(force_write_to_non_tty)) { \ handle = 1; \ } else { \ - handle = isatty(fileno(file)); \ + handle = isatty_noinline(fileno(file)); \ } \ } else { \ handle = 0; \