Received: from eggs.gnu.org ([140.186.70.92]:52803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmUNo-0003Z6-QG for qemu-devel@nongnu.org; Thu, 28 Jul 2011 13:28:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QmUNo-00029s-12 for qemu-devel@nongnu.org; Thu, 28 Jul 2011 13:28:28 -0400 Received: from cantor2.suse.de ([195.135.220.15]:49225 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmUNn-00029l-Sd for qemu-devel@nongnu.org; Thu, 28 Jul 2011 13:28:27 -0400 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Alexander Graf In-Reply-To: <20110728165026.GC2552@gpm.stappers.nl> Date: Thu, 28 Jul 2011 19:28:23 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1311400070-9051-1-git-send-email-josch@pyneo.org> <20110728084109.GA20285@afflict.kos.to> <20110728112447.GA20506@hoothoot> <20110728165026.GC2552@gpm.stappers.nl> Subject: Re: [Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Geert Stappers Cc: 632192@bugs.debian.org, Riku Voipio , qemu-devel@nongnu.org, Johannes Schauer , josch On 28.07.2011, at 18:50, Geert Stappers wrote: > On Thu, Jul 28, 2011 at 01:24:47PM +0200, Johannes Schauer wrote: >>=20 >> @Geert Stappers: >>=20 >> you are patching bsd-user/main.c and darwin-user/main.c as well. I = take >> it that you did test your changes on those platforms? does it work = there >> as well? I have no clue of darwin but is it really useful there? >=20 > They only check I did, > was checking if BSD and Darwing have getenv(), they do. >=20 > I consider the=20 > + /* read interp_prefix from environment variable */ > + if (getenv("QEMU_LD_PREFIX") !=3D NULL) { > + interp_prefix =3D getenv("QEMU_LD_PREFIX"); > to Darwin and BSD as harmless. In fact only reason for those = additional > lines were to bring attention to those operating systems. It's called DYLD_PRELOAD on Darwin :). However, I do think that if = anything this should be an alias, so you can set either of the two. If = anyone cares about darwin-user at all. Alex