[Debian-zh-dev] Bug#648174: chmsee ignores command line arguments

Francois Gouget fgouget at free.fr
Wed Nov 9 11:20:05 UTC 2011


Package: chmsee
Version: 1.99.05-1
Severity: normal
Tags: patch

Dear Maintainer,

The chmsee man page says:
| SYNOPSIS
|        chmsee [FILE]
|        chmsee --help
|        chmsee --version

And, as far as I remember, this used to work, probably as recently as version 1.3.0-2. However nowadays specifying the chm file to open on the command line has no effect and neither do any of the options. A quick look at /usr/bin/chmsee makes it obvious why: the command line parameters are totally ignored.

The trivial patch below fixes that:

--- chmsee.orig	2011-11-09 12:11:20.891721831 +0100
+++ chmsee	2011-11-09 12:11:28.435718076 +0100
@@ -1,4 +1,4 @@
 #!/bin/sh
 
 mkdir -p $HOME/.local/share
-exec xulrunner-7.0 /usr/share/chmsee/application.ini
+exec xulrunner-7.0 /usr/share/chmsee/application.ini "$@"


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages chmsee depends on:
ii  libc6          2.13-21 
ii  libchm1        2:0.40-3
ii  libnspr4-0d    4.8.9-1 
ii  xulrunner-7.0  7.0.1-4 

chmsee recommends no packages.

chmsee suggests no packages.

-- no debconf information





More information about the Chinese-developers mailing list