[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] patch for supporting SMB on Solaris host
From: |
Ben Taylor |
Subject: |
Re: [Qemu-devel] patch for supporting SMB on Solaris host |
Date: |
Fri, 22 Dec 2006 20:40:27 -0500 |
---- Paul Brook <address@hidden> 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
smb.patch
Description: Text Data