Hi all,

The suggested change is reported to work according to Tony in 
news.software.nntp:

Date: Mon, 17 Jun 2013 19:27:21 +0100
Message-ID: <kpnke4$ihj$1...@matrix.darkstorm.co.uk>



In news.software.nntp, Martin Burmester <mar...@burmester.org> wrote:

> Am 03.06.2013 21:00, schrieb Julien ÉLIE:

>> Has anyone tested to change in nnrpd/perl.c the following line:
>>
>>    sv_setsv(body, &PL_sv_undef);
>>
>> to
>>
>>    body = &PL_sv_undef;

> Did anyone try if that works?

Yes, it works.

I got the source for inn2, modified nnrpd/perl.c as suggested,

root@xwing:~/build/inn2-2.5.3# fakeroot debian/rules binary
<snip>

root@xwing:~/build# dpkg -i inn2-inews_2.5.3-3_i386.deb
then
root@xwing:~/build# dpkg -i inn2_2.5.3-3_i386.deb

root@xwing:/etc/news# telnet 127.0.0.1 119
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
200 server.example.net InterNetNews server INN 2.5.3 ready (transit mode)
mode reader
200 server.example.net InterNetNews NNRP server INN 2.5.3 ready (posting
ok)
post
340 Ok, recommended message-ID <kpnk00$t4e$1...@xwing.darkstorm.co.uk>
From: Tony <tony@darkstorm.invalid>
Newsgroups: local.test
Subject: test6

test6
- --
Tony Evans
Saving trees and wasting electrons since 1993
blog  -> http://perceptionistruth.com/
books -> http://www.bookthing.co.uk/
[ anything below this line wasn't written by me ]

..
240 Article received <kpnk00$t4e$1...@xwing.darkstorm.co.uk>
quit
205 Bye!
Connection closed by foreign host.

I then apt-get removed inn2, and re-installed straight from the Debian
repository,

root@xwing:/etc/news# telnet 127.0.0.1 119
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
200 server.example.net InterNetNews server INN 2.5.3 ready (transit mode)
mode reader
200 server.example.net InterNetNews NNRP server INN 2.5.3 ready (posting
ok)
post
340 Ok, recommended message-ID <kpnk5h$bd$1...@xwing.darkstorm.co.uk>
From: Tony <tony@darkstorm.invalid>
Newsgroups: local.test
Subject: dfgsdfg

dfgdfgsdg
- --
Tony Evans
Saving trees and wasting electrons since 1993
blog  -> http://perceptionistruth.com/
books -> http://www.bookthing.co.uk/
[ anything below this line wasn't written by me ]
..
Bizarre copy of UNKNOWN.
Connection closed by foreign host.

-- 
Tony Evans
Saving trees and wasting electrons since 1993
blog -> http://perceptionistruth.com/ books
-> http://www.bookthing.co.uk/
[ anything below this line wasn't written by me ]


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to