tags 446055 fixed-upstream
thanks
On Mon, Oct 15, 2007 at 10:33:13AM +0200, Vincent Lefevre wrote:
> On 2007-10-12 13:42:08 +0100, Colin Watson wrote:
> > Drat. In that case, could you just run:
> >
> > sudo -u man mandb --no-purge --quiet --create --debug 2>&1 | bzip2 -9c >
> > mandb.debug.bz2
> >
> > ... and mail me the resulting file? With any luck that should be enough.
>
> FYI, the problem still occurs with man-db 2.5.0-3, but there's now only
> one
>
> manconv: iconv_open: Invalid argument
>
> message. Here's an excerpt of this file:
[...]
> Starting pipeline: zcat < /usr/share/man/ja/man1/set-language-env.1.gz |
> /usr/lib/man-db/manconv -f UTF-8:EUC-JP -t UTF-8 [input: {0,
> /usr/share/man/ja/man1/set-language-env.1.gz}, output: {-1, NULL}]
> Started "zcat < /usr/share/man/ja/man1/set-language-env.1.gz", pid 6138
> Started "/usr/lib/man-db/manconv", pid 6139
> ++priv_drop_count = 2
> manconv: iconv_open: Invalid argument
Thanks, this test case explains the problem. I've fixed this upstream
now:
Mon Oct 15 10:13:57 BST 2007 Colin Watson <[EMAIL PROTECTED]>
* src/manconv.c (check_preprocessor_encoding): Allow only
alphanumerics and "-_/:.()" in encoding names (Debian bug
#446055). This matches everything in 'iconv --list' on my system.
(try_iconv): Include encoding names in error message if iconv_open
fails.
Cheers,
--
Colin Watson [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]