Article View: news.software.readers
Article #205879Re: [slrn] newbie stuck some what
From: Ben Shimmin
Date: Sat, 15 Sep 2007 03:20
Date: Sat, 15 Sep 2007 03:20
58 lines
3084 bytes
3084 bytes
Blinky the Shark <no.spam@box.invalid>:
> Ben Shimmin wrote:
>> If you want to use Thomas' patch, I would suggest reading the manpage at
>> patch(1).
>
> Did.
>
> I wasn't surprised to get:
>
> <q>
>
> [blinky@thurston src]$ patch -b mime.c patch_for_mime.c
> patching file mime.c
> Hunk #1 FAILED at 1231.
> 1 out of 1 hunk FAILED -- saving rejects to file mime.c.rej
>
> </q>
I can't be bothered checking out the source, but assuming it's the same
as the one I just downloaded from
<URL:http://slrn.cvs.sourceforge.net/*checkout*/slrn/slrn/src/mime.c?revision=1.17>
(and I can't see why it wouldn't be, but who knows), the following slightly
twiddled patch worked for me:
#v+
--- mime.c 2007-09-15 03:50:42.000000000 +0100
+++ mime.c 2007-09-15 03:51:29.000000000 +0100
@@ -1028,12 +1028,18 @@
if (strlen(s) <= 78)
{
/* nothing to do */
return NULL;
}
+
+ if (slrn_case_strncmp(s,"x-face:",7) == 0)
+ {
+ /* leave X-Face untouched do */
+ return NULL;
+ }
/* First step: counting. */
/* skip the first word and all ws after it
* (folding after the keyword is not allowed) */
/* I'm not sure about that FS */
#v-
If that doesn't work for you, just stick the six lines beginning with a
plus sign into mime.c in the appropriate place. Good luck!
b.
--
<bas@bas.me.uk> <URL:http://bas.me.uk/>
Enjoy responsibly.
Technical Details
Message-ID:
<slrn.2007-09-15.03-17-29@cunegonde.bas.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news1.google.com!news.glorb.com!news-peer-lilac.gradwell.net!not-for-mailReferences:
<GuGdnb2Nc_-5qnrbnZ2dnUVZ_ramnZ2d@insightbb.com> <20070912112705@usenet.piggo.com> <os-dnRw9ioRgQHrbnZ2dnUVZ_jOdnZ2d@insightbb.com> <slrnfegii7.har.no.spam@thurston.blinkynet.net> <aradnU51muySyXXbnZ2dnUVZ_uXinZ2d@insightbb.com> <slrnfeglhs.kdq.no.spam@thurston.blinkynet.net> <aradnUt1mux4y3XbnZ2dnUVZ_uXinZ2d@insightbb.com> <fcdrth$hhj$2@registered.motzarella.org> <slrnfekttr.8ol.wiegner@dost.mchm.siemens.de> <slrnfekubn.ukn.no.spam@thurston.blinkynet.net> <sqpqr4-eg8.ln1@wiegner.user.individual.de> <slrnfelmki.4u6.no.spam@thurston.blinkynet.net> <slrn.2007-09-14.19-53-40@cunegonde.bas.me.uk> <pan.2007.09.15.02.00.13.218296@thurston.blinkynet.net>Show Full Headers
Complete Article Headers
Message-ID: <slrn.2007-09-15.03-17-29@cunegonde.bas.me.uk> Subject: Re: [slrn] newbie stuck some what Date: Sat, 15 Sep 2007 04:20:42 +0100 From: Ben Shimmin <bas@llamaselector.com> References: <GuGdnb2Nc_-5qnrbnZ2dnUVZ_ramnZ2d@insightbb.com> <20070912112705@usenet.piggo.com> <os-dnRw9ioRgQHrbnZ2dnUVZ_jOdnZ2d@insightbb.com> <slrnfegii7.har.no.spam@thurston.blinkynet.net> <aradnU51muySyXXbnZ2dnUVZ_uXinZ2d@insightbb.com> <slrnfeglhs.kdq.no.spam@thurston.blinkynet.net> <aradnUt1mux4y3XbnZ2dnUVZ_uXinZ2d@insightbb.com> <fcdrth$hhj$2@registered.motzarella.org> <slrnfekttr.8ol.wiegner@dost.mchm.siemens.de> <slrnfekubn.ukn.no.spam@thurston.blinkynet.net> <sqpqr4-eg8.ln1@wiegner.user.individual.de> <slrnfelmki.4u6.no.spam@thurston.blinkynet.net> <slrn.2007-09-14.19-53-40@cunegonde.bas.me.uk> <pan.2007.09.15.02.00.13.218296@thurston.blinkynet.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news1.google.com!news.glorb.com!news-peer-lilac.gradwell.net!not-for-mail Newsgroups: news.software.readers Organization: criminal mastermind Cancel-Lock: sha1:SMD2T8EJzRQ1csw3XQdHxEOzxoY= User-Agent: slrn/0.9.8.1pl1 (Darwin) Lines: 58 NNTP-Posting-Host: 80.68.91.231 X-Trace: 1189826884 news.gradwell.net 657 bas/80.68.91.231:1678 X-Complaints-To: news-abuse@gradwell.net