projects
/
platform
/
upstream
/
coreutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use STREQ rather than strcmp
[platform/upstream/coreutils.git]
/
src
/
tac.c
diff --git
a/src/tac.c
b/src/tac.c
index
f281c45
..
416ab64
100644
(file)
--- a/
src/tac.c
+++ b/
src/tac.c
@@
-638,7
+638,7
@@
main (int argc, char **argv)
else
for (; optind < argc; ++optind)
{
- if (
strcmp (argv[optind], "-") == 0
)
+ if (
STREQ (argv[optind], "-")
)
{
have_read_stdin = 1;
errors |= tac_stdin_to_mem ();