🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #8486

nn breaks when group list >32767

#8486
From: Hugh Messenger
Date: Wed, 19 Mar 1997 00:00
24 lines
1124 bytes
I recently resyncronized my main active files to create a monster list of
groups, numbering some 34,000.  This has broken 'nn', which seems to assume
a signed int (in global.h)

typedef int16  group_number;

If anyone is still looking after 'nn'. they should probably fix that to be
an unsigned int!!

The error message reads:

% nn
Connecting to NNTP server news ...
Connecting to NNTP server news ... ok (posting is allowed)
can't create time hash (-31745 entries)

... which kind of gave me the clue of where to look ... -31745 is my number
of groups , but represented as a signed 16 bit int ... :(

   -- hugh


Technical Details
Message-ID: <01bc3480$1e232810$1ba08781@cerebus>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <01bc3480$1e232810$1ba08781@cerebus>
Subject: nn breaks when group list >32767
Date: Wed, 19 Mar 1997 00:00:00 +0000
From: "Hugh Messenger" <hmesseng@ingr.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
X-Deja-AN: 227606748
Organization: Intergraph
Newsgroups: news.software.nn