Re: Bug in HTCache.c

Hello Jens,

Thanks for your message.

I agree with your analysis and comitted your patch. 

One thing that's
strange is that at least under Windows, it didn't made any difference
in Amaya, whether I used HT_FT_RDONLY or HT_FB_RDONLY.

-Jose

P.S., as we're preparing a new Amaya release for early next week, I haven't
had much time to continue applying libwww patches. I'll continue to do so
next week, after the release.


In our previous episode, Jens Meggers said:

> I found a possible bug in CacheEvent of HTCache.c
> The bug disables caching of binary objects. I changed the read mode in CacheEvent from HT_FT_RDONLY to HT_FB_RDONLY.
> The change lets the cache procedure read from the stored files with mode "rb" instead of "r". When using "r", the read operation stops early with an EOF result.
> I assume the bug only apprears on Win32 systems because files are opened in another way on Unix systems.

Received on Friday, 30 June 2000 05:33:14 UTC