🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #609

Re: NNTP with CNEWS with DBZ

#609
From: Tad Guy
Date: Mon, 30 Jul 1990 15:28
34 lines
1741 bytes
In article <6313@helios.ee.lbl.gov> jef@ace.ee.lbl.gov (Jef Poskanzer) writes:
> Does anybody do this?  Is there some trick that we're missing?  Nntpd
> claims that cnews already has whatever article we offer to it.  I thought
> that configuring NNTP to use DBM calls but linking with the DBZ library
> would be enough, but apparently not.

If you define BSD_43, common/conf.h forces a defintion of NDBM, even
if you've explicitly defined DBM earlier in the file.  The following
patch prevents this behavior.  After patching, link with dbz.o (not
-ldbm), and it should correctly reject dups.

	...tad

***************
*** 127,134 ****
  #             define READ_SUPER
  #     endif
  #   endif
! #     ifndef NDBM
! #             define NDBM
  #     endif
  #endif

--- 127,136 ----
  #             define READ_SUPER
  #     endif
  #   endif
! #     ifndef DBM
! #             ifndef NDBM
! #                     define NDBM
! #             endif
  #     endif
  #endif
Technical Details
Message-ID: <TADGUY.90Jul30112854@abcfd21.larc.nasa.gov>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utstat!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!abcfd20.larc.nasa.gov!tadguy
References: <6313@helios.ee.lbl.gov>

Show Full Headers
Complete Article Headers
Message-ID: <TADGUY.90Jul30112854@abcfd21.larc.nasa.gov>
Subject: Re: NNTP with CNEWS with DBZ
Date: Mon, 30 Jul 1990 15:28:54 +0000
From: tadguy@abcfd01.larc.nasa.gov (Tad Guy)
References: <6313@helios.ee.lbl.gov>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utstat!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!abcfd20.larc.nasa.gov!tadguy
Newsgroups: news.software.nntp
Sender: news@abcfd20.larc.nasa.gov (USENET File Owner)
Organization: NASA/Langley Research Center, Hampton, VA
Lines: 33
In-Reply-To: jef@ace.ee.lbl.gov's message of 30 Jul 90 06:29:31 GMT