bugGNU gv - Bugs: bug #12154, gv 3.6.1 uses wrong getopt call

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #12154: gv 3.6.1 uses wrong getopt call

Submitter:  None
Submitted:  Sat 26 Feb 2005 11:15:30 PM UTC
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  jemarch
Open/Closed:  Closed Release:  None

Thu 31 Mar 2005 12:56:58 PM UTC, comment #2: 

Did you mix up the bugs, Jose?

The pdf delaysafe hack/patch is bug 12156 which is still open. Which patch did you really apply - both, this one or the one for 12156?

(I'm sorry I don't have had any time to help you out.)

Hans Fredrik Nordhaug <hansfn>
Thu 31 Mar 2005 12:14:22 PM UTC, comment #1: 

Many thanks for your support, John.

The pdf delaysafe hack was used for delay the safe restrictions
until actual pdf data reading. Then, the ps stub code generated
by gs should be trusted.

Your patch is much better (you dont need to trust the generated stub). So i just applied it.

Thanks again!

Jose E. Marchesi <jemarch>
Sat 26 Feb 2005 11:15:30 PM UTC, original submission:  

An Asymptote user reported the following problem with gv 3.6.1:

http://sourceforge.net/tracker/index.php?func=detail&aid=1149871&group_id=120000&atid=685683

First of all, I would like to say it is very nice to see that someone has
finally taken over the development of gv again after all these years.

Keep in mind that existing versions of gv (e.g. 3.5.8) accept command line
arguments like -watch and not --watch. For both forwards and backwards
compatibility you want to use getopt_long_only, which accepts both
-watch and --watch forms (gv has no short options).

Otherwise there is no way that applications which use gv can stay compatible
with both versions. That would prevent your version of gv from ever being
used as a drop-in replacement of the the original "official" version at 
http://wwwthep.physik.uni-mainz.de/~plass/gv (which, given the number of
patches to gv that have accumulated over the last few years, would be a most
unfortunate situation).

Fortunately the attached patch provides a solution that should make
everyone happy.

Regards,

-- John Bowman
University of Alberta

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #2618:  gv-3.6.1-getopt.patch added by None (468B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

 

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-03-31 jemarch StatusNone Fixed
    Assigned toNone jemarch
    Open/ClosedOpen Closed
2005-02-26 None Attached File- Added gv-3.6.1-getopt.patch, #2240

Back to the top


Powered by Savane 3.9