[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gv] gv 3.6.1 uses wrong getopt call

From: John Bowman
Subject: [bug-gv] gv 3.6.1 uses wrong getopt call
Date: 24 Feb 2005 16:31:52 -0700


An Asymptote user reported the following problem with gv 3.6.1:


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. 


-- John Bowman
University of Alberta

Attachment: gv-3.6.1-getopt.patch
Description: /usr/local/src/gv-3.6.1-getopt.patch

reply via email to

[Prev in Thread] Current Thread [Next in Thread]