[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: |
Aleksander Morgado |
Subject: |
Re: [pdf-devel] utils/pdf-filter.c: found 2 small problems/bugs? |
Date: |
Wed, 06 Jul 2011 15:13:05 +0200 |
> 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?
>
The library should be allowing it, so I do not see why not.
--
Aleksander
signature.asc
Description: This is a digitally signed message part