[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] utils/pdf-filter.c: found 2 small problems/bugs?
From: |
Georg Gottleuber |
Subject: |
Re: [pdf-devel] utils/pdf-filter.c: found 2 small problems/bugs? |
Date: |
Wed, 06 Jul 2011 13:34:02 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.17) Gecko/20110517 Lightning/1.0b2 Lanikai/3.1.10 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 06.07.2011 12:34, Aleksander Morgado wrote:
>> 1.) Calling ./pdf-filter with "--lzwenc --lzw-earlychange" the
>> earlychange arg is ignored. Because of the getopt_long loop design args
>> will only have an effect if named before the FILTER. Most simple fix
>> would be to make call convention [FILTER_ARGS FILTER]
>> instead of [FILTER FILTER_ARGS] (in the patch below)
>> But maybe it is more comfortable with some extra variables, so we can
>> call in any order. I can send a patch/merge directive for this too.
>>
>
> I would fix it so that we do not depend on the order of the args, or at
> least so that we follow the [FILTER FILTER_ARGS] order, which seems more
> natural.
Mh, do we want to have the freedom of applying the same filter with
different args multiple times in a stm?
Regards,
Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk4USCoACgkQ5sLITM1qIaI2eACeO2hr8WVgR0jSo8RVqXSNX8xT
O7UAn0eDioSnLnBz8ePT+e/GzHm9Z99u
=zuGA
-----END PGP SIGNATURE-----