From nobody  Thu Dec 31 16:17:04 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id QAA07778;
          Thu, 31 Dec 1998 16:17:04 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199901010017.QAA07778@hub.freebsd.org>
Date: Thu, 31 Dec 1998 16:17:04 -0800 (PST)
From: dennis.glatting@software-munitions.com
To: freebsd-gnats-submit@freebsd.org
Subject: fpathconf() missing from libc_r
X-Send-Pr-Version: www-1.0

>Number:         9257
>Category:       i386
>Synopsis:       fpathconf() missing from libc_r
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jasone
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 31 16:20:01 PST 1998
>Closed-Date:    Sun Aug 6 15:23:11 PDT 2000
>Last-Modified:  Sun Aug  6 15:27:42 PDT 2000
>Originator:     Dennis Glatting
>Release:        3.0 RELEASE
>Organization:
Software Munitions
>Environment:
>Description:
bfd> uname -a
FreeBSD bfd 3.0-RELEASE FreeBSD 3.0-RELEASE #3: Sat Dec 26 23:09:13 PST 1998
 root@bfd:/usr/src/sys/compile/BFD  i386

>How-To-Repeat:
Compile the enclosed file. The following is a compilation when it
works (not against pthreads) and when it fails (against pthreads).

bfd> cc j.c
bfd> cc -pthread j.c
/var/tmp/ccA224711.o: In function `main':
/var/tmp/ccA224711.o(.text+0x8): undefined reference to `fpathconf'
bfd> 



#include <unistd.h>

int main( void ) {

        fpathconf( 0, _PC_PATH_MAX );
        return 0;
}


>Fix:
Unknown.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->jasone 
Responsible-Changed-By: nbm 
Responsible-Changed-When: Sat Aug 5 14:00:41 PDT 2000 
Responsible-Changed-Why:  
libc_r is jasone's area, he can decide what to do with it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=9257 
State-Changed-From-To: open->closed 
State-Changed-By: jasone 
State-Changed-When: Sun Aug 6 15:23:11 PDT 2000 
State-Changed-Why:  
This PR is quite old, and the problem does not exist on RELENG_4 systems. 
>Unformatted:
