Article View: news.software.readers
Article #115356[slrn] s-lang macro question - buffer underflow
From: Ciro
Date: Sun, 01 Dec 2002 02:27
Date: Sun, 01 Dec 2002 02:27
26 lines
1723 bytes
1723 bytes
I've added this to .slrnrc:
set macro_directory "news/macros"
interpret "macros.sl"
and news/macros/macros.sl contains:
define make_from_string_hook ()
{
variable fromaddr;
fromaddr = "Ciro <spamtrap+";
fromaddr += localtime();
fromaddr += "@asgardnet.org>";
return fromaddr;
}
but when I try posting (to alt.test of course) I get an error about a
stack underflow error and it uses the "from" address from .slrnrc.
Who wants the honor of telling me what basic simple fact I forgot this
time? ;)
-C
Technical Details
Message-ID:
<YreG9.8059$yy.1086392@newsread1.prod.itd.earthlink.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <YreG9.8059$yy.1086392@newsread1.prod.itd.earthlink.net> Subject: [slrn] s-lang macro question - buffer underflow Date: Sun, 01 Dec 2002 02:27:04 GMT From: Ciro <spamtrap@asgardnet.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Newsgroups: news.software.readers Reply-To: spamtrap@asgardnet.org Approved: Maybe User-Agent: slrn/0.9.7.4 (FreeBSD) Lines: 25 NNTP-Posting-Host: 207.30.169.168 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1038709624 207.30.169.168 (Sat, 30 Nov 2002 18:27:04 PST) NNTP-Posting-Date: Sat, 30 Nov 2002 18:27:04 PST Organization: EarthLink Inc. -- http://www.EarthLink.net