Package: trn4 / 4.0-test77-12

Metadata

Package Version Patches format
trn4 4.0-test77-12 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
spoiler character.patch | (download)

art.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 treat formfeeds as spoiler characters even not at start of line

quoted printable segfault.patch | (download)

cache.c | 42 32 + 10 - 0 !
1 file changed, 32 insertions(+), 10 deletions(-)

 don't segfault on poorly-encoded quoted-printable header lines

subscription prompt overflow.patch | (download)

rcstuff.c | 11 6 + 5 - 0 !
1 file changed, 6 insertions(+), 5 deletions(-)

 prevent buffer overflow at the newsgroup subsciption prompt

Bug-Debian: http://bugs.debian.org/24783
posix conformance.patch | (download)

common.h | 6 3 + 3 - 0 !
environment.SH | 6 3 + 3 - 0 !
mbox_saver.SH | 4 2 + 2 - 0 !
norm_saver.SH | 2 1 + 1 - 0 !
trn.1 | 6 3 + 3 - 0 !
5 files changed, 12 insertions(+), 12 deletions(-)

 conform to posix.1-2001 option changes

Bug-Debian: http://bugs.debian.org/481863
earlier util init.patch | (download)

init.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 move util_init back up the initialisation order

doshell still doesn't work quite right if util_init hasn't been called.
This is noticeable when trying to use AUTHINFO GENERIC.

libtinfo.patch | (download)

Configure | 38 38 + 0 - 0 !
1 file changed, 38 insertions(+)

 check for libtinfo separately from libcurses

Committed upstream (cvsps patchset 125).

thread tree stability.patch | (download)

rt-process.c | 26 23 + 3 - 0 !
1 file changed, 23 insertions(+), 3 deletions(-)

 thread tree stability (fixes broken tree navigation)

longer line buffer.patch | (download)

common.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 segfault whilst applying killfile to article with long header line

This now reminds me of some investigations I did a few years back into a
similar issue in inn's nntpget.  I found that a small number of clients
did not trim References headers when they grew past 1024 bytes, or perhaps
trimmed before appending the new message-id rather than afterwards.

Regardless, the number of articles with References headers > 1024
was non-zero, but few had them very much longer than that as most of
these lengthy subthreads involved at least one person with a non-broken
newsreader.

I therefore think the attached patch should be more than adequate.
Tested here and solves the problem on all the newsgroups I'm subscribed
to that have long enough threads to cause this issue.

Bug-Debian: http://bugs.debian.org/682803
include sys ioctl.patch | (download)

common.h | 7 3 + 4 - 0 !
1 file changed, 3 insertions(+), 4 deletions(-)

 include <sys/ioctl.h> even if <sys/filio.h> exists

We may need it for terminal ioctls such as TIOCGWINSZ.  Fixes build on
Debian GNU/kFreeBSD.