tags 562789 fixed-upstream thanks On Mon, Jan 18, 2010 at 01:05:16PM +0000, Colin Watson wrote: > On Fri, Jan 01, 2010 at 02:52:32PM +0000, Colin Watson wrote: > > The error may be due to #562518, although I can't reproduce it myself in > > paer's sid chroot; can you confirm whether you still see it? However, > > the uninformative error message is very likely a bug in man-db, so I'll > > take it. > > manconv indeed doesn't report the location of iconv errors. I don't > really want to slow it down by making it report line positions when it > doesn't otherwise care about newlines, but it could report the byte > position without too much trouble, which can be given to such things as > vim's :goto command. > > lintian strips stuff off the start of man's stderr, which really doesn't > help! I'll try to put things in a form where it all works, and possibly > change lintian if that seems necessary (I have commit access). > > This shouldn't be too hard to fix, so I'll try to do it for 2.5.7.
A bit later than I'd intended, but I've committed a fix for 2.6.0 now. lintian doesn't actually seem to need to be changed after all - I think I misread the code in question earlier. Sun Dec 5 20:58:10 GMT 2010 Colin Watson <[email protected]> Provide byte positions in manconv errors (Debian bug #562789). * src/manconv.c (locate_error): New function. (try_iconv): Skip over processed input data after handling errors. Use locate_error to produce exact byte positions for conversion errors. Cheers, -- Colin Watson [[email protected]] -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

