bin/122765: fdopendir(3) is needed
Aryeh M. Friedman
aryeh at flosoft.no-ip.biz
Mon Apr 14 18:40:02 UTC 2008
>Number: 122765
>Category: bin
>Synopsis: fdopendir(3) is needed
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 14 18:40:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Aryeh M. Friedman <aryeh.friedman at 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 at 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:
>Unformatted:
More information about the freebsd-bugs
mailing list