提交 ce32db47 编写于 作者: R Rich Felker

fix call to __pthread_tsd_run_dtors with too many arguments

commit a6054e3c removed the argument,
making it a constraint violation to pass one. caught by cparser/firm;
other compilers seem to ignore it.
上级 aba17aa3
...@@ -22,7 +22,7 @@ weak_alias(dummy_0, __pthread_tsd_run_dtors); ...@@ -22,7 +22,7 @@ weak_alias(dummy_0, __pthread_tsd_run_dtors);
static void cleanup_fromsig(void *p) static void cleanup_fromsig(void *p)
{ {
pthread_t self = __pthread_self(); pthread_t self = __pthread_self();
__pthread_tsd_run_dtors(self); __pthread_tsd_run_dtors();
self->cancel = 0; self->cancel = 0;
self->cancelbuf = 0; self->cancelbuf = 0;
self->canceldisable = 0; self->canceldisable = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册