W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2000

Re: Bug in HTCache.c

From: <jose.kahan@w3.org>
Date: Fri, 30 Jun 2000 11:33:08 +0200 (MET DST)
Message-Id: <200006300933.LAA02320@tuvalu.inrialpes.fr>
To: Jens Meggers <jens@meggers.com>
CC: www-lib@w3.org
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.


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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:52 UTC