projects
/
platform
/
upstream
/
libgc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b594132
)
Fix syntax of conditional operator in with_callee_saves_pushed
author
Ivan Maidanski
<ivmai@mail.ru>
Thu, 26 Apr 2018 07:59:34 +0000
(10:59 +0300)
committer
Ivan Maidanski
<ivmai@mail.ru>
Thu, 26 Apr 2018 09:00:59 +0000
(12:00 +0300)
(fix of commit b594132)
Issue #133 (bdwgc).
* mach_dep.c [!HAVE_PUSH_REGS && UNIX_LIKE && !NO_GETCONTEXT]
(GC_with_callee_saves_pushed): Fix syntax of ?: operator (add missing
'?' symbol).
mach_dep.c
patch
|
blob
|
history
diff --git
a/mach_dep.c
b/mach_dep.c
index
9584897
..
07e633f
100644
(file)
--- a/
mach_dep.c
+++ b/
mach_dep.c
@@
-266,7
+266,7
@@
GC_INNER void GC_with_callee_saves_pushed(void (*fn)(ptr_t, void *),
context = &ctxt;
}
if (EXPECT(0 == getcontext_works, FALSE))
- getcontext_works = context != NULL 1 : -1;
+ getcontext_works = context != NULL
?
1 : -1;
}
# ifdef GETCONTEXT_FPU_EXCMASK_BUG
# ifdef X86_64