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:
@ -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);
|
||||||
|
Reference in New Issue
Block a user