On Thu, Apr 29, 2010 at 11:28:26AM +0200, Michal Hocko wrote:
> On Mon, Apr 26, 2010 at 05:19:38PM +0200, Michal Hocko wrote:
> > On Mon, Apr 26, 2010 at 05:11:26PM +0300, Jozef Misutka wrote:
> > > On Mon, 26 Apr 2010 16:44:58 +0300, Michal Hocko <mstsxfx@...> wrote:
> > >
> > > >Hi Jozo,
> > > >could you have a look at the attached patch before I commit it to the
> > > >CVS? It fixes bt#351. I am not about stream position manipulation. I
> > > >remember that we had to call Stream::reset at places, but I don't
> > > >remember why.
> > >
> > > i think it is because when you read something from the underlying
> > > stream e.g. in filestream you increase/change the position in every
> > > stream which was created from it.
> > So, do I need to reset after setPos(currPos)?
> Any idea?
> What about the patch in general? I have posted it to the xpdf author for
> inclusion but it is hard to tell whether he answer anytime soon.
The patch is in the CVS.