Urs Janßen | 2 Apr 2006 13:24

[tin 1.8.x / 1.9.x] patch: policy.h update

several new TLDs

--- include/policy.h	2005-12-02 12:08:13.000000000 +0100
+++ include/policy.h	2006-04-01 17:36:22.382649343 +0200
 <at>  <at>  -222,6 +222,7  <at>  <at> 
  * requested new TLDs:
  * .ax  Aaland-Islands (Finnish; planned for 2006)
  * .cs  Serbia and Montenegro
+ * .ct  Catalonia
  *
  * xccTLDs:
  * .gb  United Kingdom, use .uk
 <at>  <at>  -268,6 +269,7  <at>  <at> 
  */
 static const char *gnksa_domain_list[] = {
 	"biz",	/* Businesses */
+	"cat",	/* Catalan linguistic and cultural community */
 	"com",	/* Commercial */
 	"edu",	/* Educational */
 	"gov",	/* US Government */
 <at>  <at>  -280,12 +282,15  <at>  <at> 
 	"arpa",	/* Address and Routing Parameter Area */
 	"coop",	/* Non-profit cooperatives */
 	"info",	/* Unrestricted use */
+	"jobs",	/* Human resource managers */
+	"mobi",	/* Mobile products and services */
 	"name",	/* For registration by individuals */
 	"museum",	/* Museums */
+	"travel",	/* Travel industry */
 	/*
(Continue reading)

Urs Janßen | 9 Apr 2006 18:43

[ANNOUNCE] tin 1.9.1 released

<ftp://ftp.tin.org/pub/news/clients/tin/v1.9/tin-1.9.1.tar.gz>
<ftp://ftp.tin.org/pub/news/clients/tin/v1.9/tin-1.9.1.tar.bz2>

-- 1.9.1 release 20060409 "Benmore" --

U002) Urs Janssen <urs <at> tin.org>
      ADD. slrn style verbatim mark support (#v+/#v-)
      ADD. use tinrc.date_format for %D date expansion
      ADD. config.guess update
      REM. unused gb, so and um TLDs
      FIX. config.guess, autoconf.hin, extern.h, tin.h, cook.c, init.c
           memory.c, misc.c, tin.1

 009) Urs Janssen <urs <at> tin.org>
      BUG. didn't reissue GROUP cmd after reconnect with authentication
      BUG. possible buffer overflow
      REM. unnecessary test for wcsnlen
      ADD. cat, jobs, travel and mobi TLDs
      FIX. aclocal.m4, policy.h, misc.c, nntplib.c

-- 1.9.0 release 20060228 "Ardlussa" --

Michael Bienia | 14 Apr 2006 15:08
Picon
Picon

[PATCH] Make VERBATIM_*_REGEX user configurable

Hello,

the attached patch makes VERBATIM_*_REGEX user configurable.

Michael
 doc/TODO           |    2 +-
 include/extern.h   |    2 ++
 include/tin.h      |    4 ++--
 include/tinrc.h    |    2 ++
 src/config.c       |   14 ++++++++++++++
 src/init.c         |   12 +++++++++---
 src/lang.c         |   14 ++++++++++++++
 src/options_menu.c |   18 ++++++++++++++++++
 src/tincfg.tbl     |    2 ++
 9 files changed, 64 insertions(+), 6 deletions(-)
diff -Nurp tin-1.9.1/doc/TODO tin-1.9.1.patched/doc/TODO
--- tin-1.9.1/doc/TODO	2006-03-16 16:10:26.000000000 +0100
+++ tin-1.9.1.patched/doc/TODO	2006-04-14 14:03:41.451597779 +0200
 <at>  <at>  -177,7 +177,7  <at>  <at>  o  allow bold, underline, italic, ... as
    [20030218 Serge Matveev <sm <at> cl.spb.ru>]

 o  add 'M'enu option to turn on/off slrn '#v+'/'#v-' verbatim mark handling.
-   (and make the VERBATIM_*_REGEXs user configurable; add a verbatim_color; ...)
+   (and add a verbatim_color; ...)
    [20060311 Urs Janssen <urs <at> tin.org>]

 o  hierarchical 'M'enu, e.g. put all art_marked_*into a 'submenu', ...
diff -Nurp tin-1.9.1/include/extern.h tin-1.9.1.patched/include/extern.h
(Continue reading)

Urs Janßen | 17 Apr 2006 14:40

Re: Tin 1.9.0 core dump

In <20060310135220.GA25874 <at> akk.org>, Urs Janßen wrote:
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x0 in ?? ()
> > (gdb) bt
> > #0  0x0 in ?? ()
> > #1  0x8099bc1 in pcre_compile2 ()
> > #2  0x8098bed in pcre_compile ()
> > #3  0x8086e31 in compile_regex (
> >     regex=0x80e2aaf "(R[eE](\\^\\d+|\\[\\d\\])?|A[wW]|Odp):\\s",
> >     cache=0x8122c04, options=16) at ./regex.c:124
> 
> looks ok to me (but could be optimized as it's done in the newwer version)
> 
> > #4  0x806403e in postinit_regexp () at ./init.c:922
> > #5  0x806c1a8 in main (argc=3, argv=0xbffff564) at ./main.c:217
> > 
> > 
> > So, a problem in the new PCRE version... and a strip_re_regex value in the
> > tinrc file that can be REALLY old...
> > 
> > But after removing the tinrc file and creating a new one with tin 1.8.1
> > I still get the core dump and the trace
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x0 in ?? ()
> > (gdb) bt
> > #0  0x0 in ?? ()
> > #1  0x8099bc1 in pcre_compile2 ()
> > #2  0x8098bed in pcre_compile ()
> > #3  0x8086e31 in compile_regex (
> >     regex=0x80e2aaf "(?:R[eE](?:\\^\\d+|\\[\\d\\])?|A[wW]|Odp|Sv):\\s",
(Continue reading)

Urs Janßen | 21 Apr 2006 14:45
Favicon

Re: BUG REPORT tin 1.9.1 release 20060409 ("Benmore") [UNIX]

On Fr, Apr 21, 2006 at 12:07:21 +0200, Sven Gottwald wrote:
> After starting tin I go to de.soc.netzkultur.umgangsformen and press "u".
> tin says "Can't find base article 121".  After pressing "u" again tin crashes:
> 
> ---SNIP---
> Program received signal SIGFPE, Arithmetic exception.
> 0x0804df4a in thread_by_percentage (group=0x402bf4a0) at art.c:773
> 773                     if ((unmatched * 100) / slen > percentage) {
> (gdb) bt
> #0  0x0804df4a in thread_by_percentage (group=0x402bf4a0) at art.c:773
> #1  0x0804e954 in make_threads (group=0x402bf4a0, rethread=1) at art.c:1097
> #2  0x080697bd in group_page (group=0x402bf4a0) at group.c:641
> #3  0x080ac34a in read_groups () at select.c:1035
> #4  0x080acb30 in select_read_group () at select.c:1261
> #5  0x080aa33e in selection_page (start_groupnum=0, num_cmd_line_groups=0) at select.c:218
> #6  0x0807ac5f in main (argc=1, argv=0xbffff4b4) at main.c:395
> (gdb) frame 0
> #0  0x0804df4a in thread_by_percentage (group=0x402bf4a0) at art.c:773
> 773                     if ((unmatched * 100) / slen > percentage) {
> (gdb) print unmatched
> $1 = 14
> (gdb) print slen
> $2 = 0
> (gdb) print percentage
> $3 = 25
> ---SNAP---

divison by zero caused by article <44406d65$0$23538$ba620e4c <at> news.skynet.be>
("empty" subject). the following patch should fix this (for the stable
branch as well):
(Continue reading)


Gmane