Changeset 2467 for trunk/src/kmk
- Timestamp:
- Jul 12, 2011, 12:17:47 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/job.c
r2101 r2467 1015 1015 { 1016 1016 struct sigaction sa; 1017 int rval = 0; 1017 1018 1018 1019 #if defined(__EMX__) && !defined(__KLIBC__) /* bird */ … … 1025 1026 sa.sa_flags = set_handler ? 0 : SA_RESTART; 1026 1027 #if defined SIGCHLD 1027 sigaction (SIGCHLD, &sa, NULL);1028 rval = sigaction (SIGCHLD, &sa, NULL); 1028 1029 #endif 1029 1030 #if defined SIGCLD && SIGCLD != SIGCHLD 1030 sigaction (SIGCLD, &sa, NULL); 1031 #endif 1031 rval = sigaction (SIGCLD, &sa, NULL); 1032 #endif 1033 if (rval != 0) 1034 fprintf (stderr, "sigaction: %s (%d)\n", strerror (errno), errno); 1032 1035 #if defined SIGALRM 1033 1036 if (set_alarm)
Note:
See TracChangeset
for help on using the changeset viewer.