[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gv] error opening files on other directories
From: |
Hans Fredrik Nordhaug |
Subject: |
Re: [Bug-gv] error opening files on other directories |
Date: |
Mon, 15 Nov 2004 15:04:55 +0100 |
User-agent: |
Mutt/1.4.1i |
On Mon, Nov 15, 2004 at 04:41:48PM +0100, address@hidden wrote:
>
> Consider this: we always call the gs interpreter with:
>
> gs -DSAFER -DDELAYSAFER
>
> (the arguments passed to gv are controlled by resources on GV, by the way)
>
> so:
>
> - old gs's will happily ignore DELAYSAFER setting the safe state.
> - With new gs the DELAYSAFER takes precedence over SAFER (tested).
>
> and regarding PS files, gv can omit the -DDELAYSAFER option when not
> reading a PDF.
>
>
> So i think the solution is complete.
>
> I just commited a patch that implement this solution.
>
> gv only add -DDELAYSAFER to the gs invocation if the ps file has been
> generated by using pdf2dsc.ps.
I like this approach - a minimal change, and no visible change for the
users. The "safer" button still has meaning...
Hans
- Re: [Bug-gv] error opening files on other directories, (continued)
- Re: [Bug-gv] error opening files on other directories, Hans Fredrik Nordhaug, 2004/11/15
- Re: [Bug-gv] error opening files on other directories, jemarch, 2004/11/15
- Re: [Bug-gv] error opening files on other directories, jemarch, 2004/11/15
- Re: [Bug-gv] error opening files on other directories, jemarch, 2004/11/15
- Re: [Bug-gv] error opening files on other directories, Hans Fredrik Nordhaug, 2004/11/15
- Re: [Bug-gv] error opening files on other directories, jemarch, 2004/11/15
- Re: [Bug-gv] error opening files on other directories, Hans Fredrik Nordhaug, 2004/11/15
- Re: [Bug-gv] error opening files on other directories, jemarch, 2004/11/15
[Bug-gv] error opening files on other directories, jemarch, 2004/11/15
Re: [Bug-gv] error opening files on other directories, jemarch, 2004/11/15
- Re: [Bug-gv] error opening files on other directories,
Hans Fredrik Nordhaug <=