🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #39135

Re: Slrn: customizing dates in attributions with slang

#39135
From: he... Heikki Kantola
Date: Thu, 26 Feb 1998 00:00
28 lines
1940 bytes

Jan Hlavacek <lah...@math.mps.ohio-state.edu> informed
news.software.readers with the following:
>On 25 Feb 1998 09:15:24 GMT, Heikki Kantola <he...@iki.fi> wrote:
>> As unfortunately Slrn and slang don't support locales and especially
>> formatting localized dates with strftime(), I've been trying to write 
>> macros to translate the dates. Writing the code to do the actual
>(snip)
>> the group as that hook is executed just once per group. So, tried
>> moving the code into followup_hook(), which appears to work fine in
>> some places, but rather often I also get a stack overflow...

Oops, it was actually an stack underflow (didn't look at the error
message carefully enough :( )...

>Why?

..which was caused by my stupid mistake I found today: I popped out
the first element of the stack and didn't do anything with it if it
didn't look like a weekday name (or actually 3-letter abreviation)...

-- 
Heikki "Hezu" Kantola, <Heikki...@IKI.FI>
Lähettämällä mainoksia tai muuta asiatonta sähköpostia yllä olevaan
osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
tunnilta.
Technical Details
Message-ID: <slrn6fbbus.1fv.hezu@tuuri.ling.helsinki.fi>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail
References: <slrn6f7o9a.61p.hezu@tuuri.ling.helsinki.fi> <slrn6f9oe4.78s.lahvak@math.mps.ohio-state.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrn6fbbus.1fv.hezu@tuuri.ling.helsinki.fi>
Subject: Re: Slrn: customizing dates in attributions with slang
Date: Thu, 26 Feb 1998 00:00:00 +0000
From: he...@iki.fi (Heikki Kantola)
References: <slrn6f7o9a.61p.hezu@tuuri.ling.helsinki.fi> <slrn6f9oe4.78s.lahvak@math.mps.ohio-state.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail
X-Deja-AN: 329051873
Content-Transfer-Encoding: 8bit
Mime-Version: 1.0
Mail-Copies-To: never
Content-Type: text/plain; charset=iso-8859-1
Organization: Department of General Wizardry, Unseen University, Ankh-Morpork
Newsgroups: news.software.readers,alt.lang.s-lang