@@ -70,8 +70,8 @@ int TerminationCheck(int status, const Descriptor *cmdstat,
70
70
if (!cmdstat) {
71
71
terminator.Crash (" Execution error with system status code: %d" , status);
72
72
} else {
73
- CheckAndStoreIntToDescriptor (cmdstat, EXECL_ERR, terminator);
74
- CopyCharsToDescriptor (* cmdmsg, " Execution error" );
73
+ StoreIntToDescriptor (cmdstat, EXECL_ERR, terminator);
74
+ CheckAndCopyCharsToDescriptor ( cmdmsg, " Execution error" );
75
75
}
76
76
}
77
77
#ifdef _WIN32
@@ -86,17 +86,17 @@ int TerminationCheck(int status, const Descriptor *cmdstat,
86
86
terminator.Crash (
87
87
" Invalid command quit with exit status code: %d" , exitStatusVal);
88
88
} else {
89
- CheckAndStoreIntToDescriptor (cmdstat, INVALID_CL_ERR, terminator);
90
- CopyCharsToDescriptor (* cmdmsg, " Invalid command line" );
89
+ StoreIntToDescriptor (cmdstat, INVALID_CL_ERR, terminator);
90
+ CheckAndCopyCharsToDescriptor ( cmdmsg, " Invalid command line" );
91
91
}
92
92
}
93
93
#if defined(WIFSIGNALED) && defined(WTERMSIG)
94
94
if (WIFSIGNALED (status)) {
95
95
if (!cmdstat) {
96
96
terminator.Crash (" killed by signal: %d" , WTERMSIG (status));
97
97
} else {
98
- CheckAndStoreIntToDescriptor (cmdstat, SIGNAL_ERR, terminator);
99
- CopyCharsToDescriptor (* cmdmsg, " killed by signal" );
98
+ StoreIntToDescriptor (cmdstat, SIGNAL_ERR, terminator);
99
+ CheckAndCopyCharsToDescriptor ( cmdmsg, " killed by signal" );
100
100
}
101
101
}
102
102
#endif
@@ -105,8 +105,8 @@ int TerminationCheck(int status, const Descriptor *cmdstat,
105
105
if (!cmdstat) {
106
106
terminator.Crash (" stopped by signal: %d" , WSTOPSIG (status));
107
107
} else {
108
- CheckAndStoreIntToDescriptor (cmdstat, SIGNAL_ERR, terminator);
109
- CopyCharsToDescriptor (* cmdmsg, " stopped by signal" );
108
+ StoreIntToDescriptor (cmdstat, SIGNAL_ERR, terminator);
109
+ CheckAndCopyCharsToDescriptor ( cmdmsg, " stopped by signal" );
110
110
}
111
111
}
112
112
#endif
0 commit comments