Commit 61bbbf8d authored by Paul Eggert's avatar Paul Eggert
Browse files

(main): Use `sort -o TAGFILE TAGFILE' instead of `sort TAGFILE -o

TAGFILE', as POSIX 1003.1-2001 disallows the latter usage.
parent b9a07996
...@@ -1236,7 +1236,7 @@ main (argc, argv) ...@@ -1236,7 +1236,7 @@ main (argc, argv)
if (update) if (update)
{ {
char cmd[BUFSIZ]; char cmd[BUFSIZ];
sprintf (cmd, "sort %s -o %s", tagfile, tagfile); sprintf (cmd, "sort -o %s %s", tagfile, tagfile);
exit (system (cmd)); exit (system (cmd));
} }
return GOOD; return GOOD;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment