Bug 126844

Summary: gawk bug with more than one -f on ppc64
Product: [Fedora] Fedora Reporter: Jakub Jelinek <jakub>
Component: gawkAssignee: Florian La Roche <laroche>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: powerpc   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-06-28 16:06:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Jakub Jelinek 2004-06-28 11:13:22 UTC
Description of problem:
echo 'function foo(x) { return x }' > a.awk; echo 'BEGIN { print "Hello" }' > b.awk; gawk -f a.awk -f b.awk
ought to print Hello, but doesn't print anything on ppc64.
rpm -q gawk
gawk-3.1.3-8
Strace shows the second .awk source has not been even read.

Comment 1 Thomas Woerner 2004-06-28 16:06:40 UTC
Fixed in rawhide in rpm gawk-3.1.3-9 or newer.