##// END OF EJS Templates
chg: forward SIGWINCH to worker...
Jun Wu -
r28980:b89e4457 stable
parent child Browse files
Show More
@@ -397,6 +397,10 b' static void setupsignalhandler(pid_t pid'
397 if (sigaction(SIGTERM, &sa, NULL) < 0)
397 if (sigaction(SIGTERM, &sa, NULL) < 0)
398 goto error;
398 goto error;
399
399
400 /* notify the worker about window resize events */
401 sa.sa_flags = SA_RESTART;
402 if (sigaction(SIGWINCH, &sa, NULL) < 0)
403 goto error;
400 /* propagate job control requests to worker */
404 /* propagate job control requests to worker */
401 sa.sa_handler = forwardsignal;
405 sa.sa_handler = forwardsignal;
402 sa.sa_flags = SA_RESTART;
406 sa.sa_flags = SA_RESTART;
General Comments 0
You need to be logged in to leave comments. Login now