Article View: news.software.readers
Article #127396Re: [slrn] bug with news: urls (0.9.7.4pl2)
From: Janne Nikula
Date: Mon, 30 Jun 2003 11:27
Date: Mon, 30 Jun 2003 11:27
21 lines
1764 bytes
1764 bytes
Mark Hill <mark_usenet@yahoo.co.uk> wrote:
> Hi I notice that when I write a URL like this:
> <news:alt.os.linux.slackware>
> the 'URL view' option sees the URL as
> alt.os.linux.slackware>
Yes, I have the same problem (using 0.9.7.4pl2) and it is annoying. The
following patch should make slrn to do the right thing in this context.
diff -ur slrn-0.9.7.4pl2.orig/src/art.c slrn-0.9.7.4pl2/src/art.c
--- slrn-0.9.7.4pl2.orig/src/art.c Sat Jan 4 14:37:49 2003
+++ slrn-0.9.7.4pl2/src/art.c Mon Jun 30 13:59:40 2003
@@ -891,7 +891,7 @@
}
/* at the end of the URL, these are probably punctuation */
- while ((tmp < ptr) && (NULL != slrn_strchr (".,;:()", *(ptr - 1))))
+ while ((tmp < ptr) && (NULL != slrn_strchr (".,;:()<>", *(ptr - 1))))
ptr--;
l_buf = ptr;
Technical Details
Message-ID:
<slrnbg07hh.gii.geetee@hawking.pp.htv.fi>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!hawking.pp.htv.FI!not-for-mailReferences:
<2003-06-30T00-05-26@bubble.markhill.me.uk>Show Full Headers
Complete Article Headers
Message-ID: <slrnbg07hh.gii.geetee@hawking.pp.htv.fi> Subject: Re: [slrn] bug with news: urls (0.9.7.4pl2) Date: Mon, 30 Jun 2003 11:27:13 +0000 From: Janne Nikula <jni@iki.fi> References: <2003-06-30T00-05-26@bubble.markhill.me.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!hawking.pp.htv.FI!not-for-mail Newsgroups: news.software.readers Lines: 21 NNTP-Posting-Host: hawking.pp.htv.fi (62.78.143.28) X-Trace: fu-berlin.de 1056972433 32918188 62.78.143.28 (16 [115368]) Mail-Copies-To: nobody X-URL: http://www.iki.fi/jni/ User-Agent: slrn/0.9.7.4pl2 (Linux)