Red Hat Bugzilla – Bug 120890
file -k switch broken. Version update + patch
Last modified: 2007-11-30 17:10:40 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040124
Description of problem:
The current version of the file package is 4.02-2, which has a bug
that makes the -k switch non functioning. The upstream package version
has a fix for this.
Using that updated package version, there is one minor bug due to a
literal \n being translated to \012 in the output.
I will attach the new .spec file, as well as the .patch for the
newline translation problem.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. file -k somefile
Actual Results: First match listed.
Expected Results: All matches listed.
Created attachment 99433 [details]
Patch for newline translation in output
Created attachment 99434 [details]
Updated .spec file
Patch added, updated to file-4.10