[tex-live] [pretest] pdfcrop crashes when called from certain directory

Heiko Oberdiek heiko.oberdiek at googlemail.com
Mon Apr 25 00:26:26 CEST 2016


Hello,

On 24.04.2016 23:09, Reinhard Kotucha wrote:
> On 2016-04-24 at 22:08:13 +0200, Heiko Oberdiek wrote:
>
>  > On 24.04.2016 07:46, Uwe Siart wrote:
>  > > * Ghostscript call: gswin32c -sDEVICE=bbox -dBATCH -dNOPAUSE -c save pop -f s-params.pdf

>  > What happens, if you run ghostscript manually?
>  >
>  >      gswin32c -sDEVICE=bbox -dBATCH -dNOPAUSE -c save pop -f s-params.pdf
>
> ... and maybe with -f /path/to/s-params.pdf
>
> However, shouldn't the argument of -f be quoted in order to allow
> spaces in file or directory names?

pdfcrop checks the file name for unsafe characters, that
would require quoting, and uses a temporary file with a name
without spaces in this case.

Yours sincerely
   Heiko Oberdiek


More information about the tex-live mailing list