🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #672

Bug and fix in ListUpdater 3.1b3

#672
From: Jeff Palmucci
Date: Wed, 14 Oct 1992 23:39
18 lines
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!jpalmucc

Show 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