Date: Thu, 25 May 2000 23:40:07 -0700 (PDT) From: hook@aktrad.ru To: freebsd-gnats-submit@FreeBSD.org Subject: misc/18824: gethostbyname is not thread safe Message-ID: <20000526064007.E228F37B662@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 18824 >Category: misc >Synopsis: gethostbyname is not thread safe >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 25 23:50:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Gene Sokolov >Release: 2.2.8-4.0 >Organization: >Environment: >Description: The gethostbyname() is not thread safe. It causes lock ups if compiled with threads. It would be helpful if this is mentioned in the docs or if a thread-safe version is provided (gethostbyname_r ?) >How-To-Repeat: man gethostbyname try to find any mention of threads on the page. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000526064007.E228F37B662>