From: Jim Meyering Date: Sat, 6 Mar 1993 17:06:35 +0000 (+0000) Subject: Compare getenv with NULL instead of 0 -- just for aesthetics. X-Git-Tag: FILEUTILS-3_8_3b~106 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a299f3cc81e2af0f051814594b05f00c4a6f3b9e;p=platform%2Fupstream%2Fcoreutils.git Compare getenv with NULL instead of 0 -- just for aesthetics. --- 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);