From: Paul Eggert Date: Mon, 27 May 2002 06:50:39 +0000 (+0000) Subject: Reinstate the following change from 2002-03-22, which was X-Git-Tag: ttn-vms-21-2-B4~14859 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8108640c1ea15d92a66ec280776b8ef389b06920;p=emacs.git 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. --- 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;