🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #73414

Re: [slrn] patch: correct threading of multi-part binaries

#73414
From: Jurriaan (note: this is a workin...
Date: Sun, 11 Mar 2001 20:31
34 lines
1823 bytes
On 11 Mar 2001 20:04:08 GMT, Jurriaan (note: this is a working address!)
<no_spam_here@rivierenland.xs4all.nl> wrote:
>
>It was amazingly simple, after all:
>

not simple enough to make a mess of it, I guess.

>   while (*sa == *sb)
>    {
>      if ( (*sa == 0) || (*sb == 0) )
>         return 1;
>    }
>
Make that

   while (*sa++ == *sb++)
    {
      *sa++;
      *sb++;
      if ( (*sa == 0) || (*sb == 0) )
         return 1;
    }

And add a thousand mantra's "I shall not remove debugging code and post
before testing."

Jurriaan
-- 
BOFH excuse #129:

The ring needs another token
GNU/Linux 2.4.2-ac18 SMP/ReiserFS 2x1743 bogomips load av: 0.08 0.02 0.01
Technical Details
Message-ID: <slrn9annu5.6qu._hate_spam_thunder7@middle.of.nowhere>
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!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!transit.news.xs4all.nl!no_spam_here
References: <slrn9anm3u.1lf._hate_spam_thunder7@middle.of.nowhere>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9annu5.6qu._hate_spam_thunder7@middle.of.nowhere>
Subject: Re: [slrn] patch: correct threading of multi-part binaries
Date: Sun, 11 Mar 2001 20:31:50 +0000
From: no_spam_here@rivierenland.xs4all.nl (Jurriaan (note: this is a working address!))
References: <slrn9anm3u.1lf._hate_spam_thunder7@middle.of.nowhere>
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!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!transit.news.xs4all.nl!no_spam_here
Newsgroups: news.software.readers
Organization: XS4ALL Internet BV
Lines: 33
NNTP-Posting-Host: rivierenland.xs4all.nl
X-Trace: news1.xs4all.nl 984342710 19966 194.109.14.47 (11 Mar 2001 20:31:50 GMT)
X-Complaints-To: abuse@xs4all.nl
NNTP-Posting-Date: 11 Mar 2001 20:31:50 GMT
X-Face: b$-F+98,@$_I=*ODq'<K2(OA)qC&,(GP=z2^`4dwQwy&e;!|R?>")k9FH3?YC+%*kF\=<Rx"Hy2_eyMtnFSiO8
User-Agent: slrn/0.9.6.3 (GNU/Linux)