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

Submitted by:  None
Submitted on:  Sat 26 Feb 2005 11:15:30 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Jose E. Marchesi <jemarch>
Open/Closed: ClosedRelease: 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>In charge of this item.
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

 

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

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 31 Mar 2005 12:14:22 PM UTCjemarchStatusNone=>Fixed
  Assigned toNone=>jemarch
  Open/ClosedOpen=>Closed
Sat 26 Feb 2005 11:15:30 PM UTCNoneAttached File-=>Added gv-3.6.1-getopt.patch, #2240

Back to the top


Powered by Savane 3.1-cleanup1