At 1:59 Uhr +0900 26.01.2002, Peter O'Gorman wrote:
>Sorry, Max, I was indeed talking about the info documentation files.
>The bug _is_ in install-info and is simple to fix. I don't know why
>it is not fixed in Debian sources, the bug has beed outstanding for
>well over a year.
You mean, it is a reported bug in dpkg? Can you point me at some
bugreport/old mail/whatever on this?
>Patch follows:
>
>--- install-info.pl.old Sat Jan 26 01:56:31 2002
>+++ install-info.pl Sat Jan 26 01:57:07 2002
>@@ -133,8 +133,8 @@
> while(<IF>) {
> m/^START-INFO-DIR-ENTRY$/ && last;
> m/^INFO-DIR-SECTION (.+)$/ && do {
>- $sectiontitle = $1 unless defined($sectiontitle);
>- $sectionre = '^'.quotemeta($1) unless defined($sectionre);
>+ $sectiontitle = $1 unless ($sectiontitle);
>+ $sectionre = '^'.quotemeta($1) unless ($sectionre);
> }
> }
> while(<IF>) { last if m/^END-INFO-DIR-ENTRY$/; $asread.= $_; }
>
>The problem being that both sectiontitle and sectionre are defined
>to the empty string.
I see what you mean. I'll look at the code, too, I'd like to know why
it is an empty string in the first place :)
>Trust me :-), it works with this fix.
>
>Without it any fink package that uses the InfoDocs: ends up with its
>documentation in hte misc section.
It's not that I am not trusting you, but please understand that I'd
like to fully understand the issue before changing something
fundamental like this.
Cheers,
Max
--
-----------------------------------------------
Max Horn
Software Developer
email: <mailto:[EMAIL PROTECTED]>
phone: (+49) 6151-494890
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel