Article View: comp.windows.interviews
Article #672Bug and fix in ListUpdater 3.1b3
From: Jeff Palmucci
Date: Wed, 14 Oct 1992 23:39
Date: Wed, 14 Oct 1992 23:39
18 lines
720 bytes
720 bytes
I think I have found a bug in the implementation of ListUpdater.
In the file list.h:
the line
inline void ListUpdater(List)::remove_cur() { list_->remove(cur_); } \
should be
inline void ListUpdater(List)::remove_cur() { end_--; list_->remove(cur_); } \
If I am wrong, could someone in the know tell me. I have patched my local
copy and to not want to inadvertently break other things.
Thanks
Jeff
Technical Details
Message-ID:
<ldpbsmINNm57@news.bbn.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!olivea!news.bbn.com!jpalmuccShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!olivea!news.bbn.com!jpalmucc From: jpalmucc@bbn.com (Jeff Palmucci) Newsgroups: comp.windows.interviews Subject: Bug and fix in ListUpdater 3.1b3 Message-ID: <ldpbsmINNm57@news.bbn.com> Date: 14 Oct 92 23:39:02 GMT Lines: 18 NNTP-Posting-Host: bbn.com