W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2000

Bug in HTNet module ?

From: Amir Khassaia <AKhassaia@vet.com.au>
Date: Wed, 16 Feb 2000 23:50:43 -0500 (EST)
Message-ID: <38AB7DCC.CB178560@vet.com.au>
To: www-lib@w3.org
I have noticed an inconsistency in the WWWlib 5.2.8 source:
In HTNet.c
function HTNet_delete ( )
it says that the After filters need to be called before the deletion of
the HTNet object (big comment below), but in fact the free(net) call is
before the After filter execution started by HTNet_executeAfterAll ( )

Here is the bit of the code from the function :

    /* Remove object from the table of Net Objects */

     /* Call AFTER filters */
 HTNet_executeAfterAll(request, status);  <= This needs to be moved
between unregister and free calls ?

 ** Truely delete the HTNet object. Thanks to Mikhail Grouchinski
 ** we now do this after having called the after filters so that
 ** these filters can use the information in the Net object

 People agree with me ?
Received on Thursday, 17 February 2000 03:53:20 UTC

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