Bug 60285 - makewhatis "ignored strange file names" errors should not go to /dev/tty
makewhatis "ignored strange file names" errors should not go to /dev/tty
Product: Red Hat Raw Hide
Classification: Retired
Component: man (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: wdovlrrw
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2002-02-24 07:53 EST by Jonathan Kamens
Modified: 2007-04-18 12:40 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-02-24 08:38:24 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jonathan Kamens 2002-02-24 07:53:14 EST
I ran makewhatis with both stdout and stderr redirected to a file, and yet I got
a bunch of "ignored strange file name" errors in my xterm window.  This is
because the gawk script explicitly sends these errors to /dev/tty, which is just
broken.  It should use /dev/stderr.
Comment 1 Jonathan Kamens 2002-02-24 08:38:20 EST
I should also mention that the redirect to /dev/tty breaks when makewhatis is
run out of /etc/cron.daily/makewhatis.cron:

awk: cmd. line:54: (FILENAME=- FNR=548) fatal: can't redirect to `/dev/tty' (No
such device or address)
Comment 2 Bernhard Rosenkraenzer 2002-02-25 08:20:31 EST
You're right, fixed in 1.5j-3

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