1
0
mirror of https://github.com/samba-team/samba.git synced 2025-09-03 05:49:28 +03:00

merge from samba4

(This used to be ctdb commit 3028a1b5c21b981c4487b55f026e6645bbeada89)
This commit is contained in:
Andrew Tridgell
2007-05-18 11:24:45 +10:00
parent 51f5bd2b31
commit 2d9f0ee606

View File

@ -72,9 +72,7 @@ struct std_event_context {
*/ */
static void epoll_fallback_to_select(struct std_event_context *std_ev, const char *reason) static void epoll_fallback_to_select(struct std_event_context *std_ev, const char *reason)
{ {
const char *cmd = talloc_asprintf(std_ev, "xterm -e gdb --pid %u", getpid());
DEBUG(0,("%s (%s) - falling back to select()\n", reason, strerror(errno))); DEBUG(0,("%s (%s) - falling back to select()\n", reason, strerror(errno)));
system(cmd);
close(std_ev->epoll_fd); close(std_ev->epoll_fd);
std_ev->epoll_fd = -1; std_ev->epoll_fd = -1;
talloc_set_destructor(std_ev, NULL); talloc_set_destructor(std_ev, NULL);