remove unset_signals
This commit is contained in:
parent
674f399bf9
commit
b768e8fb5d
@ -1731,20 +1731,6 @@ g_signal_child_stop(void (*func)(int))
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
|
||||||
/* does not work in win32 */
|
|
||||||
void APP_CC
|
|
||||||
g_unset_signals(void)
|
|
||||||
{
|
|
||||||
#if defined(_WIN32)
|
|
||||||
#else
|
|
||||||
sigset_t mask;
|
|
||||||
|
|
||||||
sigemptyset(&mask);
|
|
||||||
sigprocmask(SIG_SETMASK, &mask, NULL);
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/* does not work in win32 */
|
/* does not work in win32 */
|
||||||
int APP_CC
|
int APP_CC
|
||||||
|
@ -198,8 +198,6 @@ void APP_CC
|
|||||||
g_signal(int sig_num, void (*func)(int));
|
g_signal(int sig_num, void (*func)(int));
|
||||||
void APP_CC
|
void APP_CC
|
||||||
g_signal_child_stop(void (*func)(int));
|
g_signal_child_stop(void (*func)(int));
|
||||||
void APP_CC
|
|
||||||
g_unset_signals(void);
|
|
||||||
int APP_CC
|
int APP_CC
|
||||||
g_fork(void);
|
g_fork(void);
|
||||||
int APP_CC
|
int APP_CC
|
||||||
|
@ -245,7 +245,6 @@ for user %s denied", username);
|
|||||||
}
|
}
|
||||||
else if (pid == 0) /* child sesman */
|
else if (pid == 0) /* child sesman */
|
||||||
{
|
{
|
||||||
g_unset_signals();
|
|
||||||
auth_start_session(data, display);
|
auth_start_session(data, display);
|
||||||
g_sprintf(geometry, "%dx%d", width, height);
|
g_sprintf(geometry, "%dx%d", width, height);
|
||||||
g_sprintf(depth, "%d", bpp);
|
g_sprintf(depth, "%d", bpp);
|
||||||
|
Loading…
Reference in New Issue
Block a user