Article View: news.software.nntp
Article #26393Re: dbz v3.3.2 in INN 1.7.2.insync-1.1d fails for large history files
From: Michael Hucka
Date: Wed, 18 Feb 1998 00:00
Date: Wed, 18 Feb 1998 00:00
28 lines
2162 bytes
2162 bytes
>>>>> On 13 Feb 1998, Andrew A. Vasilyev <andy@snm.demos.su> wrote: andy> To make this works you should also change the type of st_size member andy> of stat structure, which is off_t == long on most systems, aren't andy> you? And in dbzconfbase() and dbztagmask() the size arguments are andy> also long in size, not unsigned long? ________ ANDY I'm confused about what you mean by changing the type of st_size in the stat structure. You're proposing to change the stat structure defined in the system include files? The two changes I had posted are really only intended to give breathing room for certain intermediate computations performed by dbzconfbase() and dbztagmask(). They're not meant to affect your ability to reference files larger than the 2 GB limit implied by a 32 bit long int. The problem was just that those two functions in dbz.c were doing an intermediate calculation between 1 GB and 2 GB and, in the process, overflowed certain variables. That was probably not clear in my original posting. -- Mike Hucka -- hucka@umich.edu -- PhD student, UNIX admin & programmer $ Microsoft wants to monopolize the software industry and destroy the very $ things that lead to the Internet: cooperation, open standards, good-spirited $ competition, & the free exchange of ideas. Don't believe me? Read about it: $ http://www.netaction.org/msoft/world/ http://www.appraising-microsoft.org/
Technical Details
Message-ID:
<821zx14eat.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-mailReferences:
<821zy2jqrh.fsf@robin.eecs.umich.edu> <6a688n$sti$1@news.kigam.re.kr> <82oh109mrh.fsf@robin.eecs.umich.edu> <6c2864$h0m$1@news.demos.su>Show Full Headers
Complete Article Headers
Message-ID: <821zx14eat.fsf@robin.eecs.umich.edu> Subject: Re: dbz v3.3.2 in INN 1.7.2.insync-1.1d fails for large history files Date: Wed, 18 Feb 1998 00:00:00 +0000 From: Michael Hucka <hucka@eecs.umich.edu> References: <821zy2jqrh.fsf@robin.eecs.umich.edu> <6a688n$sti$1@news.kigam.re.kr> <82oh109mrh.fsf@robin.eecs.umich.edu> <6c2864$h0m$1@news.demos.su> 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: 326126689 Organization: University of Michigan EECS, Ann Arbor, Mich., USA Newsgroups: news.software.nntp