🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #205886

Re: [slrn] newbie stuck some what

#205886
From: Thomas Wiegner
Date: Sat, 15 Sep 2007 08:46
40 lines
2623 bytes
On Sat, 15 Sep 2007, Blinky the Shark <no.spam@box.invalid> wrote:

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

Strange thing, here it works perfectly, which code did you use? Against
the package on my homepage it works perfectly, against the CVS version
it works with a offset warning.

| wiegner@fliewatuet:/daten/src/slrn-0.9.8.1pl2~cvs20070125/src$ patch -b mime.c mime_xface_warning.patch 
| patching file mime.c
| Hunk #1 succeeded at 1026 (offset -205 lines).

Anyway. This patch should not be too hard to apply it by hand, 
search for this line in the mime.c

| static Slrn_Mime_Error_Obj *fold_line (char **s_ptr)/*{{{*/

and add this lines after the first if ( .. ){ .. } statement.

|   if (slrn_case_strncmp(s,"x-face:",7) == 0)
|     {
|        /* leave X-Face untouched*/
|        return NULL;
|     }

Cheers,

 Thomas
Technical Details
Message-ID: <voisr4-2t4.ln1@wiegner.user.individual.de>
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.ams.giganews.com!nntp.giganews.com!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>

Show Full Headers
Complete Article Headers
Message-ID: <voisr4-2t4.ln1@wiegner.user.individual.de>
Subject: Re: [slrn] newbie stuck some what
Date: Sat, 15 Sep 2007 10:46:55 +0200
From: Thomas Wiegner <wiegner@gmx.de>
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.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 40
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 1DSan+pB3jq9kOqdxtNLJQxtvVfLfVg/foWegOacKaiVAluTs=
X-Orig-Path: wiegner.user.individual.de!news
Cancel-Lock: sha1:j6DFIQq5AKkvNjKBYEE9LzUqlIA=
User-Agent: slrn/0.9.8.1pl2.1 (Linux)