GNU bug report logs - #36357
Wrong Ghostscript program name on MS Win

Previous Next

Package: emacs;

Reported by: Sebastian Urban <mrsebastianurban <at> gmail.com>

Date: Mon, 24 Jun 2019 16:05:02 UTC

Severity: minor

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Sebastian Urban <mrsebastianurban <at> gmail.com>
Cc: arash <at> gnu.org, 36357 <at> debbugs.gnu.org, tsdh <at> gnu.org
Subject: bug#36357: Wrong Ghostscript program name on MS Win
Date: Wed, 22 Apr 2020 16:50:42 +0300
> From: Sebastian Urban <mrsebastianurban <at> gmail.com>
> Date: Wed, 22 Apr 2020 12:07:54 +0200
> Cc: 36357 <at> debbugs.gnu.org
> 
>  > Another question: You both used executable-find with exe file
>  > extension.  Was that intended?  I mean, it makes sure we don't
>  > falsely set some "gs.bat" or "gs.cmd" which might have nothing to do
>  > with GhostScript.  Is that a real danger?
> 
> "Falsely setting" file with the same name but different extension
> crossed my mind.  So, yes we should include extension just to be sure,
> that function will find exactly what we are looking for.

We don't know what we are looking for; only the end user does.  Even
Windows allows to rename executable files, so there's nothing magic in
the name gswin64c.exe, the actual program can be called anything and
can have any valid executable extension.  Please leave the user the
freedom of starting Ghostscript via a batch file, if they so wish.




This bug report was last modified 5 years and 30 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.