From aryeh@flosoft.no-ip.biz  Mon Apr 14 18:38:56 2008
Return-Path: <aryeh@flosoft.no-ip.biz>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3F7BC1065673
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 Apr 2008 18:38:56 +0000 (UTC)
	(envelope-from aryeh@flosoft.no-ip.biz)
Received: from mta4.srv.hcvlny.cv.net (mta4.srv.hcvlny.cv.net [167.206.4.199])
	by mx1.freebsd.org (Postfix) with ESMTP id 143A08FC1B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 Apr 2008 18:38:55 +0000 (UTC)
	(envelope-from aryeh@flosoft.no-ip.biz)
Received: from flosoft.no-ip.biz
 (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta4.srv.hcvlny.cv.net
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 with ESMTP id <0JZB008SFVSUFGS0@mta4.srv.hcvlny.cv.net> for
 FreeBSD-gnats-submit@freebsd.org; Mon, 14 Apr 2008 14:38:55 -0400 (EDT)
Received: from flosoft.no-ip.biz (localhost [127.0.0.1])
	by flosoft.no-ip.biz (8.14.2/8.14.2) with ESMTP id m3EIcrVJ077595	for
 <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 Apr 2008 14:38:53 -0400
Received: (from aryeh@localhost)	by flosoft.no-ip.biz (8.14.2/8.14.2/Submit)
 id m3EIcpKl077558; Mon, 14 Apr 2008 14:38:51 -0400 (EDT envelope-from aryeh)
Message-Id: <200804141838.m3EIcpKl077558@flosoft.no-ip.biz>
Date: Mon, 14 Apr 2008 14:38:51 -0400 (EDT)
From: "Aryeh M. Friedman" <aryeh@flosoft.no-ip.biz>
Reply-To: "Aryeh M. Friedman" <aryeh@flosoft.no-ip.biz>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: fdopendir(3) is needed
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         122765
>Category:       kern
>Synopsis:       fdopendir(3) is needed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    delphij
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 14 18:40:02 UTC 2008
>Closed-Date:    Fri May 29 06:56:33 UTC 2009
>Last-Modified:  Fri May 29 06:56:33 UTC 2009
>Originator:     Aryeh M. Friedman <aryeh.friedman@gmail.com>
>Release:        FreeBSD 8.0-CURRENT amd64
>Organization:
FloSoft Systems
>Environment:
System: FreeBSD flosoft.no-ip.biz 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Apr 13 19:01:46 EDT 2008 root@flosoft.no-ip.biz:/usr/obj/usr/src/sys/MONSTER amd64


>Description:
	Even though the base system does not require fdopen(3) but many ports do
>How-To-Repeat:
	N/A
>Fix:

	Wrap fdopendir(3) around fdopen(3)... in general for all these ports just removing "dir" from the call works something like this should suffice:

	FILE *fdopendir(int fd)
	{
		return fopen(fd);
	}
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: delphij 
State-Changed-When: Mon Apr 14 19:10:31 UTC 2008 
State-Changed-Why:  
This is known issue and is already working on. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122765 
State-Changed-From-To: analyzed->patched 
State-Changed-By: delphij 
State-Changed-When: Wed Apr 16 19:03:20 UTC 2008 
State-Changed-Why:  
An implementation has been committed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122765 
Responsible-Changed-From-To: freebsd-bugs->delphij 
Responsible-Changed-By: delphij 
Responsible-Changed-When: Wed Apr 16 19:03:41 UTC 2008 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122765 
State-Changed-From-To: patched->closed 
State-Changed-By: delphij 
State-Changed-When: Fri May 29 06:55:36 UTC 2009 
State-Changed-Why:  
fdopendir(3) has been added to 7-STABLE. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122765 
>Unformatted:
