changeset 44114:3003bff8472b

(main): Use `sort -o TAGFILE TAGFILE' instead of `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows the latter usage.
author Paul Eggert <eggert@twinsun.com>
date Sat, 23 Mar 2002 06:48:31 +0000
parents 4b1f649a4526
children aba9fabe137a
files lib-src/etags.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/etags.c	Sat Mar 23 06:47:43 2002 +0000
+++ b/lib-src/etags.c	Sat Mar 23 06:48:31 2002 +0000
@@ -1236,7 +1236,7 @@
   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;