pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pdf-devel] Re: Bug in pdf_stm_flush()


From: Łukasz Spintzyk
Subject: [pdf-devel] Re: Bug in pdf_stm_flush()
Date: Fri, 6 Feb 2009 13:26:27 +0100

Thanks for bugfix, all works fine now.
pdf_stm_flush works fine, however i can't see any way of making more room in beckend.
Using pdf_stm_seek(stm, 0) cause that data in input bufer of null filter is lost.
I think making public pdf_stm_be_seek(stm->beckend, 0).
or ability to get beckend of writing stream and apply it to reading stream.

Another idea is that pdf_stm_flush schould return PDF_EINVOP, when reading stream is used. Now there is returned 0.

That is all. I am sending also patch with changes to:
torture/unit/Makefile.am
torture/unit/base/stm/tsuite-stm.c
and a file torture/unit/base/stm/pdf-stm-flush.c

Attachment: pdf_stm_flush.patch
Description: Text Data

Attachment: pdf-stm-flush.c
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]