4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: taglist() returns the filename relative to the tags file, while
12 the directory of the tags file is unknown. (Hari Krishna Dara)
13 Solution: Expand the file name. (Yegappan Lakshmanan)
17 *** ../vim-7.0.095/src/tag.c Thu Apr 27 23:40:34 2006
18 --- src/tag.c Sun Sep 10 13:42:41 2006
23 int num_matches, i, ret;
31 if (list_append_dict(list, dict) == FAIL)
34 if (add_tag_field(dict, "name", tp.tagname, tp.tagname_end) == FAIL
35 ! || add_tag_field(dict, "filename", tp.fname,
36 ! tp.fname_end) == FAIL
37 || add_tag_field(dict, "cmd", tp.command,
38 tp.command_end) == FAIL
39 || add_tag_field(dict, "kind", tp.tagkind,
40 tp.tagkind_end) == FAIL
41 || dict_add_nr_str(dict, "static", is_static, NULL) == FAIL)
44 if (tp.command_end != NULL)
47 if (list_append_dict(list, dict) == FAIL)
50 + full_fname = tag_full_fname(&tp);
51 if (add_tag_field(dict, "name", tp.tagname, tp.tagname_end) == FAIL
52 ! || add_tag_field(dict, "filename", full_fname,
54 || add_tag_field(dict, "cmd", tp.command,
55 tp.command_end) == FAIL
56 || add_tag_field(dict, "kind", tp.tagkind,
57 tp.tagkind_end) == FAIL
58 || dict_add_nr_str(dict, "static", is_static, NULL) == FAIL)
61 + vim_free(full_fname);
63 if (tp.command_end != NULL)
65 *** ../vim-7.0.095/src/version.c Sun Sep 10 13:22:26 2006
66 --- src/version.c Sun Sep 10 13:52:01 2006
70 { /* Add new patch number below this line */
76 The early bird gets the worm. If you want something else for
77 breakfast, get up later.
79 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
80 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
81 \\\ download, build and distribute -- http://www.A-A-P.org ///
82 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///