Article View: news.software.nntp
Article #25463Re: dbz v3.3.2 in INN 1.7.2.insync-1.1d fails for large history files
From: Sang-yong Suh
Date: Thu, 22 Jan 1998 00:00
Date: Thu, 22 Jan 1998 00:00
25 lines
1552 bytes
1552 bytes
In article <821zy2jqrh.fsf@robin.eecs.umich.edu>, Michael Hucka <hucka@eecs.umich.edu> wrote: >"dbzconfbase" in dbz.c version 3.3.2. The specific problem I'm encountering >is that the loop at line #466 goes into an infinite loop: > > /* calculate tagging from old file */ > for (m = 1, i = 0; m < bsize; i++, m <<= 1) > continue; I never realized that there's such a bug in dbz-3.3.2. Actually, the buggy function dbzconfbase() was introduced by myself, replacing a few similar statements in the dbz-3.2 code, something like in dbztagmask(). >I examined the dbzconfbase function code and >thought about changing the type of "m" to be unsigned, thus gaining breathing >room in which the loop and subsequent calculations in dbzconfbase could work. I think the change will solve your problem. However, to be safe, I recommend you to change the type of 'm' in dbztagmask() as well. -- sysuh
Technical Details
Message-ID:
<6a688n$sti$1@news.kigam.re.kr>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<821zy2jqrh.fsf@robin.eecs.umich.edu>Show Full Headers
Complete Article Headers
Message-ID: <6a688n$sti$1@news.kigam.re.kr> Subject: Re: dbz v3.3.2 in INN 1.7.2.insync-1.1d fails for large history files Date: Thu, 22 Jan 1998 00:00:00 +0000 From: sysuh@news.kigam.re.kr (Sang-yong Suh) References: <821zy2jqrh.fsf@robin.eecs.umich.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 318186145 Reply-To: sysuh@kigam.re.kr Organization: Korea Inst Geology Mining & Materials Newsgroups: news.software.nntp