From mini@micron.efn.org  Sun May 18 14:52:33 1997
Received: from micron.efn.org (dynip33.efn.org [204.214.97.33])
          by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA15578
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 May 1997 14:52:29 -0700 (PDT)
Received: (from mini@localhost)
	by micron.efn.org (8.8.5/8.8.5) id OAA07284;
	Sun, 18 May 1997 14:55:57 -0700 (PDT)
Message-Id: <199705182155.OAA07284@micron.efn.org>
Date: Sun, 18 May 1997 14:55:57 -0700 (PDT)
From: Jonathan Mini <mini@micron.efn.org>
Reply-To: mini@micron.efn.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: libc_r and evilness with pthread_key_create
X-Send-Pr-Version: 3.2

>Number:         3621
>Category:       bin
>Synopsis:       pthread_key_create is referenced as pthread_keycreate
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 18 15:00:00 PDT 1997
>Closed-Date:    Tue Aug 19 14:38:28 PDT 1997
>Last-Modified:  Tue Aug 19 14:40:28 PDT 1997
>Originator:     Jonathan Mini
>Release:        FreeBSD 2.2.1-RELEASE i386
>Organization:
Eugene FreeNET
>Environment:

 I'm running the libc_r from the 2_2_2_RELENG branch. (as of May 18)

>Description:

 In a few files (/usr/src/lib/libc/gen/ttyname.c and
/usr/src/lib/libc/stdtime/localtime.c) pthread_key_create is referenced as pthread_keycreate. Which is incorrect.

>How-To-Repeat:

  atempt to use ttyname(3), localtime(3), gmtime(3), or anything that uses them, and wathc the process stop with a linking error.

>Fix:
	
  Change all of the references to pthread_keycreate to pthread_key_create.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jlemon 
State-Changed-When: Tue Aug 19 14:38:28 PDT 1997 
State-Changed-Why:  

Fixed in -current on 1997/02/05, -stable on 1997/06/02. 
>Unformatted:
