зеркало из https://github.com/github/ruby.git
Fix pthread_setname_np arguments on NetBSD
The previous attempt to fix this in
b87df1bf24
reversed the argument
order instead of just fixing the quote escaping.
From Takahiro Kambe.
Fixes [Bug #15178]
This commit is contained in:
Родитель
6b43200948
Коммит
be9dbe1c3e
|
@ -2542,11 +2542,11 @@ AS_IF([test x"$enable_pthread" = xyes], [
|
|||
AC_CACHE_CHECK([arguments of pthread_setname_np], [rb_cv_func_pthread_setname_np_arguments],
|
||||
[rb_cv_func_pthread_setname_np_arguments=
|
||||
# Linux,AIX, (pthread_self(), name)
|
||||
# NetBSD (pthread_self(), name, \"%s\")
|
||||
# NetBSD (pthread_self(), \"%s\", name)
|
||||
# Darwin (name)
|
||||
for mac in \
|
||||
"(pthread_self(), name)" \
|
||||
"(pthread_self(), name, \"%s\")" \
|
||||
"(pthread_self(), \"%s\", name)" \
|
||||
"(name)" \
|
||||
; do
|
||||
AC_TRY_COMPILE([
|
||||
|
|
Загрузка…
Ссылка в новой задаче