Article View: news.software.nntp
Article #83964Re: What is this log message?
From: Julien ÉLIE
Date: Thu, 07 Apr 2011 18:58
Date: Thu, 07 Apr 2011 18:58
41 lines
3045 bytes
3045 bytes
Hi John,
> While looking in various files I did discover a small comment typo in
> innreport:
>
> - # A hugly hack to convert hashes to lists..
> + # An ugly hack to convert hashes to lists,
I think it was intentional.
A nice misspell to highlight the ugliness of the hack :-)
> Oh! Digging more I found it! Here's what you wanted to know:
>
> my %ctlinnd = ('a', 'addhist', 'D', 'allow',
> 'b', 'begin', 'c', 'cancel',
>
> INN 2.5.2 /usr/lib/news/innreport_inn.pm
OK, thanks for the pointer. I now understand why we have discrepancies
between our two checks of the letters.
I checked at the source (where ctlinnd generates the letter from the
input of the user).
We have the list at three places (at least): ctlinnd, innd and
innreport. The last one seems very outdated.
Russ is of course right when he suggests to no longer use the letters;
it will also increase the maintainability because it will allow to
remove the duplicate (and outdated) translation list in innreport.
I have just noted to do the change. Not difficult to do. The only
downside is that innreport will not properly report ctlinnd commands the
day when INN is upgraded to the new version with complete command names.
I think it is not a big deal (we already did the same thing once when
we changed the way checkpoints are handled by INN).
--
Julien ÉLIE
« Le travail, c'est le refuge des gens qui n'ont rien de mieux à
faire. » (Oscar Wilde)
Technical Details
Message-ID:
<inl1fv$fju$1@news.trigofacile.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.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin3!goblin.stu.neva.ru!gegeweb.org!news.trigofacile.com!.POSTED.aaubervilliers-552-1-84-69.w90-3.abo.wanadoo.fr!not-for-mailReferences:
<indk25$10u$1@cs6.cmpublishers.com> <87tyedoap2.fsf@windlord.stanford.edu> <indnf9$qro$1@cs6.cmpublishers.com> <87d3l1o6fi.fsf@windlord.stanford.edu> <ineefe$vu2$2@n102.xanadu-bbs.net> <90450iFpkjU1@mid.individual.net> <inivhd$7cd$1@n102.xanadu-bbs.net>Show Full Headers
Complete Article Headers
Message-ID: <inl1fv$fju$1@news.trigofacile.com> Subject: Re: What is this log message? Date: Thu, 07 Apr 2011 20:58:05 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <indk25$10u$1@cs6.cmpublishers.com> <87tyedoap2.fsf@windlord.stanford.edu> <indnf9$qro$1@cs6.cmpublishers.com> <87d3l1o6fi.fsf@windlord.stanford.edu> <ineefe$vu2$2@n102.xanadu-bbs.net> <90450iFpkjU1@mid.individual.net> <inivhd$7cd$1@n102.xanadu-bbs.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.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin3!goblin.stu.neva.ru!gegeweb.org!news.trigofacile.com!.POSTED.aaubervilliers-552-1-84-69.w90-3.abo.wanadoo.fr!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 7 Apr 2011 18:58:07 +0000 (UTC) Injection-Info: news.trigofacile.com; posting-host="aaubervilliers-552-1-84-69.w90-3.abo.wanadoo.fr:90.3.91.69"; logging-data="15998"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr; In-Reply-To: <inivhd$7cd$1@n102.xanadu-bbs.net> Lines: 40