[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] Patch for the Flate filter
From: |
jemarch |
Subject: |
Re: [pdf-devel] Patch for the Flate filter |
Date: |
Sat, 04 Oct 2008 04:22:40 +0200 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
The 'really_finish_p' is a local variable and hence, lost on each
function return, what you want is that when you set really_finish_p
= TRUE it keeps the value.
I see. It happens that the ahexenc filter return PDF_ENINPUT when it
is called with an empty input buffer, so the apply function of the
next filter in the chain returns EEOF and thus I got the desired
functionality :)
Ok, it seems that we can fix it storing really_finish_p in the filter
structure, so the value will be persistent through several calls to
apply.
I already did that little change and it seems to work, but I will test
it tomorrow at the morning and apply it if it really fix the problem.
Thanks for the report and the diagnosis, Gerel.
- Re: [pdf-devel] Patch for the Flate filter, (continued)
- Re: [pdf-devel] Patch for the Flate filter, gerel, 2008/10/01
- Re: [pdf-devel] Patch for the Flate filter, jemarch, 2008/10/02
- Re: [pdf-devel] Patch for the Flate filter, gerel, 2008/10/02
- Re: [pdf-devel] Patch for the Flate filter, jemarch, 2008/10/03
- Re: [pdf-devel] Patch for the Flate filter, jemarch, 2008/10/03
- Re: [pdf-devel] Patch for the Flate filter, gerel, 2008/10/03
- Re: [pdf-devel] Patch for the Flate filter,
jemarch <=
- Re: [pdf-devel] Patch for the Flate filter, jemarch, 2008/10/03
- Re: [pdf-devel] Patch for the Flate filter, gerel, 2008/10/03