Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Dec 2004 18:18:55 +0200
From:      Ville =?ISO-8859-1?Q?Skytt=E4?= <scop@FreeBSD.org>
To:        Jozef Matula <Jozef.Matula@iblsoft.com>
Cc:        FreeBSD-CVSweb <freebsd-cvsweb@freebsd.org>
Subject:   Re: BUGREPORT: Tab to space expanding bug
Message-ID:  <1102522735.7026.9.camel@bobcat.mine.nu>
In-Reply-To: <200412080935.30700.Jozef.Matula@iblsoft.com>
References:  <200412080935.30700.Jozef.Matula@iblsoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2004-12-08 at 09:35 +0100, Jozef Matula wrote:

> We use CVSweb version 3:3.0.2-2 under Debian Linux unstable distribution.
> 
> We found a bug in algorithm of expanding tabs into spaces in main CGI Perl 
> script:
>   - $1 was not in expansiong so, after multiple tab expansions text before 
> tabs was discarded
>   - expanding with less than $ts spaces was also incorrect, because $1 as (.*) 
> was matching longest string, including any previous NOT EXPANDED tabs.

This should be fixed in FreeBSD-CVSweb 3.0.4.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1102522735.7026.9.camel>