Bug 105594

Summary: makewhatis chokes when it sees a directory under manpath
Product: [Retired] Red Hat Linux Reporter: Need Real Name <cchen>
Component: manAssignee: Eido Inoue <havill>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: low    
Version: 9Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 1.5k-12 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-10-09 22:14:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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