From a299f3cc81e2af0f051814594b05f00c4a6f3b9e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 6 Mar 1993 17:06:35 +0000 Subject: [PATCH] Compare getenv with NULL instead of 0 -- just for aesthetics. --- src/tr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tr.c b/src/tr.c index 06aeb73..f4cc3a7 100644 --- a/src/tr.c +++ b/src/tr.c @@ -1656,7 +1656,7 @@ main (argc, argv) } } - posix_pedantic = (getenv ("POSIXLY_CORRECT") != 0); + posix_pedantic = (getenv ("POSIXLY_CORRECT") != NULL); non_option_args = argc - optind; translating = (non_option_args == 2 && !delete); -- 2.7.4