Commit 91aad8d4 authored by Marius Wachtler's avatar Marius Wachtler

libunwind: fix our change to _U_dyn_cancel

parent af9934e1
...@@ -89,7 +89,7 @@ index e784317..fedba3e 100644 ...@@ -89,7 +89,7 @@ index e784317..fedba3e 100644
+ int i; + int i;
+ for (i = 0; i < _U_dyn_info_list_size; i ++) { + for (i = 0; i < _U_dyn_info_list_size; i ++) {
+ if (di == _U_dyn_info_list[i] && i < _U_dyn_info_list_size - 1) { + if (di == _U_dyn_info_list[i] && i < _U_dyn_info_list_size - 1) {
+ memmove(_U_dyn_info_list[i], _U_dyn_info_list[i+1], + memmove(&_U_dyn_info_list[i], &_U_dyn_info_list[i+1],
+ sizeof(unw_dyn_info_t*) * (_U_dyn_info_list_size - i - 1)); + sizeof(unw_dyn_info_t*) * (_U_dyn_info_list_size - i - 1));
+ break; + break;
+ } + }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment