/[emacs]/emacs/lib-src/etags.c
ViewVC logotype

Diff of /emacs/lib-src/etags.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3.47 by pot, Tue Sep 27 13:23:47 2005 UTC revision 3.48 by pot, Tue Sep 27 20:18:15 2005 UTC
# Line 41  Line 41 
41   * configuration file containing regexp definitions for etags.   * configuration file containing regexp definitions for etags.
42   */   */
43    
44  char pot_etags_version[] = "@(#) pot revision number is 17.13";  char pot_etags_version[] = "@(#) pot revision number is 17.14";
45    
46  #define TRUE    1  #define TRUE    1
47  #define FALSE   0  #define FALSE   0
# Line 1475  main (argc, argv) Line 1475  main (argc, argv)
1475    if (fclose (tagf) == EOF)    if (fclose (tagf) == EOF)
1476      pfatal (tagfile);      pfatal (tagfile);
1477    
1478    if (update)    if (CTAGS)
1479      {      if (append_to_tagfile || update)
1480        char cmd[2*BUFSIZ+10];        {
1481        sprintf (cmd, "sort -o %.*s %.*s", BUFSIZ, tagfile, BUFSIZ, tagfile);          char cmd[2*BUFSIZ+10];
1482        exit (system (cmd));          sprintf (cmd, "sort -o %.*s %.*s", BUFSIZ, tagfile, BUFSIZ, tagfile);
1483      }          exit (system (cmd));
1484          }
1485    return EXIT_SUCCESS;    return EXIT_SUCCESS;
1486  }  }
1487    

Legend:
Removed from v.3.47  
changed lines
  Added in v.3.48

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26