# HG changeset patch # User Francesco Potort # Date 1095105372 0 # Node ID 297e3051e6acc4abf80f58acdc1b7df7c58c1463 # Parent e3616b62370aef2cdd190aec1847d940fba47b1f When relative file names are given as argument, make them relative to the current working dir, rather than relative to the output tags file, if the latter is in /dev. diff -r e3616b62370a -r 297e3051e6ac etc/etags.1 --- a/etc/etags.1 Mon Sep 13 19:50:40 2004 +0000 +++ b/etc/etags.1 Mon Sep 13 19:56:12 2004 +0000 @@ -58,7 +58,9 @@ \fBctags\fP) in the current working directory. Files specified with relative file names will be recorded in the tag table with file names relative to the directory where the tag table -resides. Files specified with absolute file names will be recorded +resides. If the tag table is in /dev, however, the file names are made +relative to the working directory. Files specified with absolute file +names will be recorded with absolute file names. Files generated from a source file\-\-like a C file generated from a source Cweb file\-\-will be recorded with the name of the source file. diff -r e3616b62370a -r 297e3051e6ac man/maintaining.texi --- a/man/maintaining.texi Mon Sep 13 19:50:40 2004 +0000 +++ b/man/maintaining.texi Mon Sep 13 19:56:12 2004 +0000 @@ -445,7 +445,8 @@ directory where the tags file was initially written. This way, you can move an entire directory tree containing both the tags file and the source files, and the tags file will still refer correctly to the source -files. +files. If the tags file is in /dev, however, the file names are made +relative to the current working directory. If you specify absolute file names as arguments to @code{etags}, then the tags file will contain absolute file names. This way, the tags file