`sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
the latter usage.
+2002-05-31 Paul Eggert <eggert@twinsun.com>
+
+ * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
+ `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
+ the latter usage.
+
2002-05-31 Richard M. Stallman <rms@gnu.org>
* Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
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;