Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
45534:6ed544427270 | 45535:eb9cf71c5a55 |
---|---|
1253 pfatal (tagfile); | 1253 pfatal (tagfile); |
1254 | 1254 |
1255 if (update) | 1255 if (update) |
1256 { | 1256 { |
1257 char cmd[BUFSIZ]; | 1257 char cmd[BUFSIZ]; |
1258 sprintf (cmd, "sort %s -o %s", tagfile, tagfile); | 1258 sprintf (cmd, "sort -o %s %s", tagfile, tagfile); |
1259 exit (system (cmd)); | 1259 exit (system (cmd)); |
1260 } | 1260 } |
1261 return GOOD; | 1261 return GOOD; |
1262 } | 1262 } |
1263 | 1263 |