🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26789

Re: inn-1.5.1 problems with Solaris 2.6

#26789
From: Forrest J. Cavalier III
Date: Thu, 12 Mar 1998 00:00
37 lines
2306 bytes
In article <6e893b$d0t$1@news.gv.tsc.tdk.com>, gdonl@tsc.tdk.com wrote...
>
>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.

...Not a problem if
   the "extension" error codes were fixed at a single value (always             
   "F9999", for example.)  The person looking at the reference
   table would know to use the text string, not the error code,
   AND the person would know it was not generated by stock INN.

Forrest


Technical Details
Message-ID: <6e8vs1$2ip$2@nntp.epix.net>
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> <6e893b$d0t$1@news.gv.tsc.tdk.com>

Show Full Headers
Complete Article Headers
Message-ID: <6e8vs1$2ip$2@nntp.epix.net>
Subject: Re: inn-1.5.1 problems with Solaris 2.6
Date: Thu, 12 Mar 1998 00:00:00 +0000
From: mibsoft@mibsoftware.com (Forrest J. Cavalier III)
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> <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
X-Deja-AN: 333359716
Distribution: inet
Content-Type: Text/Plain; charset=US-ASCII
Organization: Mib Software
Mime-Version: 1.0
Newsgroups: news.software.nntp