bugGNU gv - Bugs: bug #11087, Horrible bug on argument parsing

 
 

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

bug #11087: Horrible bug on argument parsing

Submitter:  Jose E. Marchesi <jemarch>
Submitted:  Sun 21 Nov 2004 04:04:05 PM UTC
   
 
Category:  None Severity:  4 - Important
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  jemarch
Open/Closed:  Closed Release:  None

Sun 21 Nov 2004 04:04:05 PM UTC, original submission:  

hello - I got your gv, and decided to give it a try.  what I did was:

- unzip, untar
- $PAGER README INSTALL
- CFLAGS=-O2 ./configure --prefix=/usr/soft --with-default-papersize=a4 \
   --with-print-command=zprint --with-scratch-dir=/tmp/
- make

before installing, I tried src/gv, and, with my surprise, I got:

$ src/gv --help
.... lotsa useful info
$ src/gv -spartan
src/gv: invalid option -- s
src/gv: invalid option -- p
src/gv: invalid option -- a
src/gv: invalid option -- r
src/gv: invalid option -- t
src/gv: invalid option -- a
src/gv: invalid option -- n
$ src/gv --spartan
src/gv: unrecognized option `--spartan'
gv: Cannot open file --spartan (No such file or directory)
$ src/gv -scale -2 ~/tmp/Mail.ps
src/gv: invalid option -- s
src/gv: invalid option -- c
src/gv: invalid option -- a
src/gv: invalid option -- l
src/gv: invalid option -- e
src/gv: invalid option -- 2

Reported by Maurizio Loretti

Jose E. Marchesi <jemarch>

 

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

No files currently attached

 

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 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-12-06 jemarch StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code