Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 1997 14:55:57 -0700 (PDT)
From:      Jonathan Mini <mini@micron.efn.org>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/3621: libc_r and evilness with pthread_key_create
Message-ID:  <199705182155.OAA07284@micron.efn.org>
Resent-Message-ID: <199705182200.PAA16761@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3621
>Category:       bin
>Synopsis:       pthread_key_create is referenced as pthread_keycreate
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 18 15:00:00 PDT 1997
>Last-Modified:
>Originator:     Jonathan Mini
>Organization:
Eugene FreeNET
>Release:        FreeBSD 2.2.1-RELEASE i386
>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.

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705182155.OAA07284>