[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#591781: texlive-base: texdoc barfs on gzipped files under gnome



On 31.01.19 00:05, Julian Gilbey wrote:
> On Wed, Jan 30, 2019 at 11:27:51PM +0100, Hilmar Preuße wrote:

Hi Julian,

>> The code you mentioned initially now looks completely different. The
>> view.tlu did not change much between stable and unstable. When comparing
>> the code between unstable & git I don't see essential changes, so I'd
>> suspect that the issue is also available in git. Further I don't see git
>> commits for this topic in the last 1/2 year.
> 
> Yes, indeed.  I haven't looked at the view.tlu code recently, but it
> still appears to be texdoc which is doing the unzipping.
> 
Upstream suggested attached patch (line numbers may differ and git has
different line breaks, but I guess you will be able to adapt it). Does
it solve the problem for you?

Thanks!

H.
-- 
sigfault
#206401 http://counter.li.org
diff --git a/script/view.tlu b/script/view.tlu
index cc5027f43e53..a4d97b1b01f1 100644
--- a/script/view.tlu
+++ b/script/view.tlu
@@ -55,3 +55,3 @@ function view_file(filename)
 
-        viewer_replacement = tmpfile .. '; ' .. config.rm_file .. ' ' ..
+        viewer_replacement = tmpfile .. '; sleep 10; ' .. config.rm_file .. ' ' ..
             tmpfile .. '; ' .. config.rm_dir .. ' ' .. tmpdir

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: