- From: Mike Bennett <mbennett@netcom.com>
- Date: Wed, 30 Sep 1998 17:41:12 -3100 (PDT)
- To: www-lib@w3.org
- Cc: mbennett@netcom2.netcom.com (Mike Bennett)
[first post: please forgive any etiquette violation]
I noticed that HTEventList_stopLoop() wouldn't cause the
HTEventList_loop() routine to stop (I'm using libwww on Solaris).
The problem is a duplication of the module-private HTEndLoop
flag within the HTEventList_loop routine. This makes the logic in
HTEventList_stopLoop() ineffective.
The 'cvs diff -c' for HTEvtLst.c follows (remove the local
copy of the HTEndLoop variable in HTEventList_loop() ).
Hope this helps --
-mike bennett (mbennett@netcom.com)
-------------
% cvs diff -c HTEvtLst.c
Index: HTEvtLst.c
===================================================================
RCS file: /sources/public/libwww/Library/src/HTEvtLst.c,v
retrieving revision 2.22
diff -c -r2.22 HTEvtLst.c
*** HTEvtLst.c 1998/05/19 16:49:23 2.22
--- HTEvtLst.c 1998/10/01 00:35:53
***************
*** 775,781 ****
ms_t now;
SOCKET s;
int status = HT_OK;
- HTEndLoop = 0;
EventOrderList = HTList_new(); /* is kept around until EventOrder_deleteAll */
--- 775,780 ----
Received on Wednesday, 30 September 1998 20:41:15 UTC