A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update generated file with regard to the detection of borken makecontext: we don...
[simgrid.git]
/
configure
diff --git
a/configure
b/configure
index
015d9de
..
50e4bc9
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-1,5
+1,5
@@
#! /bin/sh
#! /bin/sh
-# From configure.ac Revision: 1.14
8
.
+# From configure.ac Revision: 1.14
9
.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for simgrid 3.3-cvs.
#
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for simgrid 3.3-cvs.
#
@@
-23625,7
+23625,7
@@
ucontext_t uc_main;
void child(void *arg)
{
void child(void *arg)
{
- if (arg != (void *)
2147483648
)
+ if (arg != (void *)
12345
)
exit(1);
if (swapcontext(&uc_child, &uc_main) != 0)
exit(2);
exit(1);
if (swapcontext(&uc_child, &uc_main) != 0)
exit(2);
@@
-23651,7
+23651,7
@@
int main(int argc, char *argv[])
uc_child.uc_stack.ss_sp = (char *)stack+(32*1024);
uc_child.uc_stack.ss_size = 32*1024;
uc_child.uc_stack.ss_flags = 0;
uc_child.uc_stack.ss_sp = (char *)stack+(32*1024);
uc_child.uc_stack.ss_size = 32*1024;
uc_child.uc_stack.ss_flags = 0;
- makecontext(&uc_child, child, 2, (void *)
2147483648
);
+ makecontext(&uc_child, child, 2, (void *)
12345
);
/* switch into the user context */
if (swapcontext(&uc_main, &uc_child) != 0)
/* switch into the user context */
if (swapcontext(&uc_main, &uc_child) != 0)