summaryrefslogtreecommitdiff
path: root/src/tr.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-03-06 17:06:35 +0000
committerJim Meyering <jim@meyering.net>1993-03-06 17:06:35 +0000
commita299f3cc81e2af0f051814594b05f00c4a6f3b9e (patch)
treef023679c3faf7acf574b99e303689717db6911c7 /src/tr.c
parent90a29529827d931af370fdc07053d214fec440bf (diff)
downloadcoreutils-a299f3cc81e2af0f051814594b05f00c4a6f3b9e.tar.xz
Compare getenv with NULL instead of 0 -- just for aesthetics.
Diffstat (limited to 'src/tr.c')
-rw-r--r--src/tr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tr.c b/src/tr.c
index 06aeb7363..f4cc3a734 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);