From owner-freebsd-arch@FreeBSD.ORG Wed May 2 17:00:06 2007 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7895416A400; Wed, 2 May 2007 17:00:06 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id DADCE13C4AD; Wed, 2 May 2007 17:00:05 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.1/8.14.1) with ESMTP id l42GjoZD096337; Wed, 2 May 2007 20:45:50 +0400 (MSD) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.14.1/8.14.1/Submit) id l42Gjox6096336; Wed, 2 May 2007 20:45:50 +0400 (MSD) (envelope-from ache) Date: Wed, 2 May 2007 20:45:50 +0400 From: Andrey Chernov To: Brooks Davis Message-ID: <20070502164550.GA96240@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Brooks Davis , John Baldwin , arch@freebsd.org, alfred@freebsd.org, freebsd-arch@freebsd.org References: <20070501100642.GB823@turion.vk2pj.dyndns.org> <20070501193146.GD10323@nagual.pp.ru> <20070501.163941.-2001109237.imp@bsdimp.com> <200705021045.01221.jhb@freebsd.org> <20070502154928.GB73631@lor.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline In-Reply-To: <20070502154928.GB73631@lor.one-eyed-alien.net> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: arch@freebsd.org, alfred@freebsd.org, freebsd-arch@freebsd.org Subject: Re: cvs commit: src/usr.sbin/sysinstall main.c X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 17:00:06 -0000 --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 02, 2007 at 10:49:28AM -0500, Brooks Davis wrote: > From your arguments I think this change makes sense. It's probably > worth documenting the obviously problems of using this API such as races > if used in threaded programs. Just for note - POSIX says: "All functions defined by this volume of IEEE Std 1003.1-200x shall be=20 thread-safe, except that the following functions need not be thread-safe." and in the provided list all *env(3) functions are. --=20 http://ache.pp.ru/ --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGOMA+Vg5YK5ZEdN0RAkgWAJ9w80wWIzuzs8QFy5Jp55RffLczkQCcDKon NgLmSqgtZRnrJox8qIiIcBs= =b6wq -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3--