diff lib-src/etags.c @ 45535:eb9cf71c5a55

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.
author Paul Eggert <eggert@twinsun.com>
date Mon, 27 May 2002 06:50:39 +0000
parents 98b894d1d3ad
children 5cee84ffef53
line wrap: on
line diff
--- a/lib-src/etags.c	Mon May 27 06:44:24 2002 +0000
+++ b/lib-src/etags.c	Mon May 27 06:50:39 2002 +0000
@@ -1255,7 +1255,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;