Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GxvsL-0005S5-M3 for qemu-devel@nongnu.org; Fri, 22 Dec 2006 20:40:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GxvsJ-0005PL-VS for qemu-devel@nongnu.org; Fri, 22 Dec 2006 20:40:37 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GxvsJ-0005PB-PT for qemu-devel@nongnu.org; Fri, 22 Dec 2006 20:40:35 -0500 Received: from [68.230.240.35] (helo=eastrmmtao04.cox.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GxvsJ-0005bL-Ay for qemu-devel@nongnu.org; Fri, 22 Dec 2006 20:40:35 -0500 Message-ID: <1306538.1166838034721.JavaMail.root@eastrmwml07.mgt.cox.net> Date: Fri, 22 Dec 2006 20:40:34 -0500 From: Ben Taylor Subject: Re: [Qemu-devel] patch for supporting SMB on Solaris host MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Reply-To: sol10x86@cox.net, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook , qemu-devel@nongnu.org ---- Paul Brook wrote: > On Friday 22 December 2006 21:29, Paul Brook wrote: > > On Friday 22 December 2006 20:07, Ben Taylor wrote: > > > Seeing as there is some working going on in the Solaris QEMU port again, > > > here's a real short patch to support Samba working on a Solaris Host. > > > +#ifdef __sun__ > > > + snprintf(smb_cmdline, sizeof(smb_cmdline), "/bin/env LC_ALL=C > > > /usr/sfw/sbin/smbd -s %s", > > > + smb_conf); > > > +#else > > > > Why does this have anything to do with solaris? > > Sorry, I was unclear. The /usr/swf bif is obviously a Solaris hack, and I > think this is a bad way of implementing this. > I don't see why the /bin/env LC_ALL bits have anything to do with Solaris. Hopefully, you find this patch to be more reasonable. Ben