Bug 114246

Summary: getpgrp problems
Product: [Fedora] Fedora Reporter: d.binderman
Component: gawkAssignee: Thomas Woerner <twoerner>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-01-26 13:09:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description d.binderman 2004-01-25 13:35:40 UTC
Description of problem:

I just tried to compile package gawk-3.1.3-3, from Redhat
Fedora Core 1.

The compiler said


io.c(1443): warning #140: too many arguments in function call

The source code is

                sprintf(tbuf, "%d\n", (int) getpgrp(getpgrp_arg()));

My understanding is that getpgrp takes no parameters.


main.c(884): warning #140: too many arguments in function call

The source code is

        value = getpgrp(getpgrp_arg());


Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

Comment 1 Thomas Woerner 2004-01-26 13:09:54 UTC
Fixed in rawhide in RPM gawk-3.1.3-6 or newer.