+2008-05-29 Tom Tromey <tromey@redhat.com>
+
+ * etags.c (relative_filename): Treat "///" like "/" in filenames.
+
2008-05-09 Eli Zaretskii <eliz@gnu.org>
* ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
/* Build a sequence of "../" strings for the resulting relative file name. */
i = 0;
+ while (*dp == '/')
+ ++dp;
while ((dp = etags_strchr (dp + 1, '/')) != NULL)
- i += 1;
+ {
+ i += 1;
+ while (*dp == '/')
+ ++dp;
+ }
res = xnew (3*i + strlen (fp + 1) + 1, char);
res[0] = '\0';
while (i-- > 0)