🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26776

Re: inn-1.5.1 problems with Solaris 2.6

#26776
From: Don Lewis
Date: Thu, 12 Mar 1998 00:00
30 lines
2039 bytes
In article <6e68pe$84$1@news.ro.com>, Chris Adams <cadams@ro.com> wrote:

>Another nice thing would be to use the C preprocessor defines __FILE__
>and __LINE__ to include exactly where in INN the error came from.  For
>some things (like really filling up the disk), it would be meaningless
>but for things that someone is trying to debug it would be usefull.  A
>#define wrapper for the error message functions is all that you need.

This works best if you have access to the actual source code in use.
If someone posts the value of __LINE__ to this newsgroup, it may be
somewhat misleading if they aren't running a stock release and have
installed some unknown set of patches.

Hmn, that's also a problem for:

>According to Forrest J. Cavalier III <mibsoft@mibsoftware.com>:
>>I've always thought that error reporting and handling in INN could
>>be greatly improved by including numeric error codes in addition
>>to the text message.

How do you assign numeric error codes for errors detected in unofficial
patches?  Two people working on two totally different pieces of code
could pick the same error code.
-- 
Don "Truck" Lewis                                       TDK Semiconductor
Internet: Don.Lewis@tsc.tdk.com                         138 New Mohawk Road
Phone: +1 530 478-8284       FAX: +1 530 478-8251       Nevada City, CA  95959

Technical Details
Message-ID: <6e893b$d0t$1@news.gv.tsc.tdk.com>
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
References: <6e3u1m$p4j$1@newsreader.wustl.edu> <6e5jin$4gb$1@mercur.foa.se> <6e63cp$slu$3@nntp.epix.net> <6e68pe$84$1@news.ro.com>

Show Full Headers
Complete Article Headers
Message-ID: <6e893b$d0t$1@news.gv.tsc.tdk.com>
Subject: Re: inn-1.5.1 problems with Solaris 2.6
Date: Thu, 12 Mar 1998 00:00:00 +0000
From: gdonl@tsc.tdk.com (Don Lewis)
References: <6e3u1m$p4j$1@newsreader.wustl.edu> <6e5jin$4gb$1@mercur.foa.se> <6e63cp$slu$3@nntp.epix.net> <6e68pe$84$1@news.ro.com>
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: 333270891
Distribution: inet
Organization: TDK Semiconductor, Nevada City CA
Newsgroups: news.software.nntp