Received: from eggs.gnu.org ([140.186.70.92]:58384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmTna-0006n3-FV for qemu-devel@nongnu.org; Thu, 28 Jul 2011 12:51:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QmTnZ-00026m-IE for qemu-devel@nongnu.org; Thu, 28 Jul 2011 12:51:02 -0400 Received: from gpm.stappers.nl ([213.84.119.166]:34065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmTnZ-00026O-CS for qemu-devel@nongnu.org; Thu, 28 Jul 2011 12:51:01 -0400 Date: Thu, 28 Jul 2011 18:50:26 +0200 From: Geert Stappers Message-ID: <20110728165026.GC2552@gpm.stappers.nl> References: <1311400070-9051-1-git-send-email-josch@pyneo.org> <20110728084109.GA20285@afflict.kos.to> <20110728112447.GA20506@hoothoot> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110728112447.GA20506@hoothoot> Subject: Re: [Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Johannes Schauer , Riku Voipio , josch , qemu-devel@nongnu.org, stappers@stappers.nl, 632192@bugs.debian.org On Thu, Jul 28, 2011 at 01:24:47PM +0200, Johannes Schauer wrote: > > @Geert Stappers: > > 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? They only check I did, was checking if BSD and Darwing have getenv(), they do. I consider the + /* read interp_prefix from environment variable */ + if (getenv("QEMU_LD_PREFIX") != NULL) { + interp_prefix = 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. With the idea^Whope of better acception from upstream. Cheers Geert Stappers