🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #205882

Re: [slrn] newbie stuck some what

#205882
From: Blinky the Shark
Date: Sat, 15 Sep 2007 03:58
67 lines
3904 bytes
Ben Shimmin wrote:
> 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-

[blinky@thurston src]$ patch -b mime.c ben_patch_for_mime.c
patching file mime.c
Hunk #1 FAILED at 1028.
1 out of 1 hunk FAILED -- saving rejects to file mime.c.rej

> 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!

Perhaps.  Thank you, Ben, for giving this a shot for me.


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project:
http://improve-usenet.org  <----------- New Site Aug 28
Technical Details
Message-ID: <slrnfemm3t.abl.no.spam@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!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!news.tiscali.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
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> <slrn.2007-09-15.03-17-29@cunegonde.bas.me.uk>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfemm3t.abl.no.spam@thurston.blinkynet.net>
Subject: Re: [slrn] newbie stuck some what
Date: Sat, 15 Sep 2007 03:58:14 +0000
From: Blinky the Shark <no.spam@box.invalid>
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> <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!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!news.tiscali.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: http://blinkynet.net
Lines: 67
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: individual.net /uBWrbdrDpS/pX9I5apCQQWHXN1P3cL/KxUAB27aDmPQVMLXiz
Cancel-Lock: sha1:hwLu8lh7tgL+PaW76JdO7uD2W9Q=
X-The-Usenet-Improvement-Project: http://improve-usenet.org
X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%;
 )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E
X-OS: Mandriva 2006 Linux; kernel 2.6.12
X-WebTV-Stationery: Standard; BGColor=black; TextColor=black
User-Agent: slrn/0.9.8.1pl2.1 (Linux)