aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorKaroly Lorentey2004-09-16 13:09:53 +0000
committerKaroly Lorentey2004-09-16 13:09:53 +0000
commit98a92e2d7b1f9993215dd4db3d5810586b3da7d3 (patch)
tree36549b6c7ca6056a0e3b5fd72264160953b23f15 /lib-src
parentaeeb70757cd8c57689a1b3238e9b25a2d422e38f (diff)
parent113e270a241bcabe4aae4eb13f0ceb62744ec1f4 (diff)
downloademacs-98a92e2d7b1f9993215dd4db3d5810586b3da7d3.tar.gz
emacs-98a92e2d7b1f9993215dd4db3d5810586b3da7d3.zip
Merged in changes from CVS trunk.
Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-547 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-548 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-549 Use symbol-matching for generic-mode keywords * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-550 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-551 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-246
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog6
-rw-r--r--lib-src/etags.c6
2 files changed, 10 insertions, 2 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index b0960f9a98b..c04bdf2f094 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,5 +1,11 @@
12004-09-13 Francesco Potort,Al(B <pot@gnu.org> 12004-09-13 Francesco Potort,Al(B <pot@gnu.org>
2 2
3 * etags.c (main): When relative file names are given as argument,
4 make them relative to the current working dir, rather than
5 relative to the output tags file, if the latter is in /dev.
6
72004-09-13 Francesco Potort,Al(B <pot@gnu.org>
8
3 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no 9 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
4 <stdlib.h> is available. 10 <stdlib.h> is available.
5 (enum sym_type): New st_C_attribute value for parsing 11 (enum sym_type): New st_C_attribute value for parsing
diff --git a/lib-src/etags.c b/lib-src/etags.c
index f68c2e2bb95..a6004a048a9 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -40,7 +40,7 @@
40 * configuration file containing regexp definitions for etags. 40 * configuration file containing regexp definitions for etags.
41 */ 41 */
42 42
43char pot_etags_version[] = "@(#) pot revision number is 17.4"; 43char pot_etags_version[] = "@(#) pot revision number is 17.5";
44 44
45#define TRUE 1 45#define TRUE 1
46#define FALSE 0 46#define FALSE 0
@@ -1314,7 +1314,9 @@ main (argc, argv)
1314 cwd = concat (oldcwd, "/", ""); 1314 cwd = concat (oldcwd, "/", "");
1315 free (oldcwd); 1315 free (oldcwd);
1316 } 1316 }
1317 if (streq (tagfile, "-")) 1317 /* Relative file names are made relative to the current directory. */
1318 if (streq (tagfile, "-")
1319 || strneq (tagfile, "/dev/", 5))
1318 tagfiledir = cwd; 1320 tagfiledir = cwd;
1319 else 1321 else
1320 tagfiledir = absolute_dirname (tagfile, cwd); 1322 tagfiledir = absolute_dirname (tagfile, cwd);