Red Hat Bugzilla – Bug 180730
col is exiting with 1... but why? expecting 0.
Last modified: 2007-11-30 17:11:23 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7
Description of problem:
I found this while trying to rebuild my kawa package in Extras.
$ echo Foo | col -b
$ echo $?
col exits with 0 on FC4. I had a quick look at col.c and it's not obvious to me why we're exiting with 1 instead of 0.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run "echo Foo | col -b" and check the exit code.
Created attachment 124979 [details]
Fix for return code from col
This is broken in FC4 too. It broke a cgi-bin/man script on our web server
that was doing: man $topic | col -b
(In reply to comment #1)
> Created an attachment (id=124979) 
> Fix for return code from col
Karel - it would be great to get this fix into rawhide. It's blocking one of my
Extras contributions from building as-is.
Ah.. this is my bug. Sorry. I'll fix it ASAP. Thanks for the patch.
Why hasn't this fix been distributed yet? It causes failures
in many old stable shell scripts and the bug exists in FC4 and Rawhide.
From User-Agent: XML-RPC
util-linux-2.12p-9.14 has been pushed for FC4, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report.
(In reply to comment #6)
> util-linux-2.12p-9.14 has been pushed for FC4, which should resolve this
issue. If these problems are still present in this version, then please make
note of it in this bug report.
What about rawhide, where I originally reported the problem?