mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-18 22:31:36 +00:00
Fixed another possible implementation specific bug thanks to this progressive splint idea :)
This commit is contained in:
parent
e2f9aa5027
commit
a6f51264fd
3 changed files with 3 additions and 4 deletions
4
main.c
4
main.c
|
@ -527,7 +527,7 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
if (OPTS_FLAG(TRUE_EMPTY_STRINGS) && OPTS_FLAG(FALSE_EMPTY_STRINGS)) {
|
if (OPTS_FLAG(TRUE_EMPTY_STRINGS) && OPTS_FLAG(FALSE_EMPTY_STRINGS)) {
|
||||||
con_err("-ftrue-empty-strings and -ffalse-empty-strings are mutually exclusive");
|
con_err("-ftrue-empty-strings and -ffalse-empty-strings are mutually exclusive");
|
||||||
exit(1);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* the standard decides which set of operators to use */
|
/* the standard decides which set of operators to use */
|
||||||
|
@ -550,7 +550,7 @@ int main(int argc, char **argv) {
|
||||||
operators[operator_count-1].id != opid2(':','?'))
|
operators[operator_count-1].id != opid2(':','?'))
|
||||||
{
|
{
|
||||||
con_err("internal error: operator precedence table wasn't updated correctly!\n");
|
con_err("internal error: operator precedence table wasn't updated correctly!\n");
|
||||||
exit(1);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
operators_free = true;
|
operators_free = true;
|
||||||
newops = (oper_info*)mem_a(sizeof(operators[0]) * operator_count);
|
newops = (oper_info*)mem_a(sizeof(operators[0]) * operator_count);
|
||||||
|
|
|
@ -55,7 +55,6 @@ FLAGS_MAYBE="\
|
||||||
-realcompare \
|
-realcompare \
|
||||||
-observertrans \
|
-observertrans \
|
||||||
-shiftnegative \
|
-shiftnegative \
|
||||||
-exitarg \
|
|
||||||
-freshtrans \
|
-freshtrans \
|
||||||
-abstract \
|
-abstract \
|
||||||
-statictrans"
|
-statictrans"
|
||||||
|
|
2
test.c
2
test.c
|
@ -121,7 +121,7 @@ FILE ** task_popen(const char *command, const char *mode) {
|
||||||
close(2), dup(errhandle[1]);
|
close(2), dup(errhandle[1]);
|
||||||
|
|
||||||
execvp(*argv, argv);
|
execvp(*argv, argv);
|
||||||
exit(1);
|
exit(EXIT_FAILURE);
|
||||||
} else {
|
} else {
|
||||||
/* fork failed */
|
/* fork failed */
|
||||||
goto task_popen_error_3;
|
goto task_popen_error_3;
|
||||||
|
|
Loading…
Reference in a new issue