W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1996

HTAlert_SetInteractive in HTCache.c

From: Stefan Nusser <nusser@dec6.wu-wien.ac.at>
Date: Thu, 28 Nov 96 15:18:10 MET
Message-Id: <9611281426.AA28296@dec6.wu-wien.ac.at>
To: www-lib@w3.org, frystyk@w3.org
Cc: neumann@mohegan.wi-inf.uni-essen.de

Hi,

I presume that someone has already mentioned this, but nevertheleess:

In HTCache.c ( @(#) $Id: HTCache.c,v 2.27 1996/10/10 22:33:52 frystyk Exp $), which
comes with libwww-5.0a, the library is put into non-interactive mode in order
to read the cache index. Interactive mode should be re-enabled thereafter.

After activating the cache, you are currently not able to use the
alert callback functions. The included patch will fix the problem.

-stefan


*** HTCache.c.orig      Thu Nov 28 16:54:46 1996
--- HTCache.c   Thu Nov 28 16:55:22 1996
***************
*** 503,508 ****
--- 503,509 ----
        HTAlert_setInteractive(NO);
        status = HTLoad(request, NO);
        HTRequest_delete(request);
+       HTAlert_setInteractive(YES);
        HT_FREE(file);
        HT_FREE(index);
      }


--
Stefan Nusser                         nusser@wu-wien.ac.at
Vienna University of Economics and Business Administration 
Department of Management Information Systems
Augasse 2-6,  A-1090 Vienna, Austria
Tel: +43 (222) 31 336 x4419                      Fax: x746
Received on Thursday, 28 November 1996 09:31:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:27 GMT