From dfr@render.com  Mon Jan 30 08:05:20 1995
Received: from minnow.render.com (render.demon.co.uk [158.152.30.118]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id IAA04266 for <FreeBSD-gnats-submit@freebsd.org>; Mon, 30 Jan 1995 08:05:08 -0800
Received: (from dfr@localhost) by minnow.render.com (8.6.9/8.6.9) id QAA28097; Mon, 30 Jan 1995 16:06:20 GMT
Message-Id: <199501301606.QAA28097@minnow.render.com>
Date: Mon, 30 Jan 1995 16:06:20 GMT
From: Doug Rabson <dfr@render.com>
Reply-To: dfr@render.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: unistd.h has an invalid declaration of fchown
X-Send-Pr-Version: 3.2

>Number:         195
>Category:       bin
>Synopsis:       unistd.h has an incorrect (invalid) declaration of fchown
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 30 08:10:01 1995
>Closed-Date:    Thu Feb 16 12:10:35 MET 1995
>Last-Modified:
>Originator:     Doug Rabson
>Release:        FreeBSD 2.0-RELEASE i386
>Organization:
RenderMorphics Ltd.
>Environment:

	

>Description:

	In FreeBSD-2.0, unistd.h declares fchown as:

		int	 fchown __P((int, int, int));

	which is inconsistend with the declaration of chown:

		int	 chown __P((const char *, uid_t, gid_t));


>How-To-Repeat:


>Fix:
	
	I believe that the correct declaration is:

		int	 fchown __P((int, uid_t, gid_t));

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Thu Feb 16 12:10:35 MET 1995 
State-Changed-Why:  
Suggested fix applied. 
>Unformatted:



