Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 1997 14:49:37 -0800 (PST)
From:      "Jin Guojun[ITG]" <jin@iss-p4.lbl.gov>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/3029: typo in libc
Message-ID:  <199703182249.OAA02625@iss-p4.lbl.gov>
Resent-Message-ID: <199703182250.OAA07566@freefall.freebsd.org>

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

>Number:         3029
>Category:       kern
>Synopsis:       typo in libc
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 18 14:50:02 PST 1997
>Last-Modified:
>Originator:     Jin Guojun[ITG]
>Organization:
>Release:        FreeBSD 2.2-RELEASE i386
>Environment:

	2.2-RELEASE

>Description:

----------- pthread_keycreate supposes to be pthread_key_create ------
./gen/ttyname.c
120:            if (pthread_keycreate(&ttyname_key, free)) {

./stdtime/localtime.c
1106:           if (pthread_keycreate(&localtime_key, free) < 0) {
1190:           if (pthread_keycreate(&gmtime_key, free) < 0) {

-----------------------------------------------------------------------

>How-To-Repeat:

	none

>Fix:
	
	make changes on these two files, or rename pthread_key_create
	to pthread_keycreate in libc_r.

>Audit-Trail:
>Unformatted:



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