From owner-cvs-all Fri Jul 21 2:31:16 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B8C8937B8C1; Fri, 21 Jul 2000 02:31:13 -0700 (PDT) (envelope-from dfr@FreeBSD.org) Received: (from dfr@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA05082; Fri, 21 Jul 2000 02:31:13 -0700 (PDT) (envelope-from dfr@FreeBSD.org) Message-Id: <200007210931.CAA05082@freefall.freebsd.org> From: Doug Rabson Date: Fri, 21 Jul 2000 02:31:13 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc_r/uthread uthread_once.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG dfr 2000/07/21 02:31:13 PDT Modified files: lib/libc_r/uthread uthread_once.c Log: Call _thread_init() from pthread_once() if it has not already been called. This fixes a segfault in some C++ programs which use exceptions before main() has been called (i.e. from global constructors). Reviewed by: deischen Revision Changes Path 1.4 +3 -1 src/lib/libc_r/uthread/uthread_once.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message