Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GxuPI-00067v-4y for qemu-devel@nongnu.org; Fri, 22 Dec 2006 19:06:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GxuPH-00066z-Eb for qemu-devel@nongnu.org; Fri, 22 Dec 2006 19:06:31 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GxuPH-00066p-9e for qemu-devel@nongnu.org; Fri, 22 Dec 2006 19:06:31 -0500 Received: from [70.168.83.78] (helo=centrmmtao06.cox.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GxuPG-0006gf-Me for qemu-devel@nongnu.org; Fri, 22 Dec 2006 19:06:31 -0500 Message-ID: <21716908.1166832384260.JavaMail.root@eastrmwml07.mgt.cox.net> Date: Fri, 22 Dec 2006 19:06:24 -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. Well, I suppose I can write a configure hack to replace to definte the smbd binary, which will take about 30 seconds, hoping you'll find that more digestable. > I don't see why the /bin/env LC_ALL bits have anything to do with Solaris. Let me inject a little humor. I'm american and speak only one language. The guy who did the patch is in germany and did it for a reason, though he never explained to me. In meantime, I will resubmit the patch without the /bin/env LC_ALL bits, hopefully to your liking and if it breaks on Solaris for some other reason, I'll be able to argue with you why it needs to be there.