πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79253

Re: Cleanfeed Binary Checks

#79253
From: Russ Allbery
Date: Sun, 03 Aug 2008 19:54
18 lines
1960 bytes
Julien Γ‰LIE <iulius@nom-de-mon-site.com.invalid> writes:

>    if (artBody) {
>        /* For Perl not to compute a hash for artBody, we give it "42". */
>        hv_store(hdr, "__BODY__", 8, newSVpvn_share(artBody, artLen, 42), 0);
>    }

> I do not think we need all the other functions (SVt_PV which specifies
> body is a scalar and SvPOK_on that it is a string).  READONLY (and FAKE)
> are implicit.

Yup, that looks right to me.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <8763qh3md9.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!news.stanford.edu!not-for-mail
References: <g61rme$nqb$1@news.mixmin.net> <g62e1h$ejc$1@news.trigofacile.com> <g6qtgm$sq3$1@bongo.bofh.it> <slrng94sta.c76.mnalis-news@eagle102.home.lan> <8763ql5sli.fsf@windlord.stanford.edu> <g6ua3g$4pe$1@news.trigofacile.com> <877ib0mp47.fsf@windlord.stanford.edu> <g71cn9$jfb$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <8763qh3md9.fsf@windlord.stanford.edu>
Subject: Re: Cleanfeed Binary Checks
Date: Sun, 03 Aug 2008 12:54:42 -0700
From: Russ Allbery <rra@stanford.edu>
References: <g61rme$nqb$1@news.mixmin.net> <g62e1h$ejc$1@news.trigofacile.com> <g6qtgm$sq3$1@bongo.bofh.it> <slrng94sta.c76.mnalis-news@eagle102.home.lan> <8763ql5sli.fsf@windlord.stanford.edu> <g6ua3g$4pe$1@news.trigofacile.com> <877ib0mp47.fsf@windlord.stanford.edu> <g71cn9$jfb$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!news.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 18
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.stanford.edu 1217793282 3906 171.64.19.147 (3 Aug 2008 19:54:42
 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
Cancel-Lock: sha1:HPlab7MO8KtW8tbOIUhc0E3dlLE=