From 8108640c1ea15d92a66ec280776b8ef389b06920 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 27 May 2002 06:50:39 +0000 Subject: [PATCH] Reinstate the following change from 2002-03-22, which was inadvertently lost on 2002-04-13. (main): Use `sort -o TAGFILE TAGFILE' instead of `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows the latter usage. --- lib-src/etags.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-src/etags.c b/lib-src/etags.c index 0ba1ccf861f..b6f1c1b6ce1 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -1255,7 +1255,7 @@ main (argc, argv) if (update) { char cmd[BUFSIZ]; - sprintf (cmd, "sort %s -o %s", tagfile, tagfile); + sprintf (cmd, "sort -o %s %s", tagfile, tagfile); exit (system (cmd)); } return GOOD; -- 2.39.5