Bug#503472: man-db: improve support for .so search paths

2008-11-16 Thread Colin Watson
On Sun, Oct 26, 2008 at 12:07:55PM +, Colin Watson wrote:
 Mike Frysinger of Gentoo reported:
 
   - i seem to recall man-db not supporting '.so' search paths correctly:
- man/man5/foo.5:.so moo.5
- man/man5/foo1.5:.so man5/moo1.5
- man/man5/cow.5:.so man1/pig.1
 
 The latter two forms are supported, but the first isn't. I don't know of
 a standard for this, but we could either look in the same directory as
 the including file, or we could do some kind of more complete search
 through all manual page hierarchies.

I've partially fixed this upstream for 2.5.3:

Mon Nov 17 00:06:28 GMT 2008  Colin Watson  [EMAIL PROTECTED]

Make bare .so includes (i.e. .so foo.1 rather than .so
man1/foo.1) work, although only within the same manual page
hierarchy for now. Reported by Mike Frysinger; partially fixes
Debian bug #503472.

* src/zsoelim.l (zsoelim_open_file): Attempt to handle bare .so
  includes using look_for_file.
* src/Makefile.am (zsoelim_SOURCES): Add globbing.c, globbing.h, and
  util.c.

-- 
Colin Watson   [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#503472: man-db: improve support for .so search paths

2008-10-26 Thread Colin Watson
Package: man-db
Version: 2.5.2-3
Severity: normal

Mike Frysinger of Gentoo reported:

  - i seem to recall man-db not supporting '.so' search paths correctly:
   - man/man5/foo.5:.so moo.5
   - man/man5/foo1.5:.so man5/moo1.5
   - man/man5/cow.5:.so man1/pig.1

The latter two forms are supported, but the first isn't. I don't know of
a standard for this, but we could either look in the same directory as
the including file, or we could do some kind of more complete search
through all manual page hierarchies.

-- 
Colin Watson   [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]