Package: unrar-free
Version: 1:0.0.1+cvs20071127-2
Severity: normal
Tags: upstream patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

The command line compatibility mode for unrar-nonfree-alike calls is not
compatible to unrar-nonfree. At least, the -y option, which is valid for
unrar-nonfree and important for automated extractions, like nzb grabbers
or comic book viewers, causes unrar-free to exit uncleanly because it
does not know the option.

All options that are valid for unrar-nonfree should pass in
compat_iscmd(). Attached is a small patch that accepts the -y option,
however, it does not do anything with it.

Mind you, unrar-free is completely unusable for some of the scenarios
mentioned above because of bug #270751 . But maybe someone will take on
work on unrar-free to fix both?

- -- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/mksh

Versions of packages unrar-free depends on:
ii  libc6  2.17-92+b1

unrar-free recommends no packages.

Versions of packages unrar-free suggests:
pn  pike7.8 | pike7.6 | pike  <none>

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iQJOBAEBCAA4BQJSQEX/MRpodHRwczovL3d3dy5kb21pbmlrLWdlb3JnZS5kZS9n
cGctcG9saWN5LnR4dC5hc2MACgkQt5o8FqDE8pbCuxAAuq3Dewv01JRIKP9rS3lT
iFWis6Tv54p8I81LOJ427cBYyzHkT2hGV1pPCP63psJy03KFmlUtNKPhyY4fu/Yb
NNQMnudf0HKCvz6IRNqHpWl3BwsKubKHxH+BFH/BnHYqfJjzJWhDSAt86YoTFcvl
bEpzDLa8fSz6jVZGLL6AaVi4oWe4mTNyZR2HI4D4s4Y+munVjECPodQxwoHuVG0Y
tCXvhX4JSR0V4aXzrdYIS8s0VXnVg0Q+3WuT7y0/MWFAzOUAn7vWJvbAJ9undLNy
BN0ranTCC4X8rHVxJduipNEzzRZ5ROdyVZzApAnZK4LYzyHQsnt/FRP/wpDLG2wb
oEpXA43nh+W3YrPObXuS0txv+YaFvWloUF5a6hkSGeVyDPTSC0+UzNcRLlOGTzXU
FLwKZzwLSMuaW2FFzFX+RxsOqQ4/zmyICkCfgLfNsM7cDioOWrfibWEYHeuKYfBB
MfuF234N8mrYGiZKxTzGZx0DPX76wFztUpd935JAwIFu7rnjQV2ORPoO5TN+zQ13
aSAWTwIacaijjV6eCb2/xb4YefP/zpWb7TRZnBVA2udiiXooVv2oRsL5PE3ORPEB
mr5OuaGPtawrCutijyW2Epl3jyk7L17HaSmkbCCbowhgsODIFN3CPf1vrhrP1YuF
YfqEl+FANXE4bLFecKrYGPQ=
=nWB4
-----END PGP SIGNATURE-----
--- a/src/opts.c
+++ b/src/opts.c
@@ -218,6 +218,7 @@ int compat_iscmd(char *a) {
    || strcmp(a,"vt")==0
    || strcmp(a,"vb")==0
    || strcmp(a,"x")==0
+   || strcmp(a,"y")==0
   ) {
     return (1==1);
   }

Reply via email to