git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aba8847
)
s4:s3compat use more ugly but more portable xterm in for gdb
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 13 May 2010 07:12:14 +0000
(17:12 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 3 Jun 2010 01:14:07 +0000
(11:14 +1000)
I have difficulty launching gnome-terminal for some reason.
Andrew Bartlett
source4/s3compat/s3_smbd.c
patch
|
blob
|
history
diff --git
a/source4/s3compat/s3_smbd.c
b/source4/s3compat/s3_smbd.c
index 4be2caa89a1a88933a289aeae7257c57dae58f97..3d9583a41898a8bcfe3842d1777e68e937725826 100644
(file)
--- a/
source4/s3compat/s3_smbd.c
+++ b/
source4/s3compat/s3_smbd.c
@@
-48,7
+48,7
@@
struct stream_connection *s3compat_get_conn(void)
static void s3compat_smb_accept(struct stream_connection *conn)
{
if (lp_parm_bool(conn->lp_ctx, NULL, "s3compat", "gdb", false)) {
- char *cmd = talloc_asprintf(conn, "
gnome-terminal -e \"gdb --pid %u\"
", getpid());
+ char *cmd = talloc_asprintf(conn, "
xterm -e \"gdb --pid %u\"&
", getpid());
system(cmd);
sleep(2);
}