mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
merge from samba4
(This used to be ctdb commit 3028a1b5c21b981c4487b55f026e6645bbeada89)
This commit is contained in:
parent
51f5bd2b31
commit
2d9f0ee606
@ -72,9 +72,7 @@ struct std_event_context {
|
||||
*/
|
||||
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)));
|
||||
system(cmd);
|
||||
close(std_ev->epoll_fd);
|
||||
std_ev->epoll_fd = -1;
|
||||
talloc_set_destructor(std_ev, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user