Bug 105594 - makewhatis chokes when it sees a directory under manpath
Summary: makewhatis chokes when it sees a directory under manpath
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: man
Version: 9
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Eido Inoue
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-09-25 21:30 UTC by Need Real Name
Modified: 2007-03-27 04:10 UTC (History)
0 users

Fixed In Version: 1.5k-12
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-10-09 22:14:08 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2003-09-25 21:30:24 UTC
Description of problem:

We use RCS to manage our software revision and thus there is
an RCS directory under our /project/man/man1 directory.
When we run makewhatis against /project/man, makewhatis only
processes the result from the find command up to the RCS
directory, then exits.  Can makewhatis be modified to ignore
directories?

Here is the result from the makewhatis cron job:

awk: cmd. line:10: (FILENAME=- FNR=322) fatal: file `./RCS' is a directory

Version-Release number of selected component (if applicable):

man-1.5k-6

How reproducible:

always

Steps to Reproduce:
1.
2.
3.
    
Actual results:

Incomplete whatis database.

Expected results:


Additional info:

Comment 1 Eido Inoue 2003-10-09 22:14:08 UTC
find fixed so that only regular files (or symlinks to regular files) fitting the
pattern of "*.[1-9nl]" or "*.[1-9nl].gz" will be added to the whatis db


Note You need to log in before you can comment on or make changes to this bug.