FS#60111 - [evince] can not open compressed files with 3.30
Attached to Project:
Arch Linux
Opened by Carlo Carloni Calame (cmcc) - Tuesday, 18 September 2018, 16:32 GMT
Last edited by Jan de Groot (JGC) - Thursday, 11 October 2018, 21:56 GMT
Opened by Carlo Carloni Calame (cmcc) - Tuesday, 18 September 2018, 16:32 GMT
Last edited by Jan de Groot (JGC) - Thursday, 11 October 2018, 21:56 GMT
|
Details
Description:
Opening any gzipped (or bzipped) .pdf/.ps file with latest evince 3.30 results in the error message "File type Gzip archive (application/gzip) is not supported" Additional info: * evince version 3.30.0+8+g238f8ee6-1 (from extra/) * up-to-date archlinux system Steps to reproduce: Open any compressed PDF or PostScript file from command line or from Files |
This task depends upon
Closed by Jan de Groot (JGC)
Thursday, 11 October 2018, 21:56 GMT
Reason for closing: Fixed
Additional comments about closing: https://gitlab.gnome.org/GNOME/evince/co mmit/171447de0dc182a94b8f7c9ad8bb7027e7c fbebe
Included in 3.30.1
Thursday, 11 October 2018, 21:56 GMT
Reason for closing: Fixed
Additional comments about closing: https://gitlab.gnome.org/GNOME/evince/co mmit/171447de0dc182a94b8f7c9ad8bb7027e7c fbebe
Included in 3.30.1
by downloading the vanilla source codes for releases 3.30.0 and 3.28.3 at https://github.com/GNOME/evince/releases and compiling both, 3.30.0 is affected by the bug while 3.28.0 is not.
By further inspection, changing line 142 of evince-3.30.0/libdocument/ev-file-helpers.c "fd = g_mkstemp_full (name, O_CLOEXEC, 0600)" to "fd = g_mkstemp (name)" (as found in the same file for 3.28.3) solves the issue.
Should it be reported upstream?