Lennert Buytenhek [EMAIL PROTECTED] wrote:
On Fri, Dec 22, 2006 at 08:40:27PM -0500, Ben Taylor wrote:
-snprintf(smb_cmdline, sizeof(smb_cmdline), /usr/sbin/smbd -s %s,
- smb_conf);
+snprintf(smb_cmdline, sizeof(smb_cmdline), % -s %s,
+
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.
--- qemu-ORIG/vl.c 2006-12-22 12:29:05.0 -0500
+++ qemu/vl.c 2006-12-22 14:22:17.338815000 -0500
@@ -3069,8 +3069,13 @@
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
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,
Paul Brook [EMAIL PROTECTED] 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.
Paul Brook [EMAIL PROTECTED] 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.
Paul Brook [EMAIL PROTECTED] 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.
On Fri, Dec 22, 2006 at 08:40:27PM -0500, Ben Taylor wrote:
-snprintf(smb_cmdline, sizeof(smb_cmdline), /usr/sbin/smbd -s %s,
- smb_conf);
+snprintf(smb_cmdline, sizeof(smb_cmdline), % -s %s,
+ SMBD_BINARY, smb_conf);
Doesn't look right to me? (s/%/%s/)