And here's the other part:

Mon Feb 27 13:26:47 GMT 2012  Colin Watson  <[email protected]>

        * src/whatis.c (main): Move locale manpath expansion to ...
          (locale_manpath): ... here (new function).
          (suitable_manpath): New function.
          (do_whatis): If a page contains a slash and is a path to an
          executable on $PATH, then look up its base name only in
          appropriate manual hierarchies.
          (search): Pass current manpath entry to do_whatis.
        * src/tests/whatis-1: New file.
        * src/tests/Makefile.am (ALL_TESTS): Add whatis-1.
        * NEWS: Document this.

(I deliberately made this change only for whatis, and not for apropos.
This is because whatis is documented as taking manual page names as
arguments, while apropos is documented as taking keywords (which are
regular expressions by default but may be in other formats).  Extending
the domain of exact manual page names to include executables that have
associated manual pages seems fairly safe to me, but I don't feel
comfortable with fiddling with the interpretation of the more general
search strings that you give to apropos.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/927028

Title:
  'apropos' maxes out CPU when run with '/bin/*' as argument

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/man-db/+bug/927028/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to