[texdoc] [bug #369] [PATCH] Built-in documentation overrides actual files
Reuben Thomas
rrt at sc3d.org
Thu Sep 21 11:05:02 CEST 2017
URL:
<http://puszcza.gnu.org.ua/bugs/?369>
Summary: [PATCH] Built-in documentation overrides actual
files
Project: texdoc
Submitted by: rrt
Submitted on: Thu 21 Sep 2017 12:02:59 EEST
Category: None
Priority: 5 - Normal
Severity: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
search.tlu contains these lines:
-- get results
get_doclist_sty(sty)
get_doclist_texdocs(normal)
get_doclist_tlpdb(pattern)
If a file found by get_doclist_texdocs (i.e. a real file with a tree code > 0)
is also matched by get_doclist_tlpdb, then the latter overwrites the former
when it is merged, and incorrectly downgrades the tree code.
Simply reversing the order of the two calls to give:
-- get results
get_doclist_sty(sty)
get_doclist_tlpdb(pattern)
get_doclist_texdocs(normal)
fixes the bug. The same principle presumably applies to get_doclist_sty, which
gives a tree code of -1, and hence must go first (where it already is).
For convenience, I attach an actual patch file.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 21 Sep 2017 12:02:59 EEST Name: search.tlu.patch Size: 425B By:
rrt
Patch
<http://puszcza.gnu.org.ua/bugs/download.php?file_id=283>
_______________________________________________________
Reply to this item at:
<http://puszcza.gnu.org.ua/bugs/?369>
_______________________________________________
Message sent via/by Puszcza
http://puszcza.gnu.org.ua/
More information about the texdoc
mailing list