[Libreoffice-bugs] [Bug 94117] Windows 64-bit and executable name of 64-bit build of ghostscript -- gswin64c.exe

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Nov 10 18:36:03 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=94117

V Stuart Foote <vstuart.foote at utsa.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |noelgrandin at gmail.com

--- Comment #7 from V Stuart Foote <vstuart.foote at utsa.edu> ---
Issue remains, and seems we need to test for _WIN64 here and use the
'"gswin64c" EXESUFFIX,' for RenderAsBMPThroughHelper [1].

Things were complicated with a MS security change in handling of SYMLINKs
[2][3]

On 64-bit Windows we now have to make a hard link [4] creating gswin32c.exe
link to the 64-bit gswin64c.exe to be able to use Ghostscript to render the EPS
to canvas with RenderAsBMPThroughGS [5]


=-ref-=
[1]https://opengrok.libreoffice.org/xref/core/filter/source/graphicfilter/ieps/ieps.cxx?a=true&h=369#390

[2]
https://social.technet.microsoft.com/Forums/en-US/0eefc57f-8c01-450a-a1cf-8e2894a951d9/symbolic-link-type-changed

[3] https://technet.microsoft.com/library/security/ms15-020

[4] That is:
1. navigate to bin directory of the 64-bit gs install, e.g. C:\Program
Files\gs\g9.21\bin

2. hard link with "mklink /h gswin32c.exe gswin64c.exe"

before a simple symlink with mklink sufficed, now have to use the hardlink.

[5]
https://opengrok.libreoffice.org/xref/core/filter/source/graphicfilter/ieps/ieps.cxx#370

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171110/bae9b2ac/attachment.html>


More information about the Libreoffice-bugs mailing list